This is a simple implementation of the classic Snake game. The objective of the game is to control the snake and eat as much food as possible without colliding with the walls or the snake's own body.
- Snake movement controlled by arrow keys
- Randomly generated food for the snake to eat
- Score tracking
- Game over when the snake collides with the walls or its own body
- Clone the repository:
git clone https://github.com/beamishc/snake.git - Navigate to the project directory:
cd snake - Install the requirements:
pip install -r requirements.txt
- Start the game:
python start.py - Use the arrow keys to control the snake's movement
- Try to eat as much food as possible without colliding with the walls or the snake's own body
- Press
Ctrl + Cto exit the game
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.