Skip to main content
Formal Specification

Five Stones — Formal Specification

Bulgaria · dexterity-small · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Pet kamacheta — AI-optimized specification ## General idea A sequential fine-motor dexterity game consisting of a six-stage progression ladder. In each stage, an agent tosses an airborne token and must execute combinatorial item pickups and spatial gate flicks within a strict temporal window before catching the falling projectile. Faults terminate the turn and preserve ladder checkpoint progress. ## Formal model - **Abstraction taken:** The airborne flight window (~0.6–0.9 seconds) and finger sweep mechanics are modeled as a stochastic success probability Psuccess conditioned on the number of simultaneous items grabbed, hand-eye coordination attribute, and spatial clearance. - **Player/agent count:** 1 to 6 players taking sequential turns in fixed rotation. - **Turn model:** Strictly sequential. ## Formal rules R1. Setup: Each player starts at stage index Si=1 (S∈[1,6]). Total pebbles Nstones=5. R2. Stage Progression Definitions: - Stage 1 (*Edinachki*): 4 single grabs (k=1 item grabbed per throw, repeated 4 times). - Stage 2 (*Dvoyki*): 2 dual grabs (k=2 items grabbed per throw, repeated 2 times). - Stage 3 (*Troyki*): 1 triple grab (k=3), followed by 1 single grab (k=1). - Stage 4 (*Chetvorki*): 1 quadruple grab (k=4 items grabbed simultaneously in 1 throw). - Stage 5 (*Porta*): 4 gate flicks (pushing k=1 item through a hand-formed arch per throw). - Stage 6 (*Opako*): Dual flip (catch on back of hand, flip and catch in palm). R3. Toss and Catch Execution: - For each required throw in stage Si: - [gap-fill] Execution success probability: P(Pass)=max⁡(0.20,Dexterityi⋅0.9−0.12⋅k−0.05⋅Si). - If throw succeeds: Sub-task is marked complete. - If throw fails (drop or adjacent stone displacement): Turn ends immediately as a fault; player preserves stage checkpoint Si for their next turn. R4. Stage 6 Finale Scoring: - [gap-fill] At Stage 6, back-of-hand catch samples count C∼Binomial(5,Pcatch). - Second flip samples F∼Binomial(C,Pflip). - Player receives Scorei←Scorei+(F×10) points. R5. Turn Advance: - If a player completes all throws for stage Si cleanly, they advance Si←Si+1 and continue playing the next stage during the same turn [gap-fill]. - If a fault occurs, active player index advances: current_player←(current_player+1)(modK). R6. Victory: The first player to successfully complete Stage 6 and accumulate ≥30 points wins the game immediately. ## Edge cases - Tie at the end condition: Not applicable — turns are sequential; first player to clear Stage 6 and cross point threshold wins. - A player with no legal move: Not applicable — toss-and-grab action is always available on agent's turn. - Repetition / cycles: Bounded: The state space for each player is an integer stage Si∈[1,6] which never decrements on faults. - Simultaneous claims on the same resource or position: Turns are strictly sequential; 5 stone entities are reset on the surface for each player's turn. - Player elimination mid-round; turn order repair: If a player disconnects, their entry is removed from the rotation array; remaining players continue in order. - Resource exhaustion: Exactly 5 pebbles in play; discrete stage counts are strictly bounded. - Termination guarantee: Because P(Pass)>0 for all stages, the probability of remaining indefinitely at any stage approaches 0 as turns increase, guaranteeing termination. ## State representation - Persistent state: Player stage progress array [S1,…,SK], player scores [Score1,…,ScoreK], player dexterity attributes, active player index. - Per-turn ephemeral state: Active stage Sactive, sub-task progress counter within stage, toss outcome boolean. - Observable information: Fully observable — all player stages, scores, and throw outcomes are public. ## Action space - `execute_stage_throw(stage_id, grab_count)`: Precondition: Caller is active player, stage matching Si. - `execute_back_hand_finale()`: Precondition: Caller at Stage 6. ## Playability notes - Single-player-vs-AI: Natural — Solitaire speedrun challenge (fewest total turns to complete all 6 stages) or turn-based race against AI opponents. - Group games (n>4): Natively supports 1 to 6 players with zero structural modification. - Physical-skill games: Microsecond finger timing and hand kinematics are parameterized via discrete binomial/Bernoulli success checks. - What is lost: The tactile texture of smooth river pebbles, the sound of stones clacking, and the micro-friction of the skin are abstracted into scalar probabilities. ## Implementation hints Extremely simple 6-state progression model. The only state logic is tracking the internal sub-task counter for each stage (e.g. 4 sub-throws for Stage 1, 2 sub-throws for Stage 2). Suggested first milestone: implement a single player loop stepping through Stages 1–6 and verify convergence to victory within ~15–25 simulated turns.

Download as JSON

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

Download JSON
Cite this page

Five Stones (Bulgaria). (n.d.). Games of Countries. https://gamesofcountries.com/games/bg-bulgaria/pet-kamacheta

@misc{gamesofcountries-bg-bulgaria-pet-kamacheta,
  title = {Five Stones (Bulgaria)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/bg-bulgaria/pet-kamacheta}
}