Skip to main content
Formal Specification

Moroccan skipping rope rhymes — Formal Specification

Morocco · singing-circle · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Natt el-Hbal — AI-optimized specification ## General idea A rhythm-action timing and choreography game. A rotating rope sweeps through a 2D vertical plane at frequency ω(t). The active jumper must execute precise temporal jump inputs coinciding with the bottom dead-center of the rope sweep while simultaneously executing discrete song-prompted gestures (ground touch, spin, single-leg hop) without error. ## Formal model - **Abstraction taken:** The continuous physical rotation of the rope is modeled as a cyclic phase variable θ(t)=(ω⋅t)(mod2π), where bottom contact occurs at θ=π. The jumper's physical motor execution is modeled as a timing-accuracy check: Δt=|tjump−tground_pass|≤τtolerance, coupled with a discrete gesture execution check. - **Player/agent count:** 3 to 8 players (T0,T1 as Turners, J1…JK as Jumpers in queue). - **Turn model:** Sequential jumper execution across escalating song routines. ## Formal rules R1. **Setup & Queue Order:** - 2 turners assigned to hold rope; queue of jumpers Q=[J1,…,JK]. - Base rotation frequency ω0=1.0 Hz (1 rotation per second). - Active jumper Jactive=Q[0]. R2. **Choreography Routine (Rhythm Script):** - A routine consists of an ordered list of M sequential beat challenges: C=[c1,c2,…,cM]. - Each challenge ck specifies: - Required stance ∈{two_foot,one_foot,cross_leg}. - Required gesture ∈{none,touch_ground,spin_360,curtsy}. R3. **Jump Execution & Fault Resolution:** - At each beat k, jumper must submit action `execute_jump(timing, stance, gesture)`: - Timing check: |timing−tk|≤τwindow. - Gesture check: Submitted stance and gesture must match challenge ck. - Success probability: P(pass)=f(timing_accuracy,gesture_difficulty,jumper_agility). - **Fault Event:** If P(pass) fails or timing exceeds tolerance: - Jumper trips rope (`status = fault`). - Active jumper is eliminated from current routine and swapped into Turner role (Jactive→T0). - Former turner T0 joins the back of queue Q. - Next jumper in Q begins their routine. R4. **Progression & Scoring:** - Successfully completing all M challenges of a routine scores +1 point and unlocks the next speed/height tier (ω←ω×1.25). R5. **Victory Condition:** - [gap-fill] The first jumper to complete 3 consecutive routine tiers without fault wins the match. ## Edge cases - **Tie at the end condition:** Not applicable — routine completion occurs on an individual's turn. - **A player with no legal move:** Submitting a jump/stance input is always legal on every rhythmic beat. - **Repetition / cycles:** Bounded by increasing speed frequency ω(t); stochastic error rate strictly increases as ω increases, guaranteeing faults occur within finite cycles. - **Simultaneous claims on the same resource or position:** Only one active jumper occupies the rope loop at a time. - **Player elimination mid-round; turn order repair:** Handled strictly by R3: faulting jumper rotates to Turner, and queue shifts (Q←Q[1:]+[T0]). - **Resource exhaustion:** Exactly 1 rope and fixed player queue. - **Termination guarantee:** Guaranteed by finite target score (3 tiers) and strictly increasing error rate under speed escalation. ## State representation - **Persistent state:** Score per player, queue list Q, active turner IDs (T0,T1), current speed tier ω. - **Per-beat ephemeral state:** Current beat index k∈[1,M], rope angle θ(t), challenge descriptor ck. - **Observable information:** Fully observable audio/visual beat prompt and rope phase. ## Action space - `execute_jump(timestamp, stance, gesture)`: - `timestamp`: Float (millisecond timing). - `stance` ∈{two_foot,left_foot,right_foot,cross}. - `gesture` ∈{none,touch_ground,spin_360,curtsy}. - `exit_rope()`: Sprint out of loop on final beat. ## Playability notes - **Single-player-vs-AI:** Natural rhythm-game mechanic: player times keypresses to an on-screen visual/auditory beat indicator matching song lyrics. - **Group games (N>4):** Standard queue rotation and turner role swaps. - **Physical-skill games:** Physical cardio stamina and rhythmic precision abstracted into temporal error margins τwindow. - **What is lost in the adaptation:** The joyous communal singing voices, clapping rhythms, and playground laughter. ## Implementation hints - Implement as a discrete rhythm beat clock with a time-window threshold (±100ms) checking player inputs against a deterministic song timeline. - First milestone: Implement single-jumper 8-beat routine with basic spacebar jump timing before adding multi-stance gestures and queue swapping.

Download as JSON

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

Download JSON
Cite this page

Moroccan skipping rope rhymes (Morocco). (n.d.). Games of Countries. https://gamesofcountries.com/games/ma-morocco/natt-el-hbal

@misc{gamesofcountries-ma-morocco-natt-el-hbal,
  title = {Moroccan skipping rope rhymes (Morocco)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ma-morocco/natt-el-hbal}
}