Skip to main content
Formal Specification

Libyan Leapfrog Vaulting — Formal Specification

Libya · chase-tag · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 2
# Nattat al-Hmar Libiya — AI-optimized specification ## General idea A round-based physical challenge game where vaulter agents attempt to leap over a central base agent while meeting escalating difficulty modifiers (height increase, single-hand support, item placement/retrieval). A failed vault replaces the base agent with the offending vaulter. ## Formal model - **Abstraction taken:** Physical acrobatic vaulting, height clearance, and vocal chant execution are abstracted into stage-specific success probabilities parameterized by agent Agility `Agi in [0, 100]` and Strength `Str in [0, 100]`. - **Player/agent count:** 1 Base agent + `M` Vaulter agents (default `M = 4`, total 5 agents). - **Turn model:** Sequential queue of vaulters attempting the active stage. A round completes when all `M` vaulters attempt the stage. ## Formal rules R1. Setup: Agent 0 is designated `Base`. Agents 1 to `M` are placed in `Queue`. Active stage `Stage = 1`, `RoundNum = 1`. R2. Stage Multipliers & Constraints: - Stage 1 (Low Span): Base height low (`H = 0.8m`). Base success `P_base = 0.95`. - Stage 2 (Single Hand): Single-hand contact. Base success `P_base = 0.85`. - Stage 3 (Item Drop): Balance item on back. Base success `P_base = 0.75`. - Stage 4 (Item Retrieval): Retrieve item during leap. Base success `P_base = 0.65`. - Stage 5 (Standing Height): Base height high (`H = 1.3m`). Base success `P_base = 0.50`. R3. Execution on Turn: - Active vaulter `i` executes `attempt_vault(Stage)`. - Success probability: `P_vault = P_base * (Agi_i / 100)`. - If successful, vaulter earns `+1 point` and joins the back of `Queue`. - If failed (`Fault`): Vaulter `i` transitions to `Base`, previous `Base` joins `Queue`, and `Stage` resets to 1. R4. Stage Advance: If all `M` vaulters clear the active `Stage` without fault, `Stage` increments by 1. R5. [gap-fill] Win Condition: A match terminates after 10 complete stage-cycles or 30 total turns. The agent with the highest individual point tally wins. ## Edge cases - Tie at the end condition: [gap-fill] If point totals are tied after 30 turns, the tied agent who spent the fewest turns as `Base` wins. - A player with no legal move: Not applicable; vault attempt is always valid. - Repetition / cycles: Bounded strictly by the 30-turn maximum limit. - Simultaneous claims on the same resource or position: Sequential queue order prevents simultaneous leaps. - Player elimination mid-round; turn order repair: Role swaps seamlessly swap identities between `Base` and `Queue[i]`. - Resource exhaustion: Monotonically decaying turn counter. - Termination guarantee: Enforced by the 30-turn hard cap. ## State representation - Persistent state: `base_agent_id: int`, `queue: List[int]`, `stage: int in [1..5]`, `scores: Array[N][int]`, `turn_count: int in [1..30]`. - Ephemeral state: `active_attempt_success: bool`. - Observability: Complete, perfect public information. ## Action space - `attempt_vault()`: Standard vault execution. ## Playability notes - Single-player-vs-AI: Playable as a survival stage-climbing challenge against AI peers. - Group games (n>4): Naturally scales to any number of vaulters in queue. - Physical-skill games: Dynamic leap mechanics modeled via clear probabilistic coefficients. - What is lost: The laughter of Libyan children vaulting outdoors in the Mediterranean sunshine. ## Implementation hints Queue-based state machine. First milestone: implement queue rotation, stage advancement upon universal success, and base role swaps upon failure.

Download as JSON

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

Download JSON
Cite this page

Libyan Leapfrog Vaulting (Libya). (n.d.). Games of Countries. https://gamesofcountries.com/games/ly-libya/nattat-al-hmar-libya

@misc{gamesofcountries-ly-libya-nattat-al-hmar-libya,
  title = {Libyan Leapfrog Vaulting (Libya)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ly-libya/nattat-al-hmar-libya}
}