News for hackers. Stuff that matters.
Re:HTML5 Snake by mckoss on Tuesday July 26, 2011 @05:12PM (#2809511)
That's fun! It runs pretty fast, though. You might want to have it start a bit slower.

You should also use requestAnimationFrame instead of setInterval.

    http://paulirish.com/2011/requestanimationframe-for-smart-animating/
Re:HTML5 Snake by 3dFlatLander on Tuesday July 26, 2011 @05:26PM (#2809561)
Might also be nice to have a 'Start Game' button--I clicked the link and then got a dialog about losing. Blocks on the edges are also a little hard to get at. Nice job! Fun too. :)
Re:HTML5 Snake by shurane on Tuesday July 26, 2011 @06:19PM (#2809721)
These are the two things I would suggest, too.
Re:HTML5 Snake by dhimes on Tuesday July 26, 2011 @06:29PM (#2809745)
Perhaps some instructions would help. I'm on a pad and lost 4 times in a row with no idea what I'm supposed to do. Tapping the "field of play" seems to have no effect.