Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/digiduncan/liarsdice
A Python implementation of Liar's Dice.
https://github.com/digiduncan/liarsdice
Last synced: about 2 months ago
JSON representation
A Python implementation of Liar's Dice.
- Host: GitHub
- URL: https://github.com/digiduncan/liarsdice
- Owner: DigiDuncan
- License: mit
- Created: 2022-06-25T22:54:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-25T22:54:25.000Z (over 2 years ago)
- Last Synced: 2024-10-22T23:45:01.887Z (3 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Liar's Dice
A Python implementation of the dice-betting game made popular in *Red Dead Redemption*.This Python version of *Liar's Dice* is written in an API-style, seperating the code into game logic and state-keeping (API) and display and interaction (interface).
The API is found in [`game.py`.](dice/lib/game.py)
The interface is found in [`gameinterface.py`](dice/lib/gameinterface.py).
## Requirements
* Python 3.10+
* `rich`
* `scipy`
* A terminal that can render colors and emojis (I recommend [*Windows Terminal.*](https://github.com/microsoft/terminal))## References
* *Liar's Dice* on [Wikipedia.](https://en.wikipedia.org/wiki/Liar%27s_dice)
* *Liar's Dice* on the [Red Dead Redemption Wiki.](https://reddead.fandom.com/wiki/Liar%27s_Dice)