Skip to main content

Command-line implementation of Zhot, an extensible Scissors-Paper-Stone game.

Project description

======

I had some fun teaching myself Perl with my Rock-Paper-Scissors script
over at https://bitbucket.org/AmyDeeDempster/rock-paper-scissors

This is a more extensible version in Python, done in a more mathematical
and object-oriented manner.

Usage
------

Supply a Comma-Separated Values file as a command-line argument for this
script. For example:

``zhot moves/moves-5.csv``

In the game, type the name of the move you wish to play. This can be
abbreviated.

Other commands available include:

- ``rules`` or ``help``
- ``score``
- ``rounds``
- ``diagram``
- ``exit`` or ``quit``

You can also just hit Return to quit the game.

Dependencies
------------

- csv
- random
- sys
- math
- svgwrite
- matplotlib.mlab

Interpreter
-----------

Python > 3.6

(Tested on macOS and Korora Linux installations of CPython 3.6.5 and
3.7.0b4)

Licence
-------

Creative Commons

See text in LICENCE.html

Further information at
https://creativecommons.org/licences/by-sa/3.0/au/

Platform: UNKNOWN

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

zhot-0.1.4-py3.6.egg (17.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page