Terminal snake game
A simple snake game right in your terminal using python built-in curses package.
Tools/features
Production
- python 3.4, 3.5, 3.6, 3.7, 3.8
- curses
- OS compatibility
- Linux
- Mac
- docker
Development
Usage
Please press esc or cntl+c to stop the game.
Docker installation
Please run following script to obtain application from docker hub:
docker run -it vyahello/cli-snakegame:0.1.0
PYPI installation
Please run following script to obtain latest package from PYPI:
pip install cli-snakegame
Please execute pysnake CLI tool from your shell:
pysnake
Run from source code
Please execute command from the root of your source directory:
python -m snake
Development notes
Run code analysis
In general static code analysis consists of following tools: black, flake8, pylint, mypy and unittests accordingly.
To be able to start static code analysis locally please run following script from the root directory of the project:
./analyse-code.sh install-dependencies
Anyway, this script is triggered via Travis CI.
Run unittests
Also you can run unittests separately. Please run script from the root directory of the project:
pytest
After please open test-report.html file to see detailed testing report
Release notes
Please refer to CHANGELOG file to get more details
Meta
Author – Volodymyr Yahello (vyahello@gmail.com).
Distributed under the GNU license. See LICENSE for more information.
You can reach out me at:
Contributing
- clone the repository
- configure Git for the first time after cloning with your
nameandemail pip install -r requirements.txtto install all project dependenciespip install -r requirements-dev.txtto install all project development dependencies
Metadata
Release files for cli-snakegame 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cli_snakegame-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for cli_snakegame-1.3.0-py3-none-any.whl |
Release files / cli_snakegame-1.3.0-py3-none-any.whl
| Download URL | cli_snakegame-1.3.0-py3-none-any.whl |
|---|---|
| Size | 24.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
930fdd8d197d343c7c7a29b753ab3362fce9d4f3bc70ab0152fb1c65dff21769
|
|
BLAKE2b-256 checksum How to use checksums |
e0d68f940e164545d7ed600daa9936be9abb84862b14a6cf189292e713116c45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.5
|
Security for cli-snakegame 1.3.0
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.