Tetris In 140 Bytes 215
mikejuk writes "Is it possible to write a JavaScript program in no more than a tweet's length? A website called 140byt.es says it is and has an implementation of Tetris to prove it. Ok, it only has two types of block — hence its title "Binary Tetris" — and there's no rotate, but it works. The blocks fall down the screen and you steer them into place. You can try it out by playing the demo. Of course the real fun is in figuring out how it works and there is lots of help on the site — so if you're bored how about the 140 character challenge?"
Binary Tetris (Score:2, Funny)
Binary Tetris?
http://a.fsdn.com/sd/topics/programming_64.png
Re:Dear /. Overlords (Score:5, Funny)
Your being to picky. People care less about grammar these days ten most other things. Irregardless, there doing the best they can
Re:Read the source code - love the licence.txt (Score:3, Funny)
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
Why should i have to change the name? I feel that is overly and unnecessarly restrictive.
I should have the right not to change the name if i don't want to.
This source code is useless to me.
Re:It is still requiring a virtual machine. (Score:5, Funny)
Oh, we used to DREAM of having 140 bytes (Score:2, Funny)
And we were grateful to have it.
Re:Nostalgia ... (Score:5, Funny)
However the code itself is 140 bytes, the number of libraries required to operate it is at 10 gigabytes.
Re:Not 140 bytes (Score:5, Funny)
Was supposed to be "winners" of course, but then "sinners" might well be the more appropriate term anyway...
G.
I have a shorter Tetris implementation (Score:5, Funny)
Here is my Tetris implementation:
However, it only works on custom Javascript interpreters which have a global a() function that implements a full game of Tetris.
Re:Nostalgia ... (Score:4, Funny)
Re:Nostalgia ... (Score:5, Funny)
Re:Obilg Bill Gates (if he ever said it) reference (Score:5, Funny)
Did you know that the word 'obligatory' came from the Greek God Obligatius who, on occasion, would entertain Zeus with stand-up philosophy? One night he told an off-color joke about Rhea, it made all the gods laugh except for one. Zeus was so angry he punished Obligatius by making him tell the same joke over and over again until he can find somebody who'll laugh at it. To this day, he still wanders the earth saying "640k should be enough for everybody!"
Re:Nostalgia ... (Score:5, Funny)
in javascript you don't need to end the last statement on a line with a semicolon, so you could reduce it to t()
Re:Read the source code - love the licence.txt (Score:4, Funny)
Well, version 2 is 'binary Tetris', so I just assume that version 1 was 'unary Tetris'.
Re:Read the source code - love the licence.txt (Score:4, Funny)