Formal Specification
Al-Ka'ab — Formal Specification
Iraq · dexterity-small · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Al-Ka'ab — AI-optimized specification
## General idea
An ancient Mesopotamian knucklebones striking game. Players pool dyed sheep/goat talus bones inside a drawn 1-meter circle, throw a heavy weighted striker bone (*Al-Sola*), and claim any knucklebones knocked outside the circle boundary.
## Formal model
- **Abstraction taken:** Arena modeled as a 2D circle with radius . Striker throws modeled as 2D vector impulses with stochastic collision and momentum transfer.
- **Player/agent count:** 2 to 4 individual players.
- **Turn model:** Sequential turns; knocking at least one bone out grants an immediate bonus throw from the resting position.
## Formal rules
R1. **Setup & pool:** Each player contributes knucklebones to the central cluster. Total pooled bones .
R2. **Striking throw:**
- Player throws *Sola* from baseline toward central bone cluster.
- Any bone knocked completely outside radius is captured by the thrower.
- If bone is knocked out: Player throws again from the resting position of the *Sola*.
- If 0 bones are knocked out: Turn ends immediately.
R3. **Victory condition:** Game terminates when all knucklebones have been cleared from the circle. The player with the most captured bones wins the match.
R4. [gap-fill] Sola foul:** If the *Sola* comes to rest completely outside the playing arena, player incurs a fault and passes the turn.
R5. [gap-fill] Turn limit:** Maximum 15 turn cycles per player. Remaining bones split evenly if limit is reached.
## Edge cases
- **Tie at the end condition:** Highest count of knucklebones collected.
- **A player with no legal move:** Valid throw vector always available.
- **Repetition / cycles:** Bounded by finite pooled bones and 15-cycle limit.
- **Simultaneous claims:** Turn-based resolution.
- **Player elimination mid-round:** Not applicable.
- **Resource exhaustion:** Monotonically decreasing pool of bones.
- **Termination guarantee:** Provably terminates when pool reaches 0.
## State representation
- **Persistent state:** `captured_bones: Dict[PlayerID, int]`.
- **Ephemeral state:** `pooled_positions: List[(float, float)]`, `sola_positions: Dict[PlayerID, (float, float)]`, `active_player: PlayerID`.
- **Observable information:** Fully observable 2D state.
## Action space
- `throw_sola(angle, force)`: 2D vector impulse.
## Playability notes
- **Single-player-vs-AI:** High fidelity physics collision simulation.
- **Group games (n>4):** Scales cleanly with multiple agents.
- **Physical-skill games:** Underhand throwing accuracy and lead-filled bone balance mapped to 2D collision vectors.
- **What is lost:** Tactile feel of boiled, sun-dried, brightly dyed sheep ankle bones.
## Implementation hints
Standard 2D rigid-body collision simulation with circle boundary detection.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Al-Ka'ab (Iraq). (n.d.). Games of Countries. https://gamesofcountries.com/games/iq-iraq/al-kaab
@misc{gamesofcountries-iq-iraq-al-kaab,
title = {Al-Ka'ab (Iraq)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/iq-iraq/al-kaab}
}