Skip to main content
Formal Specification

Bahraini Hopscotch — Formal Specification

Bahrain · dexterity-small · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Al-Sakkina — AI-optimized specification ## General idea A grid-hopping dexterity and territory-acquisition game. Agents execute sequential hopping and precision foot-kicking maneuvers across a discrete linear grid, balancing kick power to avoid boundary line faults while competing to acquire private resting squares (houses). ## Formal model - **Abstraction taken:** The court is modeled as a 1D discrete track of 6 sequential squares plus a terminal Rest Area (`index 7`). Kicking the stone is modeled as a parameterized stochastic displacement check where landing on a boundary triggers a fault. - **Player/agent count:** `N` individual agents (`2 <= N <= 6`). - **Turn model:** Sequential turn-based progression. ## Formal rules R1. Grid Representation: - Squares `1..6`, and Rest Area `7`. - House ownership array: `houses: Array[6] of int` (initialized to `UNCLAIMED`). R2. Hopping Circuit Execution: - Active agent hops through squares `1 -> 2 -> ... -> 6 -> 7 -> 6 -> ... -> 1`. - For each square `i`: - Hopping restriction: If `houses[i] == UNCLAIMED` or `houses[i] == current_player`, agent hops on 1 foot. If `houses[i] == opponent_id`, agent must jump completely over square `i` to square `i+1`. - Kicking stone from square `i` to `i+1`: `P(clean_kick) = precision_skill * (0.90 - 0.05 * (houses_owned_by_opponents))`. [gap-fill] - If kick lands on boundary or wrong square: Turn ends immediately (fault). R3. House Acquisition Phase: - Upon completing a full outbound and inbound circuit without a fault: - Agent executes `throw_house_claim()`. - Stone lands in an unclaimed square `k ∈ [1..6]` with probability proportional to remaining open squares. - `houses[k] = current_player`. R4. Turn Management: - On fault, turn passes to next player. Player resumes on their next turn from current progress level. R5. Win Condition: - Game terminates when all 6 squares are claimed as houses. - Player with the highest count of owned houses wins. ## Edge cases - **Tie at the end condition:** If multiple players own an equal number of houses, a sudden-death single circuit playoff determines the winner. - **A player with no legal move:** An agent blocked by adjacent opponent houses must execute a multi-square jump with reduced success probability. - **Repetition / cycles:** Non-zero kick success probabilities ensure monotonic progress toward house claims. - **Simultaneous claims on houses:** Sequential turns prevent concurrent claims. - **Player elimination mid-round:** Players do not get eliminated. - **Resource exhaustion:** 6 finite squares; game ends deterministically when `sum(houses != UNCLAIMED) == 6`. - **Termination guarantee:** Guaranteed by finite square capacity. ## State representation - **Persistent state:** - `houses: Array[6] of int` (-1 for unclaimed, or player ID). - `player_progress: Array[N] of int` (current circuit stage). - `active_player: int`. - **Information set:** Perfect information, fully observable. ## Action space - `kick_stone_to_next_square()`: Precondition: active player turn. - `throw_house_claim()`: Precondition: completed full circuit. ## Playability notes - **Single-player-vs-AI:** Highly playable. Player manages risk on tight hopping kicks while competing with AI players for central grid territory. - **Group games:** Scales naturally for 2 to 6 players. - **Physical-skill model:** Single-leg balance and stone foot-control are parameterized by precision ratings. - **What is lost:** Chalk dust on fingers and balance wobbles on uneven cobblestones. ## Implementation hints Model as a discrete state track of 6 cells. Calculate jump difficulty dynamically based on the number of consecutive opponent-owned houses that must be cleared in a single hop.

Download as JSON

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

Download JSON
Cite this page

Bahraini Hopscotch (Bahrain). (n.d.). Games of Countries. https://gamesofcountries.com/games/bh-bahrain/al-sakkina

@misc{gamesofcountries-bh-bahrain-al-sakkina,
  title = {Bahraini Hopscotch (Bahrain)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/bh-bahrain/al-sakkina}
}