Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake_game

The famous Snake Game, where a snake grows upon eating food and dies when it collides either with the walls or with its own tail, is created using Python programming.

The user controls the snake using arrow keys and upon coming in contact with the food, they earn a point as well as the snake grows by one unit. The high score is updated in the data.txt file which ensures that high score is retained even after the game is turned off.

The program uses the concept of Object Oriented Programming(OOP) to create the various objects required for the game. Turtle library is used for GUI as well as the various objects, mainly the snake, food, scores, etc.

About

This is Snake Game, where a snake eats food and grows, but dies when it collides with walls or with its own tail

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages