Icontem

Snake Game: Implement the snake game using HTML 5 canvas

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-03-31 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 303 All time: 133 This week: 57Up
Version License JavaScript version Categories
snake 1.0BSD License1.0Games
Description Author

This object implements the snake game using HTML 5 canvas.

It can render a snake worm in a canvas object making it grow as it hits food until the game ends for having the snake hit its own body.

The size of the canvas, speed and initial size of the snake and the animal graphics are configurable parameters.

Picture of Daniel Martinez
  Performance   Level  
Name: Daniel Martinez <contact>
Classes: 6 packages by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • snake.jpg
  Files folder image Files  
File Role Description
Files folder imagebeasts (6 files)
Accessible without login Plain text file example.html Example example of use
Plain text file snake.js Class base class of snake game
Plain text file snake.min.js Class class source minified

  Files folder image Files  /  beasts  
File Role Description
  Accessible without login Image file bird.png Data beast img
  Accessible without login Image file cat.png Data cat img
  Accessible without login Image file dog.png Data dog
  Accessible without login Image file fish.png Data fish
  Accessible without login Image file rabbit.png Data rabbit
  Accessible without login Image file snail.png Data snail

 Version Control Unique User Downloads Download Rankings  
 0%
Total:303
This week:0
All time:133
This week:57Up