Skip to main content
Formal Specification

Five Stones / Knucklebones — Formal Specification

Slovenia · dexterity-small · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Kamenčkanje — AI-optimized specification ## General idea A sequential stage-progression dexterity puzzle with 5 pebble tokens. An agent tosses a projectile token upward into the air, executing rapid multi-token pickup and spatial clustering actions from a 2D tabletop state before catching the falling projectile under strict time-window constraints. ## Formal model - **Abstraction taken:** The 3D parabolic hand toss and finger snatching are abstracted into a time-window constraint Tair=0.8 s and a multi-target pickup dexterity probability function parameterized by token dispersion distance and agent dexterity scalar μdex. - **Player/agent count:** N agents (A1…AN, with N∈[1,4]). - **Turn model:** Sequential round-robin rotation, where each agent advances through stages S∈{1,…,6}. ## Formal rules R1. Setup: - 5 identical tokens on flat surface. Each agent initialized at stage S(A)=1. - Stage definitions: S1=ONES,S2=TWOS,S3=THREES,S4=FOURS,S5=BRIDGE,S6=BACK_OF_HAND. R2. Stage Execution (Action `execute_stage_attempt`): - 4 tokens are scattered onto 2D plane: (xi,yi)∼Uniform([−0.2,0.2]2) m. - Toss action launches 5th token (airtime Tair=0.8 s). - Pickup execution requires gathering required subset size K(S) in duration tpickup≤Tair. - Success probability: P(success|S)=μdex⋅exp⁡(−α⋅clustering_dist(K))⋅βS, where βS decreases monotonically across stages S1→S6. R3. Stage Advance & Faults: - If attempt succeeds: Agent advances to stage S(A)←S(A)+1 and continues turn (or completes cycle). - If attempt fails (drop or pickup timeout): Turn ends immediately; S(A) remains at current stage for next turn. R4. Victory Condition: - First agent to successfully clear Stage 6 (S=6) wins the game. - [gap-fill] If multiple agents clear Stage 6 in the same aggregate round, tied agents play a sudden-death Stage 6 speed duel. ## Edge cases - Tie at the end condition: Resolved via sudden-death Stage 6 catch count comparison. - A player with no legal move: Not applicable; stage execution action is always available on an agent's turn. - Repetition / cycles: [gap-fill] Maximum turn limit M=30 rounds; if no agent clears stage 6, agent at highest stage S wins. - Simultaneous claims on the same resource or position: Turns are sequential; table space is dedicated to the active agent. - Player elimination mid-round; turn order repair: If an agent disconnects, their entry is removed from rotation; turn advances to next. - Resource exhaustion: Exactly 5 tokens used invariant across all stages. - Termination guarantee: Monotonic stage advancement with strictly positive success probability per turn guarantees finite termination. ## State representation - Persistent state: `agent_stages: dict[int, int]`, `active_agent_idx: int`, `round_count: int`. - Ephemeral turn state: `token_positions: list[tuple[float, float]]`, `current_stage: int`, `attempt_success: bool`. - Observable information: Fully observable (all stage progress and token positions are public). ## Action space - `scatter_tokens()`: Disperse ground tokens. - `execute_toss_and_pickup(stage_id: int)`: Dexterity attempt action. ## Playability notes - Single-player-vs-AI: Natural as a solitaire dexterity challenge or 1v1 AI race. - Group games (n>4): Natively scales to 2–4 agents. - Physical-skill games: Fine motor coordination and spatial clustering modeled via P(success|S). - What is lost: Tactile coolness of smooth limestone pebbles, sound of stones clicking in the palm. ## Implementation hints Discrete state machine with stochastic success transitions. First milestone: implement state transitions S1…S6 with deterministic probability lookups before modeling spatial clustering dispersion.

Download as JSON

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

Download JSON
Cite this page

Five Stones / Knucklebones (Slovenia). (n.d.). Games of Countries. https://gamesofcountries.com/games/si-slovenia/kamenckanje

@misc{gamesofcountries-si-slovenia-kamenckanje,
  title = {Five Stones / Knucklebones (Slovenia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/si-slovenia/kamenckanje}
}