Formal Specification
Five Stones — Formal Specification
Kosovo · dexterity-small · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Pesëgurësh — AI-optimized specification
## General idea
A turn-based sequential dexterity race where players progress through 5 escalating challenge stages (picking 1s, 2s, 3s, 4s, and gate flicks). On their turn, an agent attempts physical scoop-and-catch actions. A successful attempt advances the agent's progress counter; a failed attempt (fault) ends the turn and passes play to the next agent, with progress saved at the current stage.
## Formal model
- **Abstraction taken:** Hand tossing, mid-air stone grabbing, and spatial pebble scatter are abstracted into stage-dependent success probabilities parameterized by agent motor skill and risk choices.
- **Player counts:** 2 to agents (benchmark: 2 agents).
- **Turn model:** Sequential turn rotation with persistent stage checkpoints.
## Formal rules
R1. **Initial Setup:** Stages . For each agent , stage progress is initialized to , sub-step . Turn order is set sequentially .
R2. **Stage Progression Definitions:**
- Stage 1 (Ones): 4 sub-steps (scoop 1 stone, 4 times). Base difficulty .
- Stage 2 (Twos): 2 sub-steps (scoop 2 stones, 2 times). Base difficulty .
- Stage 3 (Threes): 2 sub-steps (scoop 3 stones, then 1 stone). Base difficulty .
- Stage 4 (Fours): 1 sub-step (scoop all 4 stones at once). Base difficulty .
- Stage 5 (Gate): 4 sub-steps (flick 1 stone through gate, 4 times). Base difficulty .
R3. **Turn Execution:** Active agent attempts the current action for .
- [gap-fill] Probability of success:
- Sample .
- If (SUCCESS):
- If active stage has more sub-steps: . Agent continues active turn.
- If active stage is completed: .
- If : Agent wins immediately and the game terminates.
- If (FAULT):
- Agent 's turn ends immediately. State is retained. Turn passes to .
R4. **Disconnection / Timeout:** [gap-fill] If an agent times out, a fault is triggered and turn passes to the next player.
## Edge cases
- **Tie at the end condition:** Not applicable; turns are strictly sequential, and the first agent to complete Stage 5 wins immediately.
- **A player with no legal move:** Not applicable; an attempt action is mandatory and always available on an agent's turn.
- **Repetition / cycles:** Progress is non-decreasing ( never decrement). The state monotonically approaches the terminal state .
- **Simultaneous claims on the same resource or position:** Not applicable; turns rotate sequentially.
- **Player elimination mid-round / turn order repair:** If an agent drops out, they are removed from the rotation queue; the remaining agents continue in cyclic order.
- **Resource exhaustion:** The 5 pebbles are non-consumable and reset at the start of each player's turn.
- **Termination guarantee:** Because on every step and progress is monotonic, the game provably terminates in a finite number of turns with probability 1.
## State representation
- **Persistent state:**
- `active_player_idx`: Integer
- `player_stages`: Array of integers
- `player_substeps`: Array of integers
- `player_skills`: Array of floats
- **Observable information:** Fully observable state to all agents.
## Action space
- `attempt_scoop()`: Precondition: agent is active player and .
## Playability notes
- **Single-player-vs-AI:** Highly natural. Human player races against AI agents with adjustable motor skill parameters.
- **Group games (n>4):** Scales smoothly to any number of participants via turn rotation.
- **Physical-skill games:** The escalating physical coordination curve is mapped to step-by-step conditional probability chains.
- **What is lost in the adaptation:** The physical tactile pleasure of selecting smooth river pebbles and the split-second spatial coordination of hand maneuvers.
## Implementation hints
- Pure finite-state progression with Markov transitions.
- Total state space is tiny: states per player.
- First milestone: Implement the 5-stage progression loop for 1 player with 100% success rate, then plug in the stochastic sampler and turn rotation.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Five Stones (Kosovo). (n.d.). Games of Countries. https://gamesofcountries.com/games/xk-kosovo/peseguresh
@misc{gamesofcountries-xk-kosovo-peseguresh,
title = {Five Stones (Kosovo)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/xk-kosovo/peseguresh}
}