Play game
Cynozox's itch.io pageHow many characters did you use?
549
Include your code here, if you'd like to show it off!
cls()f,m,b={},{},{-1,1}s,n,f[0],f[15]=0,flr(rnd(12))+2,14,1 o,p=n,n for x=1,14 do m[x]={}for y=1,14 do if(x!=n and y!=n and rnd(9)<4)then m[x][y]=1 rectfill(x*8,y*8,x*8+6,y*8+6,11) else m[x][y]=2 circ(x*8+3,y*8+3,0,9)end end end
::_::
circfill(o*8+3,p*8+3,3,rnd(5)+8)for i=1,#b do if(btnp(i-1))then t=o+b[i]if(f[t])then t=f[t]end if(m[t][p]!=1)then o=t s+=8 end elseif(btnp(i+1))then t=p+b[i]if(f[t])then t=f[t]end if(m[o][t]!=1)then p=t s+=8 end end end m[o][p]=1 circfill(o*8+3,p*8+3,3,7) rectfill(0,0,99,8,0) print("score: "..s,8,0,7)flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
Nice game! I included it in my TweetTweetJam 2 compilation video series, if you’d like to take a look. :)