Tetris In 140 Bytes
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?"
You'll love the non-restrictive EULA.
Sigs. We don't need no steenking sigs.
Chess in 672 bytes
"I bless every day that I continue to live, for every day is pure profit."
It reminds me of the old days when code was efficient and had to fit onto small discs and into limited RAM and/or ROM. The original Mac ROMs were 128k, and all the apps had to run in 128k of RAM. It was amazing what could be done when it just had to fit.
Get off my lawn. The ZX-80 and -81 had 1 kB, and there were plenty of games for them. Then there were other computers, all with limited memory.
I'm sure there are lots of people here except yours truly who have written a variant of SNAKE.
The Chess entry makes a good sobriety test! : )
http://js1k.com/2010-first/demo/750
My first Journal Entry ever, in 8 years! http://slashdot.org/journal/365947/aphelion-scifi-fantasy-horror-poetry-webzine
Wow I thought we VIC-20 owners had it bad with our lousy 5Kb, man just the thought there was somebody out there that could out cheap old Jack Tramiel is kind of mind blowing in and of itself.
As for TFA just imagine hoe much insane power we would have if they still made OSes and apps like every byte counted. Not to condone piracy or anything but if one were to try out the Tiny series like Tiny XP or Tiny 7 you'd find that with careful stripping one can make a modern Windows that damned near runs on the original WinXP specs and is snappy as hell. MSFT really needs to hire that guy as his Tiny series frankly stomps both the Win Embedded and WinFLP version quite badly. i guess that little hacker knows how to slim down their OS better than they do.
ACs don't waste your time replying, your posts are never seen by me.
Nibble magazine (an Apple magazine from 1980-1992) had a coding contest every month. The rules: Maximum 2 lines of Apple BASIC. IT was probably my favorite part of the magazine. There were some amazing submissions.