Formal Specification
Moroccan skipping rope rhymes — Formal Specification
Morocco · singing-circle · Confidence: medium
← Back to game pageImplementation 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 . 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 , where bottom contact occurs at . The jumper's physical motor execution is modeled as a timing-accuracy check: , coupled with a discrete gesture execution check.
- **Player/agent count:** 3 to 8 players ( as Turners, 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 .
- Base rotation frequency (1 rotation per second).
- Active jumper .
R2. **Choreography Routine (Rhythm Script):**
- A routine consists of an ordered list of sequential beat challenges: .
- Each challenge specifies:
- Required stance .
- Required gesture .
R3. **Jump Execution & Fault Resolution:**
- At each beat , jumper must submit action `execute_jump(timing, stance, gesture)`:
- Timing check: .
- Gesture check: Submitted stance and gesture must match challenge .
- Success probability: .
- **Fault Event:** If fails or timing exceeds tolerance:
- Jumper trips rope (`status = fault`).
- Active jumper is eliminated from current routine and swapped into Turner role ().
- Former turner joins the back of queue .
- Next jumper in begins their routine.
R4. **Progression & Scoring:**
- Successfully completing all challenges of a routine scores point and unlocks the next speed/height tier ().
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 ; 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 ().
- **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 , active turner IDs , current speed tier .
- **Per-beat ephemeral state:** Current beat index , rope angle , challenge descriptor .
- **Observable information:** Fully observable audio/visual beat prompt and rope phase.
## Action space
- `execute_jump(timestamp, stance, gesture)`:
- `timestamp`: Float (millisecond timing).
- `stance` .
- `gesture` .
- `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 ():** Standard queue rotation and turner role swaps.
- **Physical-skill games:** Physical cardio stamina and rhythmic precision abstracted into temporal error margins .
- **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 () 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 JSONCite 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}
}