Command-line implementation of Zhot, an extensible Scissors-Paper-Stone game.
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.
### Establishing game rules
Supply a Comma-Separated Values file as a command-line argument for this script. For example:
If not supplied, a default set of three-move rules will be used.
### Gameplay and user input
In the game, type the name of the move you wish to play. This can be abbreviated.
Other commands available include:
- rules or help
- exit or quit
You can also just hit Return to quit the game.
### Rule diagram
The diagram command generates, from the rules of the current game a vector diagram illustrating those rules.
### Third-party (pyPI)
Python > 3.6
(Tested on macOS and Korora Linux installations of CPython 3.6.5 and 3.7.0b4)
See text in LICENCE.html
Further information at https://creativecommons.org/licences/by-sa/3.0/au/
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size zhot-0.2.0.tar.gz (8.3 kB)||File type Source||Python version None||Upload date||Hashes View|