Formal Specification
Knucklebones Shooting — Formal Specification
Kazakhstan · dexterity-small · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 6
# Asyq atu — AI-optimized specification
## General idea
Asyq atu is a precision targeting and projectile-capture game played with sheep astragalus (knuckle) bones. Players place a line of target bones (*keney*) on a central mark (*kön*) and take turns throwing a weighted master bone (*saqa*) from a baseline to knock target bones out of the court boundaries. Captured bones score points and grant extra throws, while the landing stance of the *saqa* can unlock advanced close-range flick shots.
## Formal model
- **Abstraction taken:** The continuous biomechanics of the throw (release angle, velocity, collision physics, spin, and bone deflection) are replaced by a parameterized stochastic resolver. [gap-fill] The probability of hitting a target bone and displacing it across the boundary is modeled as a function of target distance, target clustering, and player skill attribute .
- **Player/agent count:** 2 agents in individual match format (or 2 teams of 3 agents taking sequential turns).
- **Turn model:** Sequential turns with bonus throw chaining upon successful out-of-bounds captures.
## Formal rules
R1. **Setup and Hierarchy:**
- Court layout: A 2D rectangular playing area metres with a central transverse line at (*kön*).
- [gap-fill] Exactly 6 target *keney* bones are aligned along the *kön* at coordinates , initially standing or lying.
- Bone stance hierarchy for *saqa* rolls: .
- Each player begins behind their respective baseline at distance m (Player 1) or m (Player 2).
R2. **Turn Order Determination:**
- Both agents simultaneously roll (*iyru*) their *saqa*.
- The agent rolling the higher-ranked stance shoots first. In case of identical stances, both agents re-roll until the tie is broken.
R3. **Shooting Action & Resolution:**
- On an agent's turn, the agent chooses an aim target and executes `throw_saqa(target_id)`.
- **Collision and Displacement:**
- A stochastic hit test is computed: .
- If hit: With probability , the targeted *keney* is propelled beyond the court boundary ( or ) and is captured into the active agent's bank (+1 point).
- If hit and ejected: The active agent earns an immediate bonus throw from the baseline.
- **Miss or Non-Ejection:**
- If the throw misses all targets or strikes without ejecting the bone from the court, the throw is resolved, and the *saqa* lands at position with a sampled orientation.
- If the *saqa* lands in or inside the court, the active agent earns a "close-range privilege" for their next turn (permitting a close-range shot `flick_saqa(target_id)` from on their next turn).
- The turn passes to the opponent.
R4. **Turn Handover:**
- When a player fails to capture a *keney* on a throw, their turn ends immediately.
- The incoming agent retrieves their *saqa* (or shoots from their advanced stance if privilege was retained from their previous turn) and shoots.
R5. **End Condition and Scoring:**
- The round ends immediately when the last *keney* on the court is captured.
- The agent with the strictly higher count of captured *keney* wins the round.
- [gap-fill] If agents capture equal numbers of *keney* (e.g. 3–3), the round is a draw, and a sudden-death single-bone shoot-off is conducted from 5 metres.
- A match is played as the best of 3 rounds.
## Edge cases
- **Tie at the end condition:** If captured bones are equal at the end of a round (e.g. 3–3), R5 [gap-fill] specifies a sudden-death shoot-off with 1 target bone on the *kön*.
- **A player with no legal move:** Not applicable; as long as targets remain on the *kön*, throwing the *saqa* is always legal.
- **Repetition / cycles (and the loop-breaking rule):** Since the probability of missing is non-zero but for non-zero skill, bones will eventually be ejected. [gap-fill] To guarantee strict cycle termination against pathological missing loops, a hard limit of 30 total throws per round triggers an automatic round resolution based on current score.
- **Simultaneous claims on the same resource or position:** Not applicable; turns are strictly sequential.
- **Player elimination mid-round; turn order repair:** In team format (3v3), if a player is disqualified for repeated boundary infractions, turn rotation simply skips that player's slot, cycling through remaining teammates.
- **Resource exhaustion (pieces, tokens, space, time):** *Keney* pieces are strictly non-renewable during a round; total count decreases monotonically from 6 to 0.
- **Termination guarantee: why the game provably ends:** Every successful ejection strictly decreases the remaining targets on the court towards 0; the 30-throw hard cap [gap-fill] guarantees bounded termination even under consecutive misses.
## State representation
- **Persistent state:**
- `court_keney`: List of active target bones, each with `id`, `position (x, y)`, and `status` (`in_play` or `captured`).
- `scores`: `[agent1_captured, agent2_captured]`.
- `rounds_won`: `[agent1_rounds, agent2_rounds]`.
- `active_agent`: 1 or 2.
- `turn_throw_count`: Total throws elapsed this round.
- `advanced_stance`: Boolean flag per agent indicating eligibility for close-range flick.
- **Per-turn ephemeral state:**
- `aim_target_id`: ID of the targeted *keney*.
- `throw_result`: Struct containing `{hit: bool, ejected: bool, saqa_landing_pos: (x, y), saqa_stance: Stance}`.
- **Observable information:** Fully observable. Positions and stances of all bones, scores, and active permissions are public knowledge.
## Action space
- `throw_from_baseline(target_id)`:
- Precondition: Active turn; agent is at baseline; `target_id` is an active *keney* on court.
- `flick_from_court(target_id)`:
- Precondition: Active turn; agent holds valid `advanced_stance` from prior turn; `target_id` is an active *keney*.
## Playability notes
- **Single-player-vs-AI:** Natural. An AI agent selects targets greedily or based on expected value (balancing hit probability vs risk of leaving the *saqa* vulnerable).
- **Group games (n>4):** Reduces to 2 teams of 3 taking turns in fixed round-robin batting order; team scores aggregate.
- **Physical-skill games:** Physical throwing accuracy is abstracted into skill parameters: accuracy and power .
- **What is lost in the adaptation:** Physical flicking dexterity, subtle terrain variations on dirt pitches, and custom fingertip touch on weighted lead *saqa* pieces.
## Implementation hints
- Represent bone stances as an enum: `[SHIK=0, BUK=1, TAYKE=2, ALSHY=3, OMPY=4]`.
- Implement shooting as a 2-step stochastic resolution: (1) line-of-sight deviation to determine collision, (2) impulse vector to check if target exits court bounding box.
- First milestone: Implement baseline shooting with fixed hit/ejection probabilities and bonus throw chaining until all 6 bones are cleared.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Knucklebones Shooting (Kazakhstan). (n.d.). Games of Countries. https://gamesofcountries.com/games/kz-kazakhstan/asyq-atu
@misc{gamesofcountries-kz-kazakhstan-asyq-atu,
title = {Knucklebones Shooting (Kazakhstan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/kz-kazakhstan/asyq-atu}
}