Liar's Dice Gameplay Example

Description

Liar's Dice is a classic two-player bluffing game where each participant rolls a set number of dice, keeping their results hidden from their opponent. Players take turns making bids on the total number of dice showing a particular face value among all dice rolled. The objective is to either accurately bid based on your understanding of probabilities or to bluff convincingly to make your opponent doubt the validity of your bid.

Action Space

Actions are strings representing either a bid or a challenge.

Special Tokens:

  • [Bid ...]: To make a bid on the total number of dice showing a specific face value
    • Format: [Bid <quantity> <face_value>]
    • Example: [Bid 3 4]
  • [Call]: To challenge the opponent's bluff

Example Actions:

  • "I believe there are at least [Bid 2 5] in total."
  • "Based on my roll, I will [Bid 3 3]."
  • "That's a bold claim. I choose to [Call]."

Observation Space

Players receive a series of messages exchanged during the game, including their own dice rolls, current bids, and actions taken by both players.

Initial Game Observation

[GAME]: Game started.
You are Player 0 in Liar's Dice.
You have rolled 3, 5, 2, 6, 1.
Players take turns making bids on the total quantity of a face value among all dice.
On your turn, you can either make a higher bid or call the opponent's bluff.
Actions:
- To make a bid: '[Bid <quantity> <face_value>]', e.g., '[Bid 3 4]'
- To call a bluff: '[Call]'
If you call a bluff, all dice are revealed:
- If the actual quantity of the face value is less than the bid, you win.
- If the actual quantity meets or exceeds the bid, you lose.
The current bid is: Quantity = 0, Face Value = 0
It's your turn. What is your action?

Step Observation

Player 1: I believe there are at least [Bid 2 5] in total.
[GAME]: Player 1 increases the bid to Quantity = 2, Face Value = 5.

Gameplay

  • Players: 2
  • Turns: Players alternate making bids or calling bluffs
  • Objective: Accurately bid the number of dice showing a specific face value or bluff to make the opponent doubt the bid
  • Winning:
    • Win by successfully calling a bluff when the actual quantity is less than the bid
    • Lose by failing to call a bluff when the actual quantity meets or exceeds the bid
  • Invalid Moves:
    • Making a bid that doesn't increase the quantity or face value appropriately
    • Including multiple action tokens in a single action string
    • Calling a bluff when no bid has been made

Variants

Env-idnum_dice
LiarsDice-v05
LiarsDice-v0-large12

Contact

If you have questions or face issues with this specific environment, please reach out directly to Guertlerlo@cfar.a-star.edu.sg