News for hackers. Stuff that matters.
Re:JavaScript game of Tron in 219 bytes by Irfaan on Monday June 18, 2012 @03:15AM (#4125358)
I think I see a way of shaving another byte:

instead of "0<x%n&", you should be able to do "x%n&&". Works for me on Chrome.

My goal is to shave 2 bytes, so you can change the key handler back to onkeydown. :P

Re:JavaScript game of Tron in 219 bytes by amenghra on Monday June 18, 2012 @08:41AM (#4126111)
There are 5 possible collisions: top edge, left edge, right edge, bottom edge and the tail.

Your proposal does not cover the top edge.