Hacker News new | ask | show | jobs
by chengsun 4590 days ago
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

2 comments

Nice. Yours has better graphics, better speed, a pause/play function, and it doesn't loop around. Much better :)
yours is better :D