snake game written in plain JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src line endings Jun 7, 2013 update May 14, 2014 thing Jun 7, 2013
index.html line endings Jun 7, 2013


ssnake is a simple snake game written in JavaScript that uses HTML5 <canvas>.

I wrote it a long time ago when the canvas tag had just appeared and I was curious how it worked.

You can try it here. (Warning: flashing colours ahead.)

Disclaimer: the code reflects by no means the standard of code I write today. Unless you think it's great, in which case it definitely does.

Bugs or contributions

Open an issue or send a pull request.