https://github.com/kostastepetes/liars-dice-game
:game_die: Liar's Dice Game developed in Python
https://github.com/kostastepetes/liars-dice-game
dice-game dice-roller liars-dice-game player-vs-computer python
Last synced: about 1 year ago
JSON representation
:game_die: Liar's Dice Game developed in Python
- Host: GitHub
- URL: https://github.com/kostastepetes/liars-dice-game
- Owner: kostastepetes
- Created: 2020-06-09T14:54:05.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T11:21:23.000Z (about 6 years ago)
- Last Synced: 2025-03-30T23:31:37.194Z (about 1 year ago)
- Topics: dice-game, dice-roller, liars-dice-game, player-vs-computer, python
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Liar's Dice Game
Liar's Dice Game developed in Python
## How to play Liar's Dice
Each player has five standard 6-sided dice.The game is played over multiple rounds.
The first player for the first round is determined by mutual agreement or by all players rolling two dice with the highest roller becoming the first player. Play then proceeds clockwise around the table.
To begin each round, all players roll their dice simultaneously. Each player looks at their own dice after they roll, keeping them hidden from the other players. (If any dice has landed on top of another, the player must roll all their dice again.)
The first player then states a bid consisting of a face ("1's", "5's", etc.) and a quantity. The quantity represents the player's guess as to how many of each face have been rolled by all the players at the table, including themselves.
For example, a player might bid "five 2's."Each subsequent player can either then make a higher bid of the same face (e.g., "six 2's"), or they can challenge the previous bid.If the player challenges the previous bid, all players reveal their dice. If the bid is matched or exceeded, the bidder wins. Otherwise the challenger wins.If the bidder loses, they remove one of their dice from the game by placing it in front of their dice cup.The loser of the previous round begins the next round.(In the event that the game comes down to two players with only a single dice each, bids are then made on the sum of both dice instead the quantity of faces rolled.)
## How to win Liar's Dice
The winner of the game is the last player to have any dice remaining.
## Built With
* [Visual Studio](https://code.visualstudio.com/) - The IDE/PowerShell used
## Acknowledgments
* Inspired by the use of the game in the movie franchise Pirates of The Caribbean