0 purchases
pysnake 0.0.2
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.