Slashdot Mirror


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.

3 of 131 comments (clear)

  1. Internet Explorere cannot open... by Caption+Wierd · · Score: 0, Offtopic

    Is the site melting or do I just need Chrome?

  2. Re:Genetic approach by blair1q · · Score: 1, Offtopic

    I think if you can devise a few variation methods that work at all, you could make a good guess at which lead to the smallest code.

    What you need are thousands of methods of varying the code, and millions of iterations looking for working results, and then a cost function (in this case merely size) to choose the optimal result.

  3. Re:js1337 by terminallyCapricious · · Score: 0, Offtopic

    ;0)

    hAhAh FuUuUuCk, YoU sToLe My FuCkIn NoSe BrO!

    WhAt GoT yOu EvEn Up ThE gUmPtIoN tO aLl FuCkIn Do ThE sHiT lIkE tHaT?