Skip to content

varunvaatsalya/Snake-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-Game

This a classic snake game that starts when user press the space bar.

The movement of snake can be controlled by arrow keys.

The length of snake increases when he eats the food elements and the score also get updated.

The speed of snake gradually increases when score increases making it more interesting.

The game ends when snake collide with the boundary walls or it bites itself.

If the score is more than high score, the high score gets updated.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.7%
  • CSS 22.0%
  • HTML 14.3%