A small Snake clone built with Python and Pygame — menu, three difficulty presets, score, session high score, and speed that ramps as you eat.
UI strings are in Russian (difficulty labels, game over). Game logic is a single file, easy to read and tweak.
git clone https://github.com/krwg/pythonium.git
cd pythonium
python -m pip install --upgrade pip
pip install -r requirements.txt
python pythonium.pyRequirements: Python 3.12+ recommended · Windows, macOS, or Linux with a display.
| Key | Action |
|---|---|
| 1 / 2 / 3 | Easy / Medium / Hard (starts game) |
| Arrow keys | Move |
| Space / Enter | Restart after game over |
| Esc | Quit |
| Difficulty | Base FPS |
|---|---|
| Easy | 15 |
| Medium | 20 |
| Hard | 25 |
Speed and FPS increase slightly each time the snake eats.
pythonium/
├── pythonium.py # entire game
├── requirements.txt # pygame==2.6.0
└── README.md
Prebuilt downloads (if published): GitHub Releases — tag 0.5 and earlier builds.
MIT — see repository license. Built as a learning / portfolio pygame project.
By krwg · eat the apple, don't eat yourself