Skip to main content
Formal Specification

Suwayr and Buwayr — Formal Specification

Iraq · guessing-hidden · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Al-Suwayr — AI-optimized specification ## General idea A traditional marshland sensory search game (*Al-Suwayr wa Buwayr*). A smooth river stone (*Suwayr*) is buried in thick wet river mud. Searchers plunge both hands into the mud, searching blindly strictly by tactile texture discrimination to find and claim the stone before competitors. ## Formal model - **Abstraction taken:** Mud zone modeled as a discrete 2D grid of depth cells G={(x,y)|0≤x,y<M}. The stone coordinate (xs,ys) is hidden secretly. Searchers execute tactile probe actions. - **Player/agent count:** 3 to 6 players (1 `Hider`, N−1 `Searchers`). - **Turn model:** 1 Secret Hiding Phase, followed by real-time synchronized search ticks. ## Formal rules R1. **Hiding phase:** Hider selects cell (xs,ys)∈G and buries stone, calling "Suwayr!". Surface mud is smoothed flat. R2. **Tactile search phase:** - Each tick, searchers plunge hands into adjacent cells. - An agent probing coordinate (x,y) detects the stone if: - (x,y)=(xs,ys), with detection probability P(discriminate)=0.8×Dexterity(A) [gap-fill]. - Distractor objects (roots, shells, clay clumps) generate false-positive delays of 1 tick [gap-fill]. R3. **Victory claim:** - The first agent to successfully identify the stone grasps it, lifts it above the surface, and calls "Buwayr!". - The finder scores **1 point** and becomes the Hider in the next round. R4. **Match victory:** First player to accumulate 5 points wins the match. R5. [gap-fill] Search timeout:** If the stone is not found within 60 ticks, the Hider scores 1 point and re-hides the stone. ## Edge cases - **Tie at the end condition:** If two players find the stone on the exact same tick, the player with higher dexterity skill secures the grasp [gap-fill]. - **A player with no legal move:** Searchers continue probing adjacent grid cells. - **Repetition / cycles:** Bounded by 60-tick search ceiling. - **Simultaneous claims:** Handled by tie resolution. - **Player elimination mid-round:** Not applicable. - **Resource exhaustion:** 1 stone, persistent. - **Termination guarantee:** Guaranteed by 60-tick ceiling and 5-point match limit. ## State representation - **Persistent state:** `scores: Dict[PlayerID, int]`, `current_hider: PlayerID`. - **Ephemeral state:** `stone_coords: (int, int)`, `probed_cells: Dict[PlayerID, Set[(int, int)]]`, `search_ticks: int`. - **Observable information:** Imperfect information. Searchers observe grid dimensions but zero visual indicators of stone location. ## Action space - `bury_stone(x, y)`: Hider action. - `probe_cell(x, y)`: Tactile search action. ## Playability notes - **Single-player-vs-AI:** Operates as a grid-based tactile discovery race against AI competitors. - **Group games (n>4):** Native simultaneous search. - **Physical-skill games:** Physical mud texture sensitivity mapped to tactile detection probabilities. - **What is lost:** Cold wet Shatt al-Arab mud texture, river water splashing, and sensory immersion. ## Implementation hints Simple 2D grid matrix with hidden target coordinate and stochastic search evaluation.

Download as JSON

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

Download JSON
Cite this page

Suwayr and Buwayr (Iraq). (n.d.). Games of Countries. https://gamesofcountries.com/games/iq-iraq/al-suwayr

@misc{gamesofcountries-iq-iraq-al-suwayr,
  title = {Suwayr and Buwayr (Iraq)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/iq-iraq/al-suwayr}
}