Snake
An interactive CLI Snake game, tested on Python 2.7 and 3.6 Posix environments.
Installation
Install from PyPi using pip, a package manager for Python.
pip install py-snake
Or clone the repo and install using setuptools.
cd path/to/repo
python setup.py develop
Usage
Start a new game by running snake from from command line. Optionally pass --help flag for more info.
$ snake --help
usage: snake [-h] [--width WIDTH] [--height HEIGHT] [--speed SPEED]
[--food FOOD]
Snake game for CLI
optional arguments:
-h, --help show this help message and exit
--width WIDTH Frame width
--height HEIGHT Frame height
--speed SPEED Snake speed (fps)
--food FOOD Number of food pieces available
Uninstallation
Uninstall Snake completely using pip.
pip uninstall py-snake
Metadata
Release files for py-snake 0.0.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 | |
|---|---|---|---|
| py-snake-0.0.2.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_snake-0.0.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 21.4 kB
Release files / py-snake-0.0.2.tar.gz
| Download URL | py-snake-0.0.2.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b3df59f82788b9d98a610df698a6286981847946fd8cfa4141e4f3924980fec
|
|
BLAKE2b-256 checksum How to use checksums |
810d39172ec6c0887252c86ddf581d17d73b433bd140ed6236fe26f84e00cd71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15
|
Release files / py_snake-0.0.2-py2-none-any.whl
| Download URL | py_snake-0.0.2-py2-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
5ad7b0c47b646542f840fff89008508847556f7004e8f83820adb385d68c3202
|
|
BLAKE2b-256 checksum How to use checksums |
897287e58889cf0adfd53842e8014be1ebe0dfa6a55d85fa2084f5edbd803e87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15
|