Play game
The Avoider's itch.io pageHow many characters of code did you use?
525
Include your code here, if you'd like to show it off!
r,a=math.random,math.abs t,x,y,ex,ey,sc,c,sp,s,l,lm=0,239/2,127,r(239),0,0,r(6)+6,r(3)+3,3,1,6 function TIC()if a(ex-x)<c and a(ey-y)<c then reset()end if sc>pmem(0)then pmem(0,sc)end if t%0.5==0 then ey=ey+sp end if ey>248 then sc=sc+c-4 sp=r(3)+3 c=r(lm)+lm ey=-8 ex=r(239)end if t%600==0 then lm=lm+1 l=l+1 end cls()chkbtns()print("*",x,y,11)circ(ex,ey,c,6)print("Score "..sc.." Best "..pmem(0),0,0)t=t+1 end function chkbtns()if x>239 then x=239 end if x<0 then x=0 end if btn(2)then x=x-s end if btn(3)then x=x+s end end
Leave a comment
Log in with itch.io to leave a comment.
Comments
Simple and entertaining arcade game, very impressive that you wrote it in so few characters of code! I wish I’d have played it sooner! My score is 501 by the way. ;-)