Play game
Piano Tiles (Tweet cart edition)'s itch.io pageHow many characters of code did you use?
452
Include your code here, if you'd like to show it off!
n={0,0,0,0,0,0} s=0 d=0 function r() for i=1,5 do n[i]=n[i+1] end n[6]=flr(rnd(4)) end r()r()r()r()r() function _update() y,x,mv,m=43,50,0,0 ml={🅾️,❎,⬇️,➡️} mv=n[1] cls() if d==1 then print("game over ["..s.."]",32,64,8) return end
print(s,64,20) for i=5,1,-1 do print("░░░░",49,y,5) print("♪",(n[i]*8)+x,y,9) y=y+8 end print("🅾️❎⬇️➡️",48,82,10) for j=1,5 do if(btnp(ml[j])) m=1
if(btnp(ml[j]) and mv!=j-1) d=1
end if(d==0 and m==1) sfx(mv) s+=1 r() end
Leave a comment
Log in with itch.io to leave a comment.
Comments
This I really like. The arrangment of 2 keys on either hand makes it really intuitive for fast play and the tones sound good in any order.
my best score so far was 109 but I'll be trying to beat it.
you got me beat!!, thanks for checking it out!
A nice game in 452 characters, and can be even less!
But the game is cool anyways
!!!! I probably could have got the countdown back in there with that!
may have to update it! thanks for the extra tips; I'll use them next time for sure!!
This is pretty nice
very enjoyable
do wanna say however... the keys used here are... not that convenient (I tried this on mobile lmao)
maybe use the arrow keys instead???
good game though
(rip sound costing so many tokens tho)yep you're right!
I randomly thought about mobile this morning and how much of a nightmare it must be to play!!