News for hackers. Stuff that matters.
Re:JavaScript game of Tron in 219 bytes by necubi on Monday June 18, 2012 @02:42AM (#4125287)
It's unfortunate that they decided to save 2 bytes by using onkeyup instead of onkeydown. That choice makes the game nearly unplayable for me. Compare the version in the demo to the one here: http://micahw.com/tron.html (221 bytes).

In any case, this is really impressive. It's always fun to see the tricks people employ to get these tiny sizes (smaller than this comment!).

Re:JavaScript game of Tron in 219 bytes by alastair on Monday June 18, 2012 @02:54AM (#4125319)
Your version plays so much better, that was really not a good way to save 2 bytes.
Re:JavaScript game of Tron in 219 bytes by Natsu on Monday June 18, 2012 @02:48AM (#4125299)
No wonder the "lag" feels so bad. Also, the area is way too tiny and it needs a way to restart without having to reload the page.
Re:JavaScript game of Tron in 219 bytes by pgsandstrom on Monday June 18, 2012 @03:46AM (#4125444)
Also it needs multiplayer, achievements and a story mode. No, but seriously, this was not a competition in making a playable game, they clearly specify the rules that they have set for themselves.
Re:JavaScript game of Tron in 219 bytes by indrax on Monday June 18, 2012 @10:05PM (#4129863)
Perhaps there should be a competitive genre where the goal is not brevity or obfuscation, but being good.
Re:JavaScript game of Tron in 219 bytes by thenonsequitur on Monday June 25, 2012 @09:47PM (#4159751)
I agree wholeheartedly. I would give it up to them for perfect purity if it weren't the fact that they weren't actually being perfectly pure. They gave up 9 bytes to show the score at the end because it was, in their words, "totally worth it". But then they decide it's a good idea t save 2 bytes at the cost of making the game completely frustratingly unresponsive to the point of unplayability? That's just silly. If you're going to be pure, be pure. If you're going to make concessions, make the ones that matter most first! I'd much rather have a playable game without score than an unplayable game with score.

Rant aside, I actually do applaud them. Impressive bit of engineering here.

Re:JavaScript game of Tron in 219 bytes by squarecat on Monday June 18, 2012 @03:11PM (#4127977)
While acknowledging that the original post was an engineering exercise, the fact that your improvement required breaking the "rules" beautifully demonstrates how, too often, software designed for humans simply ignores how they really work.
Re:JavaScript game of Tron in 219 bytes by amenghra on Monday June 18, 2012 @08:10AM (#4126019)
I initially thought it was a cool way to "bend the rules" and save a few bytes, but lots of people told me the same thing! In hindsight I would have instead changed our rules to disallow this :)
Re:JavaScript game of Tron in 219 bytes by Tloewald on Monday June 18, 2012 @09:16AM (#4126231)
Yes "who cares" means that they didn't care if the game was playable.
Re:JavaScript game of Tron in 219 bytes by Sunlis on Monday June 18, 2012 @12:54PM (#4127332)
Check out my version, only 10 bytes.

GAME OVER.

It's not very playable, but "who cares"?

Re:JavaScript game of Tron in 219 bytes by Tloewald on Wednesday June 20, 2012 @01:58PM (#4138199)
I note your clever trick of not using any markup at all -- bravo!
Re:JavaScript game of Tron in 219 bytes by wildtype on Monday June 18, 2012 @03:54AM (#4125472)
That's why i can reach 1000 point. Its difficult to keydown and keyup immediately.