Skip to content

krwg/pythonium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Pythonium

Classic Snake — pygame edition.

Python Pygame Platform License


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.


Quick start

git clone https://github.com/krwg/pythonium.git
cd pythonium
python -m pip install --upgrade pip
pip install -r requirements.txt
python pythonium.py

Requirements: Python 3.12+ recommended · Windows, macOS, or Linux with a display.


Controls

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.


Project layout

pythonium/
├── pythonium.py      # entire game
├── requirements.txt  # pygame==2.6.0
└── README.md

Releases

Prebuilt downloads (if published): GitHub Releases — tag 0.5 and earlier builds.


License

MIT — see repository license. Built as a learning / portfolio pygame project.


By krwg · eat the apple, don't eat yourself

About

Pythonium - classic Snake game in Python + Pygame. Three difficulty levels, score and speed ramp. Single-file arcade portfolio project for desktop.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages