Play game
tweet sand's itch.io pageHow many characters of code did you use?
507
Include your code here, if you'd like to show it off!
i,g,h,w,a=0,30,60,btn,{} for x=0,128 do a[x] = {} for y=0,128 do a[x][y] = 0 end end function b() cls(0) for x=128,0,-1 do for y=128,0,-1 do if(a[x][y] == 1)then if a[x][y+1] == 0 then a[x][y] = 0 a[x][y+1] = 1 elseif a[x+1&127][y+1] == 0 then a[x][y] = 0 a[x+1&127][y+1] = 1 elseif a[x-1&127][y+1] == 0 then a[x][y] = 0 a[x-1&127][y+1] = 1 end pset(x,y,10) end end end end function _update() if(w(0))then g-=1&127 end if(w(1))then g+=1&127 end if(w(4))then a[g][h] = 1 end if i==1 then b() i=0 end i+=1 end
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet