An endless runner made in <280 characters. Post your best scores!
x=9y=0v=0t=0p={}r=rectfill::_::cls() ?flr(t/10),2,2,7 r(0,90,200,200,3)v+=.2t+=1 if(t%60==0)add(p,{x=128,y=rnd(40)+50}) for l in all(p)do l.x-=1r(l.x,l.y,l.x+30,l.y+99)end while pget(x+4,y+4+v)==3do v-=sgn(v)*.2end if(btn(4)and pget(x,y+5)==3)v=-4 y+=v ?"웃",x,y,7 flip()goto _ |
P#81377 2020-08-30 18:41
[Please log in to post a comment]