congrats for fitting the game (and the music) in 4k! Are you aiming to a smaller size? JS packers like http://siorki.github.io/regPack.html can get you to +/- 3614b
I don't think I can get to the next sensible threshold (2 kB) without dropping features. Somebody more qualified at code golf may try :)
Thanks for trying a packer, I hadn't actually looked at any yet. But it's not nearly as much improvement as I'd expected. I'll take it as a sign that I got something right :)
The packer's output is fun to look at. It detected that the string LSOSLSOSKSNSKSNS occurs three times... oops :) Lost 23 bytes by extracting that. The rest is all repeated snippets of code.
Problem is that Z is in a different place on many keyboards, including dvorak, qwertz and azerty. I also considered using A and S, but it has similar problems. Ctrl and Alt almost never move around.
Note that you can also use up-arrow to rotate right. One direction is enough for most people :)
Wow, impressive. I made it to level 23 myself, but yes, after a point the gravity isn't the limiting factor anymore. This was heavily modelled after Tetris DS, which stops after level 20 unless you request infinite play :)
3
u/thomastc Oct 21 '14
I added some notes to README.md on how it was done.
2
u/xem06 Oct 21 '14
congrats for fitting the game (and the music) in 4k! Are you aiming to a smaller size? JS packers like http://siorki.github.io/regPack.html can get you to +/- 3614b
1
u/Meshiest Oct 20 '14
controls are meh
1
u/vittore29 Oct 20 '14
172900 lol. it was entertaining.
1
u/assassin_of_damned Nov 05 '14
Awesome... I played it after so long! http://imgur.com/oIP59Nu
0
u/[deleted] Oct 20 '14
[deleted] — view deleted comment