

Just a straightforward snake clone small enough to fit in two tweets. Use the arrow keys to move! Press ctrl-r to reset after game over. How many characters of code did you use? 519 Include your code here, if youd like to show it off! x=4a={}s=4d=1l=3w=30y=x r=rectfill b=btn function p()return flr(rnd(w))end function k(i,j,c)r(i*s+1,j*s+1,i*s+s,j*s+s,c)end q=p()e=p()t=0o=false ::_:: t+=1 for i=0,3do if(b(i))d=i end if t%3==0and not o then cls()add(a,{x,y}) if(#a>l)del(a,a[1]) if(x==q and y==e)l+...

Tap to see all activity →
No reviews for Snake in 2 tweets! yet
Be the first to write one.