r/madeinpython • u/True_Extreme6205 • 7d ago
SnakTUI — Snake with combos, power-ups and a persistent top-10 leaderboard, in pure Python/Textual
Repo + install: https://github.com/Mark44928/SnakTUI
pipx install git+https://github.com/Mark44928/SnakTUI && snaktui
Unicode block rendering, adaptive layout, full keyboard control.
Combos to ×5 with milestone celebrations, three power-ups
(Speed Boost / Slow Time / Ghost — phase through walls), golden
timed food, hazards, particles, screen shake, 5 themes,
3 difficulties, and a persistent top-10 leaderboard in atomic JSON
(survives Ctrl-C mid-game). Headless smoke tests via Textual's
Pilot — real key events, runs in CI with no TTY.
Runs on any terminal with Python 3.9+. I develop it on Termux —
no PC involved.
Code is AI-agent-written (OpenCode + free models), human-directed.
Gallery: title screen / mid-run with the live RUN STATE panel /
game-over stats screen (with instant replay on R).
