Skip to content

AkhilJain5/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-Game-using-python

To play the Snake Game using Python, you'll need to download and organize four files:

->'main.py' sets up the game environment, including borders and buttons.

->'food.py' determines the position of the food after the player scores points.

->'score.py' tracks the player's score as they eat the food.

->'snake.py' manages the movement and appearance of the snake.

Follow these steps to get started:

  1. Create a new folder on your computer.
  2. Copy all four files into the folder.
  3. Open a command prompt and install the Turtle library by typing 'pip install turtle'.
  4. Run the 'main.py' file to start playing the game.

About

using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages