Formal Specification
Fish-Prawn-Crab Dice Game — Formal Specification
Macau · dice-lots · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 2
# Yú xiā xiè — AI-optimized specification
## General idea
A pictorial three-dice betting game equivalent to Tai Sai but with symbol faces instead of pips. Each die has 6 unique symbols; bettors wager on which symbols appear. Payouts scale linearly with the number of matching dice.
## Formal model
- **Abstraction taken:** None; dice with 6 equiprobable symbol faces.
- **Player/agent count:** 1 environment + N bettors.
- **Turn model:** Simultaneous betting → 3 dice roll → payout.
## Formal rules
R1. Symbols = {Fish, Prawn, Crab, Rooster, Calabash, Coin}. Each die shows each symbol on exactly one face.
R2. Bettors place wagers on any subset of the 6 symbols.
R3. Three dice are rolled independently.
R4. For each symbol S a bettor wagered on: count matches M = number of dice showing S. Payout = bet × M (if M > 0). If M = 0, bet is lost.
R5. [gap-fill] Session ends after fixed rounds or bankroll depletion.
R6. [gap-fill] Table minimum and maximum bets apply.
## Edge cases
- **Tie at the end condition:** Not applicable; each round has a definite outcome.
- **A player with no legal move:** Bankrupt bettors sit out.
- **Repetition / cycles:** Rounds independent.
- **Simultaneous claims on the same resource or position:** Bettors independent.
- **Player elimination mid-round:** Bankrupt players exit.
- **Resource exhaustion:** Finite bankrolls.
- **Termination guarantee:** Round cap or bankroll depletion.
## State representation
- **Persistent state:** `bankroll[bettor_id]`, `round_number`.
- **Per-turn state:** `bets[bettor_id][symbol]`, `dice_result` (3 symbols).
- **Observable information:** Fully observable.
## Action space
- `place_bet(symbol, amount)`: Bet on a symbol.
## Playability notes
- **Single-player-vs-AI:** Natural.
- **Group games (n>4):** Scales naturally.
- **Physical-skill games:** None.
- **What is lost:** The visual charm of the pictorial dice and festive atmosphere.
## Implementation hints
Identical to Tai Sai but with symbol labels instead of numbers. Even simpler payout structure (linear in match count). House edge ~7.9% per symbol bet.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Fish-Prawn-Crab Dice Game (Macau). (n.d.). Games of Countries. https://gamesofcountries.com/games/mo-macau/yu-xia-xie
@misc{gamesofcountries-mo-macau-yu-xia-xie,
title = {Fish-Prawn-Crab Dice Game (Macau)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mo-macau/yu-xia-xie}
}