https://github.com/tushortz/zilch
A Python implementation of the Zilch game
https://github.com/tushortz/zilch
Last synced: 4 months ago
JSON representation
A Python implementation of the Zilch game
- Host: GitHub
- URL: https://github.com/tushortz/zilch
- Owner: tushortz
- License: mit
- Created: 2016-08-05T15:20:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-29T22:37:45.000Z (over 8 years ago)
- Last Synced: 2025-01-09T05:18:23.461Z (5 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zilch
A python implementation of the Zilch game.
You can create your own tactics by modifying or extending all the methods in
the `Tactic` Class. You can also modify the `zilch.py file` for extra in-game settings.## Usage
Add as many players as possible using the `add_player` method.Arguments are:
* name -> Player name : *str*
* tactics -> player tactics to use : *Tactic*
* win_count -> counts how many times a player has won chosen rounds : *dict*
* players -> Player to add to game : *Player*
* chatty -> Enable/Disable commentary : *bool*> **add_player**(name, tactics, win_count, players, chatty)
With minimal setting, you can just modify the arguments of the `main()` method
in the `zilch.py` file and pass in `number of rounds -> int` and
`commentary -> bool`## Acknowledgement
I'd first like to say a very big thank you to God my creator. Without him, this wouldn't be possible.
## License
© 2016 Taiwo Kareem [[email protected]]().
Read `LICENSE`