Skip to content

GauravSrivastav575/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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.