classic snake game implemented in python
- Python 3 installed on your system
- Pygame library installed
To install Pygame, run the following command in your terminal:
pip install pygame- Clone the repository to your local system
git clone https://github.com/oceanlord-jet/Snake-game.git2.Change into the project directory:
cd Snake-game3.Run the snakegame.py file:
python snakegame_updated.py- Use the arrow keys to control the movement of the snake
- The objective of the game is to eat as many apples as possible without hitting the walls
- If the snake hits a wall , the game is over
- The game has a splash screen with a start button to start the game
- The score is displayed on the title bar