This commit is contained in:
Bozarre
2025-12-28 16:03:22 +01:00
commit 5054065988
2 changed files with 36 additions and 0 deletions

17
choco.lua Normal file
View File

@@ -0,0 +1,17 @@
function _init()
-- always start on white
col = 7
end
function _update()
-- press x for a random colour
if (btnp(5)) col = 8 + rnd(8)
end
function _draw()
cls(1)
circfill(64,64,32,col)
spr(1,64,64, 2,2)
end