Formal Specification
Syrian Knucklebones — Formal Specification
Syria · dexterity-small · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Al-Ka'ab — AI-optimized specification
## General idea
A tactical dexterity-pitching game where players aim at a cluster of ankle bones inside a circular arena. Strategic depth lies in choosing which target bone to hit, selecting the pitch force (to push bones out of the arena while keeping the shooter bone inside), and managing risk as the target density decreases.
## Formal model
- **Abstraction taken:** The physical throwing trajectory and bone-on-bone collisions are abstracted into a 2D circle with bone coordinate points. The pitch is modeled as a selected aim coordinate and force vector, with outcome probabilities sampled stochastically based on target proximity and player skill.
- **Player/agent count:** 2 to 6 players, playing sequentially.
- **Turn model:** Sequential turn rotation. A player retains their turn as long as they successfully capture a bone and their shooter remains in play (with a cap to prevent infinite loops).
## Formal rules
R1. Setup: A 2D circular boundary of radius units centered at . A set of target bones (positions ) are randomly clustered within a radius of 10 units around the center.
R2. Player State: Each player starts with score .
R3. The Action: On a turn, the active player declares a shot action `pitch(target_x, target_y, force)` where:
- is the aimed-at coordinate on the circle plane.
- represents throwing speed.
R4. [gap-fill] Hit Resolution:
4.1. The actual landing coordinate of the shooter is sampled from a normal distribution centered at the aimed point, with standard deviation .
4.2. Let be the distance from to target bone . If the minimum distance (e.g. 2 units), a hit occurs.
4.3. [gap-fill] Collision Physics: If a hit occurs, the struck target bone is shifted in the direction of the hit vector by a distance of units.
4.4. If the target bone's new position satisfies , it is successfully ejected from the circle.
R5. Shooter Position:
5.1. The shooter bone's resting position is calculated as the hit coordinate shifted by a recoil distance units.
5.2. If (shooter remains inside the circle) AND at least one target bone was ejected, the player scores points equal to the number of ejected bones, and gets another shot.
5.3. Otherwise, the player's turn ends. The shooter bone is returned to the player's hand.
R6. Win / Loss / Draw:
6.1. The game ends immediately when all bones are ejected from the circle.
6.2. The player with the highest score wins. If scores are equal, a draw is declared.
## Edge cases
- Tie at the end condition: Standard, handled by R6.2 (draw declared, or a single-shot playoff can be triggered).
- A player with no legal move: Not applicable; pitching is always legal as long as target bones remain in the circle.
- Repetition / cycles: Bounded because target bones are permanently removed from the circle once ejected, meaning target count is strictly non-increasing, guaranteeing termination.
- Simultaneous claims on the same resource: Not applicable; turns are strictly sequential.
- Player elimination mid-round: Not applicable; no player is eliminated.
- Resource exhaustion: None; target bones are finite and tracked.
- Termination guarantee: Guaranteed by the monotonic decrease of target bones in the circle, combined with a maximum of 5 consecutive hits per turn [gap-fill: turn limit to prevent highly skilled agents from cleaning the board in a single turn].
## State representation
- Persistent state: List of active target bone coordinates , list of scores per player, active player index, consecutive shot counter.
- Per-turn ephemeral state: Declared aim point and force, sampled landing coordinate, and resulting collision vectors.
- Observable information: Fully observable by all agents.
## Action space
- `pitch(x, y, force)`: Select aim coordinate on the board and throwing force, subject to and .
## Playability notes
- Single-player-vs-AI: Excellent. The AI can aim directly at the centroid of the remaining target bone cluster and select a force vector optimized to eject targets without sending their own shooter out of bounds.
- Group games (n>4): Generalizes cleanly. Turn rotation scales linearly with player count.
- Physical-skill games: Physical pitching is abstracted by the standard deviation parameter linked to the agent's skill rating.
- What is lost: The tactile experience of handling sheep bones, cleaning them, and assessing physical friction against the dirt surface.
## Implementation hints
- Simple geometry and collision simulation. No need for complex rigid body physics; simple vector reflection and linear displacement models are sufficient.
- First milestone: Set up the 2D arena and target coordinates, implement the stochastic aiming error, and verify that target bones are successfully moved and ejected by throws.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Syrian Knucklebones (Syria). (n.d.). Games of Countries. https://gamesofcountries.com/games/sy-syria/al-ka-ab
@misc{gamesofcountries-sy-syria-al-ka-ab,
title = {Syrian Knucklebones (Syria)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sy-syria/al-ka-ab}
}