Skip to main content
Formal Specification

Syrian Five Stones — Formal Specification

Syria · dexterity-small · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# Al-Zaqta — AI-optimized specification ## General idea A turn-based multi-stage dexterity game where agents attempt a sequential 6-stage gauntlet of increasing motor coordination (singles, doubles, triples, quad, cave flicking, and dorsal flip-catching). A physical skill function models execution success, while agents choose strategic pebble placement, flicking trajectories, and risk thresholds during the final scoring flip. ## Formal model - **Abstraction taken:** Physical tossing, scooping, and finger-tunnel flicking are abstracted into parameterized success probabilities: P(success)=f(stage_difficulty,spatial_spread,agent_skill). - **Player/agent count:** 2 to 6 agents (standard 2-agent duel). - **Turn model:** Sequential turn rotation. An agent retains the turn while succeeding; on first failure, the turn passes and the stage progression checkpoint is saved. ## Formal rules R1. Setup: Agents initialize with `stage_progress = 1`, `points = 0`, `target_points = 50`. R2. Stage definition: - Stage 1 (Singles): 4 consecutive sub-attempts of grabbing 1 stone (D1=0.15). - Stage 2 (Pairs): 2 consecutive sub-attempts of grabbing 2 stones (D2=0.30). - Stage 3 (Triplets): 2 sub-attempts (one grab of 3 stones, one grab of 1 stone) (D3=0.40). - Stage 4 (Quad): 1 sub-attempt grabbing all 4 stones (D5=0.55). - Stage 5 (The Cave): 4 flick attempts through the finger arch without collision (D5=0.65). - Stage 6 (Dorsal Catch): Flip 5 stones onto back of hand and re-catch (D6=0.70). R3. Attempt resolution: For each sub-attempt k at stage s, success is determined by Bernoulli trial with probability Ps=max⁡(0.05,min⁡(0.95,skill−Ds)). R4. If all sub-attempts of stage s succeed, the agent advances to `stage_progress = s + 1`. R5. Upon completing Stage 6, the agent scores points equal to the number of stones caught (1 to 5 points) and loops back to Stage 1. R6. Turn failure: If any sub-attempt fails, the agent's turn terminates immediately, and the next agent acts. The failing agent retains their current `stage_progress` and sub-attempt index for their next turn. R7. Win condition: The first agent to accumulate `target_points` (default: 20 points, or completing N full gauntlet cycles) wins the game. ## Edge cases - **Tie at the end condition:** [gap-fill] If multiple agents hit target score in the same round, the agent with the highest total score wins; if exactly tied, a sudden-death Stage 6 catch-off is held. - **A player with no legal move:** Not applicable; an attempt action is always available on an active turn. - **Repetition / cycles:** Progress is strictly non-decreasing toward the point cap; stochastic success guarantees positive drift toward termination. - **Simultaneous claims on the same resource or position:** Not applicable; sequential turns. - **Player elimination mid-round; turn order repair:** If an agent forfeits, they are removed from the circular queue and turn order continues seamlessly. - **Resource exhaustion:** Not applicable; 5 physical stones are conserved throughout play. - **Termination guarantee:** Guaranteed by finite positive probability of stage completion and strictly absorbing point accumulation. ## State representation - Persistent state: - `agent_stages`: array of size N indicating stage ∈{1..6}. - `agent_substages`: array of size N indicating current sub-attempt within the stage. - `agent_scores`: array of size N storing accumulated points. - `active_agent`: integer in {0..N−1}. - Ephemeral state: `trial_outcome` (boolean success/failure of current action). - Observable information: Fully observable. ## Action space - `execute_stage_attempt()`: Execute the current stage trial with agent's skill parameter. - `choose_cave_order(order_permutation)`: [gap-fill] Strategy choice in Stage 5 selecting which stone to flick first to minimize collision probability. ## Playability notes - Single-player-vs-AI: Natural; can be played as a solo time-trial/attempt-count challenge or against an AI opponent with symmetric skill rating. - Group games (n>4): Reduces directly to 2 agents without altering core mechanics. - Physical-skill games: Skill modeled via calibrated Bernoulli parameters across the 6 difficulty tiers. - What is lost in the adaptation: The tactile sensation of cold river flint stones and fine wrist dexterity. ## Implementation hints - Implement the 6-stage state machine as an explicit table of sub-attempt requirements. - Suggested first milestone: Implement deterministic state transitions with a uniform random outcome generator, verifying that failure cleanly saves checkpoint state.

Download as JSON

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

Download JSON
Cite this page

Syrian Five Stones (Syria). (n.d.). Games of Countries. https://gamesofcountries.com/games/sy-syria/al-zaqta

@misc{gamesofcountries-sy-syria-al-zaqta,
  title = {Syrian Five Stones (Syria)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sy-syria/al-zaqta}
}