Skip to content

dawid-walkiewicz/text_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-snake

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.

Features

  • 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

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.git

Quick start

snake                 # start the game
snake scores          # print the current high‑score table
snake defaults        # change the default values (speed, length, etc.)

Controls

  • WASD keys to control the snake
  • q to quit the game

More config options

snake --help

About

Console-based snake game

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages