Formal Specification
Five Stones — Formal Specification
Bulgaria · dexterity-small · Confidence: medium
← Back to game pageImplementation 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 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 (). Total pebbles .
R2. Stage Progression Definitions:
- Stage 1 (*Edinachki*): 4 single grabs ( item grabbed per throw, repeated 4 times).
- Stage 2 (*Dvoyki*): 2 dual grabs ( items grabbed per throw, repeated 2 times).
- Stage 3 (*Troyki*): 1 triple grab (), followed by 1 single grab ().
- Stage 4 (*Chetvorki*): 1 quadruple grab ( items grabbed simultaneously in 1 throw).
- Stage 5 (*Porta*): 4 gate flicks (pushing 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 :
- [gap-fill] Execution success probability: .
- 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 for their next turn.
R4. Stage 6 Finale Scoring:
- [gap-fill] At Stage 6, back-of-hand catch samples count .
- Second flip samples .
- Player receives points.
R5. Turn Advance:
- If a player completes all throws for stage cleanly, they advance and continue playing the next stage during the same turn [gap-fill].
- If a fault occurs, active player index advances: .
R6. Victory: The first player to successfully complete Stage 6 and accumulate 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 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 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 , player scores , player dexterity attributes, active player index.
- Per-turn ephemeral state: Active stage , 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 .
- `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 JSONCite 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}
}