Skip to main content
Formal Specification

Lebanese Hopscotch — Formal Specification

Lebanon · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Al-Qahlah — AI-optimized specification ## General idea The traditional Lebanese hopscotch street game (*Al-Qahlah* / *Al-Hajleh*). Players throw a flat marker (*Qahlah*) into numbered squares 1 to 8, hop on one foot through single squares, straddle double squares, rest at the "Heaven" (*Al-Raha*), retrieve the marker while balancing on one foot on the return path, and hop out cleanly. ## Formal model - **Court layout:** 8 numbered boxes B1…B8. Boxes 1, 2, 3, 6 are single; (4,5) and (7,8) are double straddle boxes. - **Player/agent count:** 2 to 5 individual players. - **Turn model:** Sequential attempts across stage levels S∈[1,8]. ## Formal rules R1. **Qahlah toss:** Player throws *Qahlah* into square BS. Must land strictly within lines. - P(throw_valid)=f(Skill(A),S). R2. **Hopping course:** - Player hops on one foot through court: 1 foot in single boxes, 2 feet straddle in double boxes. - Skips box BS containing the *Qahlah*. - Rests on both feet at (7,8) (*Al-Raha*), pivots 180 degrees, and hops back. R3. **Retrieval:** On return, player balances on one foot, picks up *Qahlah* from BS, hops through remaining squares, and exits court. R4. **Fault triggers:** Turn passes immediately to next player if: - *Qahlah* lands on a line or outside BS. - Hopper steps on any line or touches ground with non-hopping foot in single boxes. - Hopper loses balance or falls. R5. **Victory condition:** First player to clear all 8 levels wins the match. R6. [gap-fill] Max turn cycles:** 15 turn cycles per player maximum. ## Edge cases - **Tie at the end condition:** Fewest total faults determines winner if multiple players finish in the same round [gap-fill]. - **A player with no legal move:** Player always attempts active level. - **Repetition / cycles:** Monotonic level progression bounds repetition. - **Simultaneous claims:** Turn-queue resolution. - **Player elimination mid-round:** Not applicable. - **Resource exhaustion:** Fixed 8-box court. - **Termination guarantee:** Provably terminates via monotonic progression and 15-cycle limit. ## State representation - **Persistent state:** `level_progress: Dict[PlayerID, int \in [1,8]]`, `fault_counts: Dict[PlayerID, int]`. - **Ephemeral state:** `active_player: PlayerID`, `marker_box: int`, `hopper_box: int`. - **Observable information:** Fully observable state. ## Action space - `throw_qahlah(target_box)`: Toss marker. - `hop_step(from_box, to_box)`: Hopping displacement. - `pick_up_marker()`: Single-leg balance retrieval. ## Playability notes - **Single-player-vs-AI:** Operates as a progressive balance/accuracy skill game. - **Group games (n>4):** Scales cleanly as a turn-based queue. - **Physical-skill games:** Hopping balance and toss precision abstracted to difficulty-scaled probabilities. - **What is lost:** Chalk markings on Beirut asphalt and joyful street banter. ## Implementation hints Discrete state machine with an array of box types and player progression counters.

Download as JSON

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

Download JSON
Cite this page

Lebanese Hopscotch (Lebanon). (n.d.). Games of Countries. https://gamesofcountries.com/games/lb-lebanon/al-qahlah

@misc{gamesofcountries-lb-lebanon-al-qahlah,
  title = {Lebanese Hopscotch (Lebanon)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lb-lebanon/al-qahlah}
}