Slither is a rather impressive snake game from Erik Johnson. As with most snake games, the object of the game is to eat all the food whilst avoiding obstacles such as walls and poison.

The game uses the canvas element to draw the main game area – including the snake player and walls as well as the food, poison and upgrade items. Everything else uses standard CSS2 techniques and jQuery animations.



Comments from the Author:

An innovative approach to the classic Snake/Nibbles genre using Canvas. It employs a unique combination of components to drive the game, with very good performance on a number of systems. There are several challenges, including walls, poison items, and upgrades, for a total of 7 levels.


Games, Strategy
Erik Johnson
Posted on:
June 14th, 2010
Posted by:
Andi Smith



Your Rating:
1 Star2 Stars3 Stars4 Stars5 Stars

Works on

BETA Please let us know if you find Slither works in other browsers by leaving a comment below.



Nice game.

Posted on June 14, 2010

Erik Johnson

Thanks for featuring this :) . The source has been available for a while; I’m hoping to post some information about how the code works, soon.

Posted on June 15, 2010


Wow… this is so cool, except the fact that you have imported numerous javascript files and you main class, if yo can call that class in javascript has about 1000 lines of code and that could be done in 100 line using flash. And dispite the fact that this is 20 years old game.. So insted of one developer working on game for about one hour you will need 10 developers working for one day…

so cool …………. !

Posted on June 17, 2010

Erik Johnson

lol, yeah I’ll admit this was a university project that I just released for anyone else to play with. In reality you would package it up into a single file and reduce some of the boilerplate code between classes. thanks for taking a look :) .

Posted on June 17, 2010

Burak Ă–zdelice - delizade

This game reminded me of the . These guys actually was developing Js based games(nearly Flash) in the early 2000’s.

Posted on June 21, 2010

Richard Copperwaite

Works under IE9 Platform Preview 3, if you navigate directly to

and then “Debug” -> “Force IE9 Document Mode”, works perfectly!

Posted on June 25, 2010


Could be a hit !!! in 1980 lol

Posted on June 26, 2010


Nice work. I found , which also seems to have a whole bunch of games developed using html5 canvas

Posted on July 4, 2010


Very polished! Nice work.

Posted on July 15, 2010


Zeljko would love to see your flash games and 100 lines of code… But won’t hold my breath.

Posted on January 11, 2012


Erik Johnson thanks for sharing this with the world!

Posted on January 11, 2012


Hi! Do you know if they make any plugins to assist with SEO?

I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains.
If you know of any please share. Kudos!

Posted on July 31, 2013

Add comment

(will not be published)