1K JavaScript Madness
An anonymous reader writes "JS1k has a simple goal: to get programmers producing demos written in JavaScript that are 1k in size or less. That's just 1024 bytes to play with. There's even additional bonus points on offer if a demo's code can fit inside a single tweet. Now that the contest is finished and there is a top-ten, I'm wondering what they can do if given some extra bytes." I like the Tetris clone. The pulsing wires demo is neat too but kinda stuttery on my machine.
I'm wondering what they can do if given some extra bytes."
If they use bankswitching, maybe they can pull off Asteroids
Give me Classic Slashdot or give me death!
Would it be feasible to take a current simple game like Pacman, write a driver to check it for proper functionality on an x86 CPU, spawn thousands of them in minor variations, and use a genetic algorithm to keep the smallest?
If video games influenced behavior the Pac Man generation would be eating pills and running away from their problems.
http://www.the5k.org/ Does anyone remember this site? It was a contest back in 2000-2002 to create the coolest website with only 5KB. Looks like it had a spiritual successor too: http://10k.aneventapart.com/
Interesting idea. Thirty years ago many people were introduced to programming by printed (ink on mashed up trees) anthologies of programs that were generally around a page long (8.5 x 11). Don't know how pervasive the term was, but in my personal circles these programs were called "K-Byters" because they were ~1 K long (or less).
for my work i built a JSON-RPC development environment which automated the client and server creation like you're asking for... it's not that complicated.
jQuery is for prototyping... if you're depending on it for production systems, you're lazy.
It'd be truly impressive if it were *human-readable* source code that fit under 1k.
impressed that they fit in a reasonable A.I. into the thing!
www.RacquetUp.org - Helping Detroit Youth
It just hit me--think of all the stuff you could do in a Perl program that would fit into one tweet?
Coder's Stone: The programming language quick ref for iPad
Here's the making of of WOLF1K and the rainbow characters the Wolfenstein 3D-ish game sans violence in 1k that game #4