snake-terminal-pp

A simple snake game on terminal.


Keywords
snake
License
MIT
Install
pip install snake-terminal-pp==0.2.1

Documentation

Snake on Terminal

https://readthedocs.org/projects/snake/badge/?version=latest

A simple snake game on terminal with focus on well design, reuse and best practise.

Asciimatics engine, redraws terminal.

snake-1.gif

Basic engine, uses normal prints.

snake-2.gif

Usage

Play with snake

# run the game with defaults
snake

# or with custom options
snake --rows-no 40 --cols-no 80 --speed 5 --initial-length 8

For list of options and documentation run

snake --help  # shows the options list and some docs.

Installation

Install with pip

pip3 install snake-terminal-pp

Install with git

git clone https://github.com/lparolari/snake
cd snake
python3 setup.py install

Author

License

This software is MIT Licensed. See LICENSE file.