Giter Site home page Giter Site logo

liars-dice-game's Introduction

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

Acknowledgments

  • Inspired by the use of the game in the movie franchise Pirates of The Caribbean

liars-dice-game's People

Contributors

kostastepetes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.