Tetris Game in 140 Bytes of JavaScript(gist.github.com)
gist.github.com
Tetris Game in 140 Bytes of JavaScript
https://gist.github.com/1672254/
11 comments
I believe the concept is to compress the logic into 140 bytes or less, not the whole application, the initialisation code is for "free".
My favourite part of these experiments is watching the gist comments, it's fascinating to see just how many bytes can be crushed from already tiny code, with a bit of help.
My favourite part of these experiments is watching the gist comments, it's fascinating to see just how many bytes can be crushed from already tiny code, with a bit of help.
It's buggy (on collisions specially), but is fascinating nevertheless. Thanks for sharing.
The design causes far worse bugs than that, for example: you can stop a falling block's progress just by holding down left.
Not only that but if you hold it long enough you can make it clear a line with half of a 2 block
+1 for the author's use of the WTFPL.
Controller and display for another few hundred bytes...
[deleted]
the wtf licence just kicks asses :|
To me it seems a cool bit of code, but I don't understand in what way it can be considered "tetris in 140 bytes"