Skip to main content
Formal Specification

Emirati One-Legged Hopping Chase — Formal Specification

Uae · chase-tag · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 1
# Al-Karabi — AI-optimized specification ## General idea A single-leg hopping pursuit and evasion game. Chasers move with asymmetrical speed and turning penalties due to one-legged hopping mechanics, while managing fatigue and stability checks to tag mobile quarry on a 2D sand arena. ## Formal model - **Abstraction taken:** The 12x12 meter sand arena is modeled as a 2D coordinate space with boundaries. Movement is updated in discrete ticks (`0.5s`). Hopping agents have half maximum forward velocity and an active stability parameter `S ∈ [0..100]` that decays during rapid direction changes or collisions. - **Player/agent count:** 2 teams of `K` agents (`2 <= K <= 6`). Team 0 = Chasers (hopping on 1 leg), Team 1 = Runners. - **Turn model:** Simultaneous real-time ticked execution. ## Formal rules R1. Arena Dimensions: - Sand arena: Circular radius `R = 6.0m` centered at `(0, 0)`. - Round duration: `max_ticks = 240` (`120 seconds`). R2. Agent Kinematics & Posture: - **Chasers:** Speed capped at `v_hop = 2.5 m/s`. Each tick, chaser consumes 0.5 stamina. Turning angle `> 45°` incurs a stability check: `P(slip) = max(0.02, (100 - stamina) * 0.005)`. [gap-fill] If slip occurs, chaser falls and is immobilized for 4 ticks. - **Runners:** Speed capped at `v_run = 4.0 m/s`. Stamina drains at 0.3/tick. R3. Tagging & Contact Mechanics: - Tag attempt: If `dist(chaser, runner) <= 1.0m` and chaser executes `tag_runner(runner_id)`: - Tag success probability: `P(tag) = max(0.2, (stamina_chaser / 100.0) * (1.0 - dist / 1.0))`. - If tag succeeds: Target runner is eliminated and removed from play. R4. Boundary Violations: - If `dist(agent_pos, (0, 0)) > 6.0m`, agent is eliminated immediately for out-of-bounds. R5. Win Conditions: - **Chaser Victory:** All runners eliminated before `max_ticks` expires (+1 point). - **Runner Victory:** At least one runner survives when `max_ticks` reaches 240 (+1 point). ## Edge cases - **Tie at the end condition:** Evaluated strictly by runner survival boolean at tick 240. - **A player with no legal move:** Trapped runners always possess movement vector options. - **Repetition / cycles:** Bounded by strict tick countdown (240 ticks). - **Simultaneous claims on tag:** Earliest tick resolution or lower agent ID breaks ties. - **Player elimination mid-round:** Tagged runners are deactivated immediately; round continues. - **Resource exhaustion:** Stamina depletes toward 0, severely lowering maximum speed. - **Termination guarantee:** Guaranteed by finite tick limit. ## State representation - **Persistent state:** - `match_scores: Tuple[int, int]`. - `round_number: int`. - **Ephemeral round state:** - `tick: int` (0..240). - `agent_positions: Array[2 * K] of Vector2D`. - `agent_stamina: Array[2 * K] of float`. - `agent_active: Array[2 * K] of bool`. - `chaser_immobilized_until: Array[K] of int`. - **Information set:** Fully observable common knowledge. ## Action space - `hop_move(target_vector: Vector2D)`: Precondition: chaser active and not immobilized. - `run_move(target_vector: Vector2D)`: Precondition: runner active. - `tag_runner(target_id: int)`: Precondition: chaser adjacent to active runner. - `hold()`: Remain in position. ## Playability notes - **Single-player-vs-AI:** Highly playable. Player controls lead runner dodging AI hopping pursuit swarms. - **Group games:** Scales naturally from 2v2 to 6v6. - **Physical-skill model:** Leg power and sand balance are parameterized by stamina and stability decay. - **What is lost:** Tactile sand friction and physical momentum transfers. ## Implementation hints Keep collision and boundary checks in continuous coordinates before applying tag resolutions at end of tick.

Download as JSON

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

Download JSON
Cite this page

Emirati One-Legged Hopping Chase (Uae). (n.d.). Games of Countries. https://gamesofcountries.com/games/ae-uae/al-karabi

@misc{gamesofcountries-ae-uae-al-karabi,
  title = {Emirati One-Legged Hopping Chase (Uae)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ae-uae/al-karabi}
}