Skip to main content
Formal Specification

Al-Da'bal — Formal Specification

Iraq · dexterity-small · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Al-Da'bal — AI-optimized specification ## General idea A traditional Iraqi marble shooting game in the *Orta* (ring) format. Players pool marbles inside a drawn circle, flick a heavier shooter marble (*Sol*) from a boundary line, and claim any marbles knocked outside the ring. ## Formal model - **Abstraction taken:** Arena modeled as a 2D plane with a central circular boundary of radius R=1.0m. Marble flicking modeled as 2D vector physics with stochastic collision resolution. - **Player/agent count:** 2 to 6 individual players. - **Turn model:** Sequential turns; knocking at least one marble out awards an immediate bonus shot. ## Formal rules R1. **Initial setup:** Each player puts K=3 marbles into the central pool. Total marbles M=K×N. R2. **Shooting mechanic:** - Player flicks their *Sol* from the perimeter toward the central cluster. - If any pooled marble is knocked completely outside the ring radius R: - The displaced marble(s) are captured by the shooter. - The player takes another shot from where their *Sol* came to rest. - If no marbles are displaced outside the circle: Turn ends immediately. R3. **Sol trapped penalty:** If a player's *Sol* comes to rest inside the circle without knocking any marble out, the player must pay 1 marble from their captured reserve to retrieve it [gap-fill]. R4. **Victory condition:** Game terminates when all marbles have been cleared from the central ring. The player with the highest marble count wins. R5. [gap-fill] Turn cycle limit:** Maximum 20 turn cycles per player. Remaining pooled marbles are split evenly if the limit is reached. ## Edge cases - **Tie at the end condition:** Highest count of marbles captured. - **A player with no legal move:** Player always has a valid vector flick. - **Repetition / cycles:** Bounded by finite pooled marbles and 20-cycle cap. - **Simultaneous claims:** Turn-based resolution. - **Player elimination mid-round:** Players with zero marbles can continue shooting if they hold their *Sol*. - **Resource exhaustion:** Monotonically decreasing pool of marbles. - **Termination guarantee:** Provably terminates when central pool reaches 0. ## State representation - **Persistent state:** `ring_radius: float`, `captured_marbles: Dict[PlayerID, int]`. - **Ephemeral state:** `pooled_positions: List[(float, float)]`, `sol_positions: Dict[PlayerID, (float, float)]`, `active_player: PlayerID`. - **Observable information:** Fully observable 2D state. ## Action space - `flick_sol(angle, velocity)`: 2D vector impulse. ## Playability notes - **Single-player-vs-AI:** High fidelity physics simulation puzzle. - **Group games (n>4):** Scales smoothly with turn order. - **Physical-skill games:** Thumb-flick mechanics and marble density mapped to 2D vector collisions. - **What is lost:** Al-Sol marble trading economy, glass clatter, and alleyway dust. ## Implementation hints Standard 2D rigid body circle-circle collision simulation or discrete distance-decay raycasting.

Download as JSON

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

Download JSON
Cite this page

Al-Da'bal (Iraq). (n.d.). Games of Countries. https://gamesofcountries.com/games/iq-iraq/al-dabal

@misc{gamesofcountries-iq-iraq-al-dabal,
  title = {Al-Da'bal (Iraq)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/iq-iraq/al-dabal}
}