Instructions
Use the keyboard arrow keys to control the snake. Eat the specified amount of cherries to advance to the next level, without slithering into yourself or a wall. The speed and length of the snake will increase with every cherry eaten. The game ends when you have used up all your lives, or when you finish all levels. Have fun!
Shortcut Keys
- P : Pause/Resume Game
- N : New Game
- G : Toggle Grid
High Scores
Bugs & Todo
- TODO: Make snake grow in length
- TODO: Introduce levels
- TODO: Introduce wall obstacles
- TODO: Game over when snake slithers into itself
- BUG: new game, need to reset segment object using initial values
- BUG: cherries cannot be positioned under snake or wall segments
- BUG: snake needs to grow from tail and not from head
- TODO: add multiple wall obstacles
- TODO: Track/store high scores
Source
- jquery.snake.js (Uncompressed & commented)
Info/Contact
-
Tested on all major browsers:
-
Please use the issue tracker to log any bugs. Any feedback can be sent to:
-
This isn't a particularly large project, but it was fun making it!
You can check out the project, including all source code & repository at jquery-snakey.googlecode.com