A lightweight Snake game built with Python and pygame.
Simple rules, clean code, zero extra fluff.
- A classic Snake game
- Written in Python
- Uses pygame for graphics and input
- Designed to be easy to read, run, and modify
- Control the snake using the arrow keys
- Eat food to grow longer
- Game ends if you hit a wall or yourself
| Key | Action |
|---|---|
| β | Move up |
| β | Move down |
| β | Move left |
| β | Move right |
- Python 3.x
- pygame
Install pygame:
pip install pygame