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 | Provenance | Actions |
|---|---|---|---|---|
| py-snake-0.0.2.tar.gz | 7.9 kB | Without provenance | Details for py-snake-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_snake-0.0.2-py2-none-any.whl | Python 2 | none | any | Details for py_snake-0.0.2-py2-none-any.whl |
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
|
Security for py-snake 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.