Skip to main content

CLI Snake game.

Project description


An interactive CLI Snake game, tested on Python 2.7 and 3.6 Posix environments.

Applications list view


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 develop


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


Uninstall Snake completely using pip.

 pip uninstall py-snake

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-snake, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size py_snake-0.0.2-py2-none-any.whl (13.5 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size py-snake-0.0.2.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page