Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b94540e494
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (4 sloc) 0.449 kB

This is my first javascript game. I think the code is pretty clean, I know of some minor bugs but it's pretty good for an afternoon project.

Some cool features, if you take a look at the source code you will notice all it takes is an element with a ID of "score", a canvas element with an id of "snake", width, height, and data-size attributes.

If you adjust width, height, and the block size the speed of the game will adjust accordingly.

Enjoy!

Jump to Line
Something went wrong with that request. Please try again.