News for hackers. Stuff that matters.
Re:Snake Game in 30 lines of JavaScript by chengsun on Sunday November 17, 2013 @04:04PM (#6750856)
Not to be unappreciative of this cool demo, but here's a snake game I wrote a while ago that clocks in at 41 "commented lines" of code, and minifies to under 1KB of code whilst including setting up the DOM and CSS (which is counted separately here), and features such as pausing and aging food:

http://chengsun.github.io/snake.html

Re:Snake Game in 30 lines of JavaScript by joliv on Sunday November 17, 2013 @09:41PM (#6752174)
Nice. Yours has better graphics, better speed, a pause/play function, and it doesn't loop around. Much better :)
Re:Snake Game in 30 lines of JavaScript by zapt02 on Sunday November 17, 2013 @05:11PM (#6751231)
yours is better :D