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.
About javascript in their tweets...
>I'm wondering what they can do if given some extra bytes.
In a few weeks you'll find out at js1337.com ;0)
Is there a Javascript app for "This site has been Slashdotted"?
Liberal? Conservative? Compare perspectives at Left-Right
"Hey slashdot kids. It's 4pm east coast. Here's 10 games you can play, hosted on this site here. See you all at the coffee machine in 180 seconds."
slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
...you can't castle queen side.
It has been Slashdotted.
# Must work on current fx, sa, ch and o. (Let's level the playing field)
It doesn't say it supports IE anyway.
Have a nice day.
That's a joke, right? Do you really expect Internet Explorer to run cutting-edge web stuff?
Try Chrome, Safari, Opera or Firefox.
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!
can they produce a 1k jQuery?
Legend Of The Bouncing Beholder
Tiny chess
Tetris with sound
WOLF1K and the rainbow characters
Binary clock
Mother fucking lasers
Graphical layout engine
Crazy multiplayer 2-sided Pong
Morse code generator
Pulsing 3d wires
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.
Apparently they should have made their size requirement smaller. 1024 is apparently taking too much time for their site to handle.
It is a bold demonstration as to why we
That's why it's the last on my list. Opera has some catching-up to do too, last time I tested a few things, Chrome and Safari ran fine but Opera hadn't implemented them yet, such as HTML5 file uploading (for client-side progress bars).
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/
Chess in 1024 bytes and I can't win it. What a shame.
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).
Got beaten by the feckin' 1K chess game in about a dozen moves. Feck!
>>Now that the contest is finished and there is a top-...
WTF tell me I can win shit then say it's over >:/
I'm wondering what they can do if given some extra bytes
Get them all to work in Internet Explorer. Most demos give errors in IE8x64.
I believe the site is "wicked witch of the west.com" and someone threw a bucket of water at it. Maybe its server is programmed in javascript?
Free Martian Whores!
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
You want a static code analysis tool that can perform dead code elimination. It looks like Google's Closure Complier will do that for JavaScript code.
"There's even additional bonus points on offer if a demo's code can fit inside a single tweet."
So that kid that made the self-posting Twitter worm the other day wins by default?
My first computer was Tandy 16K color computer, one of the contest in the old Rainbow Magazine was how much you could put in one line of basic code. Still great to see people be creative within a limited space of memory.
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
I can't believe this story's been up for nearly two hours and no one's rushed in to explain that these are one kibibyte demos, thus depriving us of our right to make fun of them and their dumb-sounding pet units.
Dewey, what part of this looks like authorities should be involved?
Here's the making of of WOLF1K and the rainbow characters the Wolfenstein 3D-ish game sans violence in 1k that game #4
Hardly any on those work in IE9.
Raymarching using Distance Fields in 1K Fast on Chrome and Opera http://js1k.com/demo/704
madness...?? this... is... javascript!!!!
Is this list looking better to you? And some of those are even released on multiple platforms :)
It's The Golden Rule: "He who has the gold makes the rules."