text-snake is a simple console-based snake game in Python. It's designed to be playable on a broad range of terminals, including Windows, Linux, and MacOS.
The game is built using the blessed library, which provides a high-level interface for handling terminal graphics and input.
- Cross‑platform – tested on Windows, Ubuntu and Fedora
- Works everywhere – runs in a terminal window, no GUI required
- Adjustable – change the speed, length, and other parameters
- High‑scores – top 10 stored locally
Installation by pip
git clone https://github.com/Ninja00Shadow/text_snake.git
cd text_snake
pip install .Pipx
pipx install git+https://github.com/Ninja00Shadow/text_snake.gitsnake # start the game
snake scores # print the current high‑score table
snake defaults # change the default values (speed, length, etc.)WASD keysto control the snakeqto quit the game
snake --help