Formal Specification
Ring guessing game (Thoumliht) — Formal Specification
Morocco · guessing-hidden · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 1
# Labet el-Khatem — AI-optimized specification
## General idea
A multi-round asymmetric hidden-information and bluffing game. The Concealer secretly places a single token (ring) into one of possible hands (left/right of agents). The Seeker sequentially eliminates empty hands or makes a final target guess based on behavioral signals, prior probabilities, and bluffing patterns.
## Formal model
- **Abstraction taken:** Direct representation of a discrete hidden state . The psychological cues and micro-expressions are abstracted as noisy signal vectors emitted by the Concealer team: where .
- **Player/agent count:** 2 opposing sides (Concealer , Seeker ), each consisting of agents (, default , representing hands).
- **Turn model:** Two-phase rounds: 1 simultaneous hidden placement by , followed by sequential elimination actions by .
## Formal rules
R1. **Setup & Roles:**
- At round , one team is designated Concealer (), and the other is Seeker ().
- Hand indices: .
- chooses secret ring location .
R2. **Signal Generation (Psychological Modeling):**
- [gap-fill] For each hand , an observable cue is generated, where and represents the concealer's bluffing imperfection (skill parameter).
R3. **Seeker Elimination Actions:**
- On each inquiry step, chooses one of two actions:
- `eliminate_hand(i)`: asserts hand is empty.
- If , hand is revealed empty and removed from active set (). earns bonus point and may act again.
- If , the ring is prematurely exposed: fails immediately, scores point, and round ends.
- `declare_ring(i)`: makes a final definitive guess that hand .
- If , succeeds: scores points, and roles swap for next round ().
- If , fails: scores points, and retains the concealing role.
R4. **Victory Condition:**
- Rounds continue until one team reaches a target score points.
## Edge cases
- **Tie at the end condition:** Not applicable — points are awarded strictly sequentially at round resolution; first team to hit wins.
- **A player with no legal move:** always has at least one active hand to eliminate or declare.
- **Repetition / cycles:** Bounded by monotonic score increments; each round awards point, guaranteeing game end in at most 14 rounds.
- **Simultaneous claims on the same resource or position:** Turns within a round are strictly ordered ( places queries).
- **Player elimination mid-round; turn order repair:** Not applicable.
- **Resource exhaustion:** Exactly 1 ring and a fixed set of hands.
- **Termination guarantee:** Each round strictly terminates in queries, and total score strictly increases each round toward .
## State representation
- **Persistent state:** Team scores , target score , current round index , current concealing team ID.
- **Per-round state:** Secret ring index , set of active remaining hands , signal vector .
- **Observable information:** Imperfect information: observes only and noisy signal vector ; is hidden until round resolution.
## Action space
- For : `place_ring(hand_index)` where .
- For :
- `eliminate_hand(hand_index)`: where .
- `declare_ring(hand_index)`: where .
## Playability notes
- **Single-player-vs-AI:** Excellent: AI concealer optimizes mixed strategies across hands to counter seeker Bayesian inference; AI seeker applies particle filtering or maximum-likelihood estimation over signal cues.
- **Group games ():** Naturally reduces to a 2-agent duel (1 Concealer vs 1 Seeker) controlling virtual hands without altering any mathematical properties.
- **Physical-skill games:** Not applicable (pure deduction, Bayesian estimation, and bluffing game).
- **What is lost in the adaptation:** The electric social tension of staring into friends' eyes across a Berber carpet under candlelight.
## Implementation hints
- Implement the Seeker agent as a Bayesian belief updater over a discrete categorical distribution .
- First milestone: Build a 2-player 4-hand environment with uniform random placement and direct accuracy evaluation.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Ring guessing game (Thoumliht) (Morocco). (n.d.). Games of Countries. https://gamesofcountries.com/games/ma-morocco/labet-el-khatem
@misc{gamesofcountries-ma-morocco-labet-el-khatem,
title = {Ring guessing game (Thoumliht) (Morocco)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ma-morocco/labet-el-khatem}
}