Play game
Black Friday 560 (TTJ7)'s itch.io pageHow many characters of code did you use?
560
Include your code here, if you'd like to show it off!
m={}k=80l=k h=0f=0g=0i=60j=i t=0w=btnp z=rnd ✽=flr function q()for p in all(m)do if p.n==0 then d=✽(z(4))p.n=1if(p.x<k)p.x+=1p.n=0 if(p.x>k)p.x-=1p.n=0 if(p.y<l)p.y+=1p.n=0 if(p.y>l)p.y-=1p.n=0 if(p.n==1)h+=1del(m,p)end end if(h>9)v()end function v()k=✽(z(10))*10l=✽(z(10))*10f+=1h=0end function _update()t+=1if i==k and j==l then v()g+=1end if(t%8==0)p={x=0,y=✽(z(128)),c=z(9),n=0}add(m,p)t=0 if(w(0))i-=5 if(w(1))i+=5 if(w(2))j-=5 if(w(3))j+=5 q()end function _draw()cls()for p in all(m)do ?"웃",p.x,p.y,p.c end ?"sale",k-4,l,8 ?"웃",i,j,15 ?f.."/"..g,4,4 end
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet