This repository contains a classic Snake Game implemented in Python using the Pygame library.
- Full-screen mode
- High score tracking
- Background music and sound effects
- Randomly generated obstacles (bricks)
- Replay functionality
- Use the arrow keys to control the snake's movement.
- Eat the apple to grow the snake and increase your score.
- Avoid colliding with the walls, your own body, and the obstacles.
- Clone the repository:
git clone https://github.com/Bornunique911/Snake_Game_in_Python.git - Navigate to the project directory:
cd Snake_Game_in_Python - Install the required dependencies:
pip3 install -r requirements.txt
To start the game, run the following command:
python3 snake-game.py- Python 3.x
- Pygame