A Python implementation of the classic Liar's Dice game featuring AI opponents.
- Support for 2+ players (human vs AI bots)
- Each player starts with 5 dice
- Turn-based bidding system
- Choice to raise bid or challenge previous bid
- Automatic dice reduction for round losers
- Game continues until one player remains
- Optional "wild ones" mode where 1's count as current bid value
pip install -r requirements.txt
Run the game:
python src/main.py
- Players roll concealed dice each round
- First player bids (quantity + face value)
- Next player must either:
- Raise bid (higher quantity of same face or any quantity of higher face)
- Challenge previous bid as "liar"
- On challenge:
- If bid valid: challenger loses die
- If bid invalid: bidder loses die
- Loser starts next round
- Last player with dice wins