Formal Specification
Ristanc (Slovenian Hopscotch) — Formal Specification
Slovenia · dexterity-small · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Ristanc — AI-optimized specification
## General idea
A sequential level-progression agility game on a discrete 1D/2D geometrical graph with 8 nodes. Agents throw a token into incrementing target nodes, execute a sequence of single-foot and double-foot graph traversals while skipping the token node, retrieve the token, and complete the circuit to claim node ownership.
## Formal model
- **Abstraction taken:** The hopscotch grid is modeled as a connected graph with nodes and node types: , . Physical hops and stone tosses are modeled via success probabilities conditioned on agent dexterity and balance.
- **Player/agent count:** agents (, with ).
- **Turn model:** Strictly sequential turn order with level progress state.
## Formal rules
R1. State Setup:
- Graph with 8 nodes. Each agent tracks level .
- Turn queue in fixed round-robin order.
R2. Token Throw:
- Active agent attempts to throw token into target node .
- Throw success probability .
- If throw fails (lands on line or wrong node), turn ends immediately; level remains unchanged.
R3. Graph Traversal:
- If throw succeeds, agent traverses path :
- In SINGLE nodes: 1 foot stance. .
- In PAIRED nodes: 2 feet split stance.
- Node MUST be skipped (agent hops over it).
- Claimed "house" nodes of other agents MUST be skipped.
- If any balance check fails, turn ends immediately; remains unchanged.
R4. Retrieval and Level Advance:
- On return traversal, agent pauses at node adjacent to , retrieves token (), and hops out through base.
- If complete run succeeds without faults: .
R5. House Claiming and Victory:
- [gap-fill] When an agent completes level 8, they blind-toss token to claim a node as their "House".
- First agent to complete level 8 and claim a house wins the game.
## Edge cases
- Tie at the end condition: Not applicable; turns are sequential; first agent to complete level 8 wins immediately.
- A player with no legal move: Hop action sequence is deterministically defined by graph topology.
- Repetition / cycles: [gap-fill] Bounded by maximum total rounds ; if no agent completes level 8, agent with highest level wins.
- Simultaneous claims on the same resource or position: Grid is occupied by one agent at a time during traversal.
- Player elimination mid-round; turn order repair: If an agent disconnects, their index is skipped; claimed houses revert to neutral.
- Resource exhaustion: Graph structure and token are non-consumable.
- Termination guarantee: Monotonically advancing level integer with strictly positive success probability per turn guarantees finite termination.
## State representation
- Persistent state: `agent_levels: dict[int, int]`, `claimed_houses: dict[int, int]`, `active_agent_idx: int`, `round_count: int`.
- Ephemeral turn state: `target_node: int`, `token_valid: bool`, `traversal_step: int`.
- Observable information: Fully observable (all levels, house ownerships, and grid states are public).
## Action space
- `throw_token(target_node: int)`: Dexterity throw action.
- `execute_hop(node_id: int, stance: enum[SINGLE, PAIRED])`: Graph step action.
- `retrieve_token()`: Pickup action.
## Playability notes
- Single-player-vs-AI: Natural as a solo dexterity puzzle or multi-agent race.
- Group games (n>4): Natively scales up to 6 agents with sequential turn sharing.
- Physical-skill games: Motor accuracy parameterized by and hop stability functions.
- What is lost: Physical chalk drawing, outdoor pavement scuffs, real one-legged muscle fatigue.
## Implementation hints
Discrete finite state machine with graph traversal validation. First milestone: implement 1v1 deterministic hop sequence with level incrementing before adding stochastic balance checks.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Ristanc (Slovenian Hopscotch) (Slovenia). (n.d.). Games of Countries. https://gamesofcountries.com/games/si-slovenia/ristanc
@misc{gamesofcountries-si-slovenia-ristanc,
title = {Ristanc (Slovenian Hopscotch) (Slovenia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/si-slovenia/ristanc}
}