Skip to main content
Formal Specification

Five Stones (Slovak Knucklebones / Kamienky) — Formal Specification

Slovakia · dexterity-small · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Päť kamienkov — AI-optimized specification ## General idea A sequential hand-eye dexterity game where agents progress through 5 escalating stone-tossing and scooping levels (singles, pairs, triples, four-dump, gate) before executing a high-risk back-of-hand catching maneuver for points. ## Formal model - **Abstraction taken:** The mid-air toss and scoop mechanics are modeled as a sequence of conditional probability checks P(scoop_success|L)=f(level L,agent_dexterity). The final scoring flip samples the count of stones caught on the dorsal surface of the hand (K∼Binomial(5,pdorsal)). - **Player/agent count:** 2 to 4 agents. - **Turn model:** Strictly sequential turns. Target score is 50 points [gap-fill]. ## Formal rules R1. Setup: Each agent has `level = 1`, `sub_step = 1`, `score = 0`. Total score target = 50. R2. Level Progression: - Level 1 (Singles): 4 successful scoop steps required (Pfail=0.05). - Level 2 (Pairs): 2 successful scoop steps of 2 stones (Pfail=0.10). - Level 3 (Triples): 1 scoop of 3 stones, 1 scoop of 1 stone (Pfail=0.15). - Level 4 (Fours): 1 place-down step, 1 scoop of 4 stones (Pfail=0.20). - Level 5 (Gate): 4 sequential gate-flick steps (Pfail=0.25). R3. Execution Resolution: For the active sub-step, roll random outcome: - If success: Sub-step advances. If all sub-steps of current Level L are complete, agent advances to Level L+1. - If failure: Turn ends immediately. Current (L,sub_step) is preserved as a checkpoint. Turn passes to the next player. R4. Scoring Phase (*Chrbát ruky*): When Level 5 is fully cleared: - Agent tosses all 5 stones and samples K∼Binomial(5,0.70) stones caught on the back of the hand. - Agent tosses the K stones upward and attempts a mid-air downward snatch (Psnatch_success=0.85). - If snatch succeeds: Agent adds K×10 points to their persistent score. - Level resets to L=1,sub_step=1 for the next cycle [gap-fill]. R5. Win condition: The first agent to reach ≥50 points wins immediately. R6. Global Cap: If no agent reaches 50 points after 30 global rounds, the agent with the highest accumulated score wins [gap-fill]. ## Edge cases - Tie at the end condition: Sequential turn order resolves immediately on the first agent to reach ≥50 points; no simultaneous ties. - A player with no legal move: Not applicable; agent always attempts the active sub-step. - Repetition / cycles: Checkpoint progress and scores are monotonically non-decreasing, bounded by the 30-round limit. - Simultaneous claims on the same resource or position: Turns are strictly sequential; 1 agent operates the 5 stones at a time. - Player elimination mid-round; turn order repair: No eliminations; standard round-robin rotation. - Resource exhaustion (pieces, tokens, space, time): Exactly 5 stones conserved in local state. - Termination guarantee: Monotonic score accumulation + 30-round limit guarantee deterministic termination. ## State representation - Persistent state: `player_scores: dict[int, int]`, `player_levels: dict[int, int] (1..5)`, `player_substeps: dict[int, int]`, `active_player_idx: int`, `round: int`. - Per-turn ephemeral state: `step_outcome: bool`, `dorsal_caught_count: int`, `snatch_outcome: bool`. - Observable information: Fully observable — all player scores, levels, and turn outcomes are public knowledge. ## Action space - `execute_substep(concentration: float)`: Submit step execution attempt with focus parameter ∈[0.0,1.0]. ## Playability notes - Single-player-vs-AI: Great casual push-your-luck dexterity challenge racing against AI agents with distinct reliability profiles. - Group games (n>4): Queue rotation naturally generalizes to 2 to 4 players without change. - Physical-skill games: Multi-stone hand scooping and back-of-hand catching are modeled via binomial trials and level-tiered failure probabilities. - What is lost in the adaptation: Fine motor finger-thumb coordination, stone texture grip, and rapid air-snatching reflexes. ## Implementation hints Very low complexity. Simple finite-state machine over 5 discrete levels with binomial scoring rolls. First milestone: build a 1-player loop verifying that Level 1 to 5 progression and scoring triggers accurately.

Download as JSON

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

Download JSON
Cite this page

Five Stones (Slovak Knucklebones / Kamienky) (Slovakia). (n.d.). Games of Countries. https://gamesofcountries.com/games/sk-slovakia/pat-kamienkov

@misc{gamesofcountries-sk-slovakia-pat-kamienkov,
  title = {Five Stones (Slovak Knucklebones / Kamienky) (Slovakia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sk-slovakia/pat-kamienkov}
}