Random Math Draw
About
Game maded for TweetTweetJam 4.
ControlsZ = clear the screen
X = Change color
A = Solo mode/Multiple Pen mode
How long is your code?412
Source codex,y,c,s=239/2,135/2,9,false
cls(0)
function TIC()
pix(x,y,c)
move()
if btn(4)then cls(0)end
if btnp(5)then c=c+1 end
if c>15 then c=1 end
if btnp(6)and s==false then s=true elseif btnp(6)and s==true then s=false end
if s==false then
pix(x+x*3//6,y+x//5,c+2)
pix(x*c//9*2,y^2%4*6//6%7,c+4)
end
end
function move()
if btn(0)then y=y-1 end
if btn(1)then y=y+1 end
if btn(2)then x=x-1 end
if btn(3)then x=x+1 end
end