Skip to main content
Formal Specification

Barbouti (Greek Two-Dice Hazard Game) — Formal Specification

Greece · dice-lots · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Barbouti — AI-optimized specification ## General idea A discrete, two-agent stochastic wagering and dice game. A shooter rolls two independent 6-sided dice against a counter-bettor across repeated trials until one of ten decisive permutations is rolled: five winning combinations award the pot to the shooter, while five losing combinations award the pot to the counter-bettor and transfer shooter status. ## Formal model - **Abstraction taken:** None (`fidelity_class: direct`). The game is a discrete memoryless Markov chain with absorbing terminal states (Win, Loss) and transient states (Neutral re-roll). - **Player/agent count:** 2 agents: Shooter (S) and Counter-bettor (C). - **Turn model:** Sequential dice rolling by Shooter until an absorbing win or loss condition is reached. ## Formal rules R1. State space: Bankrolls (BS,BC)∈ℝ+2, Pot P∈ℝ+, active roll count k∈ℕ. R2. Wager Phase: - Shooter posts bet W≤min⁡(BS,BC). - Counter-bettor matches W. Pot P←2W. Bankrolls update: BS←BS−W,BC←BC−W. R3. Dice Roll & Outcome Classification: - Roll D=(d1,d2) sampled uniformly from {1..6}2. Total permutations = 36. - **Winning Set 𝒲:** {(3,3),(5,5),(6,6),(5,6),(6,5)}. Cardinality |𝒲|=5. - **Losing Set ℒ:** {(1,1),(2,2),(4,4),(1,2),(2,1)}. Cardinality |ℒ|=5. - **Neutral Set 𝒩:** {1..6}2∖(𝒲∪ℒ). Cardinality |𝒩|=26. R4. Resolution: - If D∈𝒲: Shooter wins pot (BS←BS+P). Shooter retains shooter role for the next round. - If D∈ℒ: Counter-bettor wins pot (BC←BC+P). Roles swap (S↔C) for the next round. - If D∈𝒩: No payout occurs (P remains locked). Shooter rolls again immediately (return to R3). R5. Win Condition: - In match play, the game ends when one agent reaches a target bankroll or bankrupts the opponent (B≤0). R6. [gap-fill] Anti-Deadlock Cap: If 100 consecutive neutral rolls occur in a single round without a decision, the round is aborted as a push, returning original wagers W to both agents. ## Edge cases - Tie at the end condition: Not applicable — on decisive rolls, 𝒲∩ℒ=∅; exact 50% conditional win probability per decisive roll. - A player with no legal move: Not applicable — roll action is purely mechanical. - Repetition / cycles: Bounded — conditional on a decisive roll occurring, the probability of continuing after k rolls is (26/36)k=(13/18)k, which approaches 0 exponentially as k→∞. R6 guarantees termination in worst-case bounds. - Simultaneous claims on the same resource or position: Not applicable — single unified pot. - Player elimination mid-round; turn order repair: When an agent's bankroll Bi<Wmin⁡, that agent is eliminated; match terminates. - Resource exhaustion: Bankroll conservation: BS+BC+P=Constant. - Termination guarantee: The probability of termination within k rolls is 1−(13/18)k→1.0 as k→∞. ## State representation - Persistent state: - `bankrolls`: Array of 2 floats `[b_shooter, b_counter]`. - `shooter_idx`: 0 or 1. - `round_count`: Integer counter. - Per-roll ephemeral state: - `current_pot`: Float P. - `last_roll`: Tuple (d1,d2). - `roll_outcome`: `WIN`, `LOSS`, or `NEUTRAL`. - Observable information: Fully observable. ## Action space - `post_wager(amount)`: W∈[1,min⁡(BS,BC)]. - `roll_dice()`: Triggers uniform sample (d1,d2)∈{1..6}2. ## Playability notes - Single-player-vs-AI: Engine-ready. Directly implementable as a classic bankroll management and staking optimization problem (e.g. Kelly Criterion wagering). - Group games (n>4): Extends naturally with multiple agents taking turns as shooter, or acting as side-bettors wagering against the central pot. - Physical-skill games: Not applicable (pure stochastic discrete dice system). - What is lost: Physical dice rolling feel and tavern atmosphere. ## Implementation hints - Trivial discrete state machine; 36-entry outcome lookup table. - Mathematical property: P(Win|Decisive)=5/10=0.500000 (perfect fairness on decisive rolls).

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Barbouti (Greek Two-Dice Hazard Game) (Greece). (n.d.). Games of Countries. https://gamesofcountries.com/games/gr-greece/barbouti

@misc{gamesofcountries-gr-greece-barbouti,
  title = {Barbouti (Greek Two-Dice Hazard Game) (Greece)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/gr-greece/barbouti}
}