Skip to main content
Formal Specification

Sahrawi bone-doll and tent roleplay (Al-Awzar / Lawzar) — Formal Specification

Western Sahara · guessing-hidden · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Ardal — AI-optimized specification ## General idea A two-agent game of hidden information, resource management, and social deduction modeling a traditional Sahrawi nomadic tent encampment. In each round, the Host agent arranges M=4 doll characters in a miniature tent and secretly awards a dowry token to one character. The Visitor agent executes an etiquette greeting step, asks 2 structured lineage/wealth questions, and attempts to deduce which doll holds the dowry. ## Formal model - **Abstraction taken:** The nomadic encampment is modeled as a set of 4 character roles D={FATHER,MOTHER,CHILD,HERDER}. The hidden dowry token is placed at index h∈{0,1,2,3}. - **Player/agent count:** 2 agents, Agent 0 (Host) and Agent 1 (Visitor). - **Turn model:** Sequential round phases: (1) Setup and secret assignment, (2) Greeting exchange, (3) Questioning phase, (4) Guess and score resolution, (5) Role swap. ## Formal rules R1. **Setup:** 4 distinct character slots {0,1,2,3} representing {FATHER,MOTHER,CHILD,HERDER}. Score vector (S0,S1)=(0,0). Target score K=12. R2. **Phase 1: Secret Token Placement:** - The Host secretly assigns the dowry token to character h∈{0,1,2,3}. R3. **Phase 2: Etiquette Greeting Step:** - The Visitor selects a greeting tier: `STANDARD_GREETING` or `POETIC_TARHAB`. - `POETIC_TARHAB` awards +1 point to the Visitor if matched by the Host's `TEA_OFFERING`. R4. **Phase 3: Structured Query Phase:** - The Visitor submits up to 2 queries from the legal query set: - `QUERY_ROLE_TYPE(category)`: where category is `ADULT` (Father/Mother) or `YOUTH` (Child/Herder). Returns `TRUE` if h∈category, else `FALSE`. - `QUERY_TENT_SIDE(side)`: where side is `NORTH` (Father/Herder) or `SOUTH` (Mother/Child). Returns `TRUE` if h∈side, else `FALSE`. - `QUERY_PARITY()`: Returns h(mod2). - The Host must answer truthfully. R5. **Phase 4: Guess and Score Resolution:** - The Visitor declares a guessed character hˆ∈{0,1,2,3}. - If hˆ==h: Visitor scores +3 points (Svisitor←Svisitor+3). - If hˆ≠h: Host scores +2 points (Shost←Shost+2). R6. **Role Swap:** - After Phase 4, the roles alternate (Host↔Visitor) for the next round. R7. **Victory Condition:** - The first agent to accumulate S≥12 points wins the match immediately. R8. [gap-fill] **Round Cap:** If neither agent reaches 12 points after R=16 rounds, the agent with the higher score wins (or a draw if tied). ## Edge cases - **Tie at the end condition:** If tied at round R=16, resolved as a draw. - **A player with no legal move:** Placement h∈{0…3}, queries, and guesses are always legally well-formed. - **Repetition / cycles:** Bounded by round limit R=16 (R8). - **Simultaneous claims on the same resource or position:** Not applicable; sequential round structure. - **Player elimination mid-round; turn order repair:** Not applicable (2-agent match). - **Resource exhaustion:** Invariant 4-character state space and finite score thresholds. - **Termination guarantee:** Strictly guaranteed by R=16 round limit and monotonic point accumulation. ## State representation - **Persistent state:** - `scores`: `[score_0, score_1]`. - `host_role`: `0` or `1`. - `round_count`: integer ∈[1,16]. - **Per-round ephemeral state:** - `hidden_character`: integer h∈{0,1,2,3} (private to Host). - `queries_asked`: list of up to 2 query tuples. - **Observable information:** Visitor observes `scores`, `round_count`, and query answers, but not `hidden_character` until resolution. ## Action space - Host: `hide_dowry(char_idx \in {0..3})`, `respond_greeting(type)`. - Visitor: `offer_greeting(type)`, `submit_query(query_type)`, `make_guess(char_idx \in {0..3})`. ## Playability notes - **Single-player-vs-AI:** Natural 1v1 puzzle/deduction game. Visitor AI eliminates invalid character hypotheses using binary partition logic. Host AI randomizes token placement across the 4 roles according to a minimax mixed strategy. - **Group games (n>4):** Reduces cleanly to 2 competing teams representing neighbor encampments. - **Physical-skill games:** Not applicable (discrete deduction and etiquette simulation). - **What is lost in the adaptation:** Physical bone doll crafting, fabric sewing, miniature tent design aesthetics, and verbal poetic performances in Hassaniya. ## Implementation hints - Small 4-state hypothesis space ({0,1,2,3}) guarantees fast exact solving. - 2 binary queries allow an optimal Visitor agent to achieve 100% deduction accuracy, making the greeting and bluffing layer strategically critical for score differentials. - First milestone: Implement the 4-state query logic and deduction resolution before adding the etiquette greeting point modifiers.

Download as JSON

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

Download JSON
Cite this page

Sahrawi bone-doll and tent roleplay (Al-Awzar / Lawzar) (Western Sahara). (n.d.). Games of Countries. https://gamesofcountries.com/games/eh-western-sahara/ardal

@misc{gamesofcountries-eh-western-sahara-ardal,
  title = {Sahrawi bone-doll and tent roleplay (Al-Awzar / Lawzar) (Western Sahara)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/eh-western-sahara/ardal}
}