A modern take on the classic Snake game, built with Python and Pygame.
Features a polished main menu with color and difficulty selection, smooth animation, and a tidy, minimal UI.
- Choose snake color (9 options)
- Choose difficulty: Easy / Normal / Hard
- Start the game with the Start button or Enter
- Collect food to increase score
- Collision with wall or snake body → Game Over
- Restart after Game Over with R
- Smooth rendering and soft rounded corners for a modern look
- Responsive keyboard controls
| Key | Action |
|---|---|
| ↑ ↓ ← → | Move snake |
| Enter | Start game from menu |
| R | Restart after Game Over |
| Esc / Close window | Quit |
- Python 3.8 or newer
- Pygame
Install Pygame (recommended in a virtual environment):
pip install pygame
From the project root:
python main.py