This application brings the game Snake to the commandline, featuring both a minimalist mode and a detailed mode.
python3andpipinstalledgitinstalled
- Clone the repository
git clone https://github.com/Logogistiks/cliSnake
2. Enter directory
cd cliSnake
3. Install requirements
- Windows:
pip install -r requirements.txt - Linux:
sudo pip install -r requirements.txt
4. Run game
- Windows:
python3 main.py - Linux:
sudo python3 main.py
In the menu, press space to start.
To move, press w a s d or use the arrow keys ↑ ← ↓ →.
Collect the food to grow longer, but don't collide with yourself!
After you lose, press q to exit the game or r to get back to the menu.
In the menu, you can also press x to enter the settings.
Here you can use the arrow keys ↑ ↓ to select an option.
If you want to change an option, press enter <┘.
| Option | Description |
|---|---|
| Render mode | simple : Renders each cell as a single characterdetailed : Renders each cell as a double character to simulate square pixels |
| Save Highscore | yes : Saves highscore after every game,no : No highscore gets saved |
| increasing speed | yes : Player speed increases proportional to scoreno : Player speed stays the same all game |



