Skip to main content

A simple snake game on terminal.

Project description

https://img.shields.io/pypi/v/snake.svg https://img.shields.io/travis/lparolari/snake.svg https://readthedocs.org/projects/snake/badge/?version=latest
A simple snake game on terminal with focus on well design, reuse and best practise.
snake-1.gif 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

pip install XXX

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](LICENSE) file.

History

0.1.0 (2019-09-12)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snake-terminal-pp-0.2.2.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

snake_terminal_pp-0.2.2-py2.py3-none-any.whl (11.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file snake-terminal-pp-0.2.2.tar.gz.

File metadata

  • Download URL: snake-terminal-pp-0.2.2.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for snake-terminal-pp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0a9b531435a94c38551d3a858886b9a1f360e2b08af1feb74492324fb498632c
MD5 28b611ab6e165ed7a9945f1f8bad1285
BLAKE2b-256 f038c1abfc147d05555ef3dfba2794c38eea1733a486af35673faba53de294a3

See more details on using hashes here.

File details

Details for the file snake_terminal_pp-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: snake_terminal_pp-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for snake_terminal_pp-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6bea8edb192b1d5cacd2b34262f9bf2ff486bc09fe5bbc84c4b6c78df5c11de5
MD5 ae8a36ca96b516f2ea165c4c69cb5423
BLAKE2b-256 58c3b7b00fe09ed5c65a48c6363e98781ab41a088953c30eaa8d4a016e47d928

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page