Play game
TweetTweet Stacker's itch.io pageHow many characters did you use?
560
Include your code here, if you'd like to show it off!
y={0,64,128,128}b={y}x=0 t=0 w=64 g=1 h=0 r=rectfill::d::cls(0)t+=0.005 x=64-w/2+sin(t)*64 p={x,64,x+w,71}if g==1 then l=b[#b] if(p[1]>l[1])a=p[1]else a=l[1] if(p[3]<l[3])u=p[3]else u=l[3] if(u<a)u=a v={a,p[2],u,p[4]}r(p[1],p[2],p[3],p[4]) if(w==0)g=0 if(btnp(❎))then w=u-a if(u-a>0)add(b,v)end end i=0 for c in all(b)do i+=1 r(c[1],c[2]-8*i+8*#b+8,c[3],c[4]-8*i+8*#b+8,1+(5+i)%15)end if(#b-1>h)h=#b-1 color(1+(6+i)%15) ?"high: "..h ?"score: "..#b-1 if(g==0)then color(7) ?"game over" ?"🅾️ to restart" if(btnp(🅾️))g=1 b={y} w=64 else ?"stacker" end flip()goto d
Leave a comment
Log in with itch.io to leave a comment.