Skip to main content
Formal Specification

The Omani Hunter (Dodgeball Variant) — Formal Specification

Oman · ball-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 1
# Al-Sayyad — AI-optimized specification ## General idea A team dodgeball evasion game on a 3-zone linear court. Two stationary end-zone Hunters coordinate cross-fire throws to eliminate central Evaders, while Evaders balance evasion against the high-reward opportunity of catching throws to accumulate extra lives. ## Formal model - **Abstraction taken:** Court is modeled as a 2D coordinate rectangle `[-7.5, 7.5] x [-4.0, 4.0]`. Central zone is `x ∈ [-5.0, 5.0]`. Hunters are fixed at `x = -6.5` and `x = 6.5`. Simulation runs on discrete ticks (`0.25s`). - **Player/agent count:** Team 0 = 2 Hunters, Team 1 = `K` Evaders (`3 <= K <= 7`). - **Turn model:** Real-time ticked simulation. ## Formal rules R1. Court Topology: - Central evasion zone: `x ∈ [-5.0, 5.0]`, `y ∈ [-4.0, 4.0]`. - End zones: Hunter A at `x = -6.5`, Hunter B at `x = 6.5`. R2. Hunter Throwing Mechanics: - Hunter in possession executes `throw_ball(target_y, speed)` toward opposite end zone. - Ball travels as a linear trajectory segment across the central zone. R3. Evader Actions & Contact Resolution: - Evaders execute `dodge_move(dx, dy)` up to max speed. - If ball trajectory intersects an evader's bounding box: - Evader may declare `attempt_catch()`: - Catch probability: `P(catch) = max(0.1, catch_skill * (1.0 - ball_speed / 20.0))`. [gap-fill] - If catch succeeds: Ball is caught; Evader earns `+1 extra_life` (or revives eliminated teammate); ball returns to nearest Hunter. - If catch fails (or no catch attempted): Evader is hit. - If `extra_lives > 0`: Consumes 1 extra life, evader survives. - If `extra_lives == 0`: Evader is eliminated and removed from court. R4. Boundary Violations: - Evader leaving `x ∈ [-5.0, 5.0], y ∈ [-4.0, 4.0]` is eliminated immediately. R5. Round Win & Inversion: - Round ends when all Evaders are eliminated. Survival duration `T_survival` recorded. - Teams swap roles. Team with longer survival duration wins match. ## Edge cases - **Tie at the end condition:** Broken by longer survival time in ticks. - **A player with no legal move:** Evaders always retain 2D movement options. - **Repetition / cycles:** Rapid cross-fire throws ensure monotonic evader eliminations within 300 seconds. - **Simultaneous claims on ball catch:** Resolved by closest evader to ball ray. - **Player elimination mid-round:** Eliminated evaders leave the court immediately. - **Resource exhaustion:** Extra lives are finite and consumable. - **Termination guarantee:** Guaranteed by finite evasion area and non-zero hit probabilities. ## State representation - **Persistent state:** - `survival_times: Tuple[float, float]`. - `active_evader_team: int`. - **Ephemeral round state:** - `ball_pos: Vector2D`, `ball_vel: Vector2D`. - `ball_carrier: Optional[int]`. - `evader_positions: Array[K] of Vector2D`. - `evader_lives: Array[K] of int`. - `evader_active: Array[K] of bool`. - `tick_counter: int`. - **Information set:** Fully observable common knowledge. ## Action space - `hunter_throw(aim_y: float, speed: float)`: Cross-court throw. - `evader_dodge(vector: Vector2D)`: Evasion movement. - `attempt_catch()`: High-risk catch attempt upon ball intercept. ## Playability notes - **Single-player-vs-AI:** Highly engaging as an evader dodging cross-fire throws or as a Hunter coordinating timing traps with an AI partner. - **Group games:** Scales naturally up to 7 evaders. - **Physical-skill model:** Ball speed, ducking reflexes, and catch timing are mapped to parameterized physics checks. - **What is lost:** Physical sting of rubber ball impacts and sand sliding. ## Implementation hints Implement ball trajectory as a 2D line segment swept across discrete time ticks with bounding-box collision detection.

Download as JSON

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

Download JSON
Cite this page

The Omani Hunter (Dodgeball Variant) (Oman). (n.d.). Games of Countries. https://gamesofcountries.com/games/om-oman/al-sayyad

@misc{gamesofcountries-om-oman-al-sayyad,
  title = {The Omani Hunter (Dodgeball Variant) (Oman)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/om-oman/al-sayyad}
}