Skip to main content
Formal Specification

Sudanese Hopscotch — Formal Specification

Sudan · dexterity-small · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Al-Hajlah al-Sudaniya — AI-optimized specification ## General idea A sequential hopscotch progression game on an 8-box grid. Agents execute a stone pitch to target cells and navigate a single-leg hop course, earning stage advances on successful runs and purchasing restrictive "house" cells upon completing the full sequence. ## Formal model - **Abstraction taken:** Single-leg balance and stone toss accuracy are modeled as probabilistic functions of box stage difficulty and agent dexterity/balance attributes. - **Player/agent count:** 2 to 6 agents (sequential turns). - **Turn model:** Sequential; active agent continues attempting stages until a foul occurs. ## Formal rules R1. The grid consists of 8 cells arranged as: 1, 2 (single), (3,4) (wings), 5 (single), (6,7) (wings), 8 (apex). R2. Progress state per agent: `current_stage ∈ {1..8}`, `houses_owned ⊆ {1..8}`. R3. Stage Trial: - Step 1 (Toss): Agent throws marker into `current_stage`. Success probability Ptoss=0.85−0.03×current_stage+0.05×skill. - Step 2 (Hop): If toss succeeds, agent executes hop traversal. Success probability Phop=0.90−0.02×|opponent_houses|+0.05×balance. R4. Transition on Success / Foul: - If both toss and traversal succeed: `current_stage` increments by 1; agent immediately attempts the next stage. - If toss or traversal fails (foul): turn ends immediately; `current_stage` remains unchanged for the agent's next turn. R5. House Acquisition: - Upon completing Stage 8, agent executes a blind backward toss (Pblind=0.70). - On success, an unoccupied cell H∈{1..8}∖⋃houses becomes that agent's private `House`. R6. [gap-fill] Opponent Obstacle: Entering an opponent's House is illegal; leaping over it incurs a −0.10 penalty to Phop. R7. [gap-fill] Match Termination: Game terminates after 20 turn cycles. First agent to claim 3 Houses (or the agent with the highest stage progress at cycle 20) wins. ## Edge cases - Tie at the end condition: Highest stage progress breaks ties; if equal, a single sudden-death Stage 8 toss is played. - A player with no legal move: Action space is fixed; agent always attempts current stage toss. - Repetition / cycles: Bounded by the 20-cycle hard limit (R7). - Simultaneous claims on the same resource or position: Turns are strictly sequential; claimed houses are permanently assigned. - Player elimination mid-round; turn order repair: No mid-round elimination; fixed circular order. - Resource exhaustion (pieces, tokens, space, time): Only 8 grid cells exist; 20 cycles max. - Termination guarantee: Monotonic stage completion and finite 20-cycle bound. ## State representation - Persistent state: - `agent_states`: map of `agent_id` to `{stage: int in 1..8, houses: set[int]}`. - `active_agent_index`: integer in `0..n-1`. - `cycle_counter`: integer in `0..20`. - Observable information: Fully observable by all agents. ## Action space - `attempt_stage(stage_id)`: execute toss and hop for current stage. - `claim_house()`: execute blind house toss after stage 8. ## Playability notes - Single-player-vs-AI: Engine-ready; play as solitaire run or competitive race vs AI. - Group games (n>4): Parameterizes cleanly for arbitrary group sizes. - Physical-skill games: Motor jumping and line avoidance are parameterized as stochastic success rates. - What is lost in adaptation: The physical sensation of hopping on sun-warmed sand. ## Implementation hints Discrete state progression machine. First milestone: implement 8-stage sequence and turn transitions before implementing house ownership penalties.

Download as JSON

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

Download JSON
Cite this page

Sudanese Hopscotch (Sudan). (n.d.). Games of Countries. https://gamesofcountries.com/games/sd-sudan/al-hajlah-sudaniya

@misc{gamesofcountries-sd-sudan-al-hajlah-sudaniya,
  title = {Sudanese Hopscotch (Sudan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sd-sudan/al-hajlah-sudaniya}
}