Skip to main content
Formal Specification

Kuwaiti Top-Spinning Battle — Formal Specification

Kuwait · top-spinning · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Al-Dawama — AI-optimized specification ## General idea A projectile spinning-top combat and endurance game. Agents manage launch trajectory, rotational kinetic energy (spin RPM), and ring placement to outlast rival tops in spin duration or execute destructive collision strikes. ## Formal model - **Abstraction taken:** The 2.5m circular arena is modeled in 2D coordinates. Each top possesses spatial coordinates `(x, y)`, angular velocity `omega (RPM)`, and structural durability `D ∈ [0..100]`. Rotational friction monotonically decays `omega` over time. - **Player/agent count:** `N` agents (`2 <= N <= 8`). - **Turn model:** Round-based model with simultaneous initial launch followed by discrete collision resolution ticks (`0.2s`). ## Formal rules R1. Launch Phase: - Agent selects target landing coordinate `(x_t, y_t)` and launch power `p ∈ [0.5..1.0]`: `launch_top(x_t, y_t, power)`. - Landing accuracy: `(x_land, y_land) = (x_t + noise_x, y_t + noise_y)` where `noise ~ Normal(0, sigma(aim_skill))`. - Initial spin RPM: `omega_0 = power * 3000.0 * launch_skill`. [gap-fill] - If `dist((x_land, y_land), (0, 0)) > 1.25m`: Top lands outside ring, score = 0 (Dead top). R2. Spin Decay & Movement: - In each simulation tick: - `omega = omega - friction_rate * dt`. - Slight gyroscopic drift: `(x, y) += random_walk(omega)`. - If `omega <= 50.0`: Top topples over, declared stopped. R3. Collision Mechanics: - If two active tops are separated by `dist < 0.15m`: - Collision impulse transfers momentum: `P(knockout) = abs(omega_1 - omega_2) / 3000.0`. [gap-fill] - Opponent top pushed outward by collision vector. - If opponent pushed outside ring (`dist > 1.25m`), attacker scores +1 point. R4. Win Conditions: - **Endurance Mode:** Last spinning top remaining inside the ring wins the round (+1 point). - **Battle Mode:** Most points accumulated after `R = 5` rounds wins the match. ## Edge cases - **Tie at the end condition:** Broken by longest individual round spin time. - **A player with no legal move:** Launch parameters are always valid. - **Repetition / cycles:** Spin RPM strictly decreases monotonically, ensuring round ends within 60 seconds. - **Simultaneous collision resolutions:** Momentum exchange is evaluated symmetrically. - **Player elimination mid-round:** Stopped tops remain stationary on the arena floor as obstacles. - **Resource exhaustion:** Finite round count (5). - **Termination guarantee:** Guaranteed by physical friction decay on rotational energy. ## State representation - **Persistent state:** - `match_scores: Array[N] of int`. - `round_number: int`. - **Ephemeral round state:** - `top_pos: Array[N] of Vector2D`. - `top_rpm: Array[N] of float`. - `top_active: Array[N] of bool`. - `tick_counter: int`. - **Information set:** Perfect information, fully observable. ## Action space - `launch_top(target_pos: Vector2D, power: float)`: Initial launch intent. - `strike_attack(target_agent_id: int, power: float)`: Targeted aggressive drop. ## Playability notes - **Single-player-vs-AI:** Highly playable. Player chooses between safe high-spin perimeter placement or risky central strikes on opponent tops. - **Group games:** Scales naturally for 2 to 8 players. - **Physical-skill model:** String-whip torque and launch ballistics are parameterized by launch power and accuracy distributions. - **What is lost:** Whirring acoustic hum of carved hardwood tops and physical wood chipping. ## Implementation hints Implement monotonic decay on `omega` (`RPM`). Collision resolver should evaluate relative velocity and mass to determine displacement trajectories.

Download as JSON

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

Download JSON
Cite this page

Kuwaiti Top-Spinning Battle (Kuwait). (n.d.). Games of Countries. https://gamesofcountries.com/games/kw-kuwait/al-dawama

@misc{gamesofcountries-kw-kuwait-al-dawama,
  title = {Kuwaiti Top-Spinning Battle (Kuwait)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/kw-kuwait/al-dawama}
}