A simple snake game on terminal with focus on well design, reuse and best practise.
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
License
This software is MIT Licensed. See [LICENSE](LICENSE) file.
History
0.1.0 (2019-09-12)
First release on PyPI.
Metadata
Release files for snake-terminal-pp 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| snake-terminal-pp-0.2.2.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| snake_terminal_pp-0.2.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / snake-terminal-pp-0.2.2.tar.gz
| Download URL | snake-terminal-pp-0.2.2.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a9b531435a94c38551d3a858886b9a1f360e2b08af1feb74492324fb498632c
|
|
BLAKE2b-256 checksum How to use checksums |
f038c1abfc147d05555ef3dfba2794c38eea1733a486af35673faba53de294a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / snake_terminal_pp-0.2.2-py2.py3-none-any.whl
| Download URL | snake_terminal_pp-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6bea8edb192b1d5cacd2b34262f9bf2ff486bc09fe5bbc84c4b6c78df5c11de5
|
|
BLAKE2b-256 checksum How to use checksums |
58c3b7b00fe09ed5c65a48c6363e98781ab41a088953c30eaa8d4a016e47d928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|