4 ms·
Missile Command in less than 1k of JavaScript
- user24 16y agoThe whole of the js1k contest has been fascinating to watch. Some truly amazing demos. Some of my favorites so far: 3d terrain: http://js1k.com/demo/448 http://js1k.com/demo/448 pulsing beams: http://js1k.com/demo/171 http://js1k.com/demo/171 heatmap: http://js1k.com/demo/156 http://js1k.com/demo/156 DOM3d: http://js1k.com/demo/326 http://js1k.com/demo/326 What I really like are the tweet-sized entries though. So much so in fact that I'm donating a copy of JS:TGP as a prize for the best <=140 byte entry :) Here are my entries to date: http://www.puremango.co.uk/2010/08/some-tweetable-js1k-demos/ http://www.puremango.co.uk/2010/08/some-tweetable-js1k-demos...
- wlievens 16y agoI made a neat roguelike in JS last week but couldn't fit it in under 4K :(
- tome 16y agoI made a truly marvelous proof of Fermat's Last Theorem in Javascript. 1k is too small to contain it.
- wlievens 16y agoThat's the most multi-layered comment I've ever read. I'm not sure how to respond :-) I've brought it down to 3.24k in the meanwhile. Maybe I'll get there eventually!
- hitonagashi 16y agowindow.location='http://www.jstor.org/pss/2118559 http://www.jstor.org/pss/2118559; 1k?
- wlievens 16y agoUpdate: I'm down to 2.85K. I might just get there.
- arethuza 16y agoThe real life US missile defense systems was pretty awesome - particularly the Sprint missile (0 to Mach 10 in 5 seconds!): http://en.wikipedia.org/wiki/Sprint_%28missile%29 http://en.wikipedia.org/wiki/Sprint_%28missile%29 Video of a Sprint intercepting a RV: http://www.youtube.com/watch?v=YZZV464z9g8 http://www.youtube.com/watch?v=YZZV464z9g8
- jsvaughan 16y agoIncredible.
- dkersten 16y agoSome pretty impressive demos there and I like the HTML5 buzz too, but, as much as I dislike Flash, its still a bazillion times faster on most browsers at the moment. It'll get there in time though.
- simon_kun 16y agoYou may like these AS3/Browser JS benchmarks: http://jacksondunstan.com/articles/712 http://jacksondunstan.com/articles/712
- arethuza 16y agoThose tests don't seem to include anything graphical - Flash has a lot of higher level graphics stuff that you would have to implement yourself if you were using Canvas.
- bd 16y agoIt was recently updated (colors and anti-missile-spam feature): http://js1k.com/demo/670 http://js1k.com/demo/670 Also cool to see other HNers participating (I made two 1K demos and one tweet). Some of my favorites (not mentioned yet): Wobbling tunnel: http://js1k.com/demo/15 http://js1k.com/demo/15 Quaternion Julia raymarcher: http://js1k.com/demo/49 http://js1k.com/demo/49 Twister: http://js1k.com/demo/213 http://js1k.com/demo/213 3d snowman: http://js1k.com/demo/224 http://js1k.com/demo/224 Hypnotic patterns: http://js1k.com/demo/266 http://js1k.com/demo/266 Cute cartoonish platformer: http://js1k.com/demo/635 http://js1k.com/demo/635
- ck2 16y agoI miss the dew-dew-dew-dew sounds, lol.
- konad 16y agoNot Quite Missile Command :) I know it pretty well as I'm friends with Bill Carlton - the guy that's tried to beat the Missile Command high score a few times. The game isn't as straight forward as you might think, there's a game crashing bug for instance which has burned Bill twice now at 40 hours+ http://www.highscoremovie.com/ http://www.highscoremovie.com/ Watching Missile Command is pretty fascinating. I watched Bill's last attempt live as it streamed it on Justin.tv