Skip to main content
Formal Specification

Aerial Kite Duel / Kite Cutting — Formal Specification

Pakistan · kite · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Patang Bazi — AI-optimized specification ## General idea A two-agent real-time aerial dogfight game where each agent pilots an agile, unstable single-string fighter kite. Once the flight strings cross (*Pehcha*), both agents choose between two complementary tactile maneuvers—a high-tension pull strike (*Kheench*) or a low-tension feed release (*Dheel*)—under dynamic wind and contact-angle conditions. The duel ends decisively when one line's structural integrity is worn to zero. ## Formal model - **Abstraction taken:** 3D aero-elastic kite physics is abstracted into a 2D spherical coordinate system `(theta, phi, length)` representing kite position in the wind cone, coupled with a line contact friction simulation. - **Player/agent count:** 2 agents (`Flier_A`, `Flier_B`). - **Turn model:** Discrete simulation ticks `Delta_t = 0.2` seconds. ## Formal rules R1. Setup: Both kites start airborne at altitude `h = 100` meters with string integrity `health_A = 100`, `health_B = 100`. Line tension `T_A = 1.0`, `T_B = 1.0`. R2. On each tick prior to entanglement: - Agents adjust steering angle `alpha in [-180, 180]` and line feed `dL/dt in [-2.0, 2.0]` m/s. - Kite position updates in the wind window. R3. Line crossing (*Pehcha*): When distance between string segments `dist(line_A, line_B) <= 0.2` meters, entanglement initiates (`entangled = True`) at contact point `(x_c, y_c, z_c)`. R4. Combat mechanics during entanglement: - In each tick, each agent selects combat mode: `kheench` (pull, high tension `T = 3.0`, high relative line speed) or `dheel` (feed, low tension `T = 0.5`, aerodynamic drift). - Line damage rate per tick: `damage_A = f(T_B, speed_B, glass_coating_B, contact_angle) / line_durability_A` `damage_B = f(T_A, speed_A, glass_coating_A, contact_angle) / line_durability_B` - `health_A -= damage_A`, `health_B -= damage_B`. R5. Win / Loss condition: - If `health_A <= 0` and `health_B > 0`: Kite A is severed (*Bo-Kata*); Flier B wins the duel. - If `health_B <= 0` and `health_A > 0`: Kite B is severed; Flier A wins the duel. R6. [gap-fill] Simultaneous break: If both lines reach 0 health on the exact same tick, the agent whose kite was in the superior geometric position (higher altitude) is awarded the win. R7. [gap-fill] Wind limits: Wind vector `W` evolves according to a low-frequency random walk; maximum duel duration is capped at 300 ticks (60 seconds). If untangled after 300 ticks, match restarts. ## Edge cases - **Tie at the end condition:** Handled by geometric height tie-breaker in R6. - **A player with no legal move:** Steering and line feed actions always have valid continuous ranges. - **Repetition / cycles:** Line health strictly decreases monotonically during entanglement (`damage > 0`), guaranteeing termination of the combat phase. - **Simultaneous claims on the same resource or position:** Line contact point is unique in 3D Euclidean space. - **Player elimination mid-round:** 1v1 duel terminates immediately on line severing. - **Resource exhaustion:** Line health drains to zero. - **Termination guarantee:** Guaranteed by monotonic damage accumulation during entanglement and finite round clock (R7). ## State representation - **Persistent state:** `scores[A, B]`, `match_id`. - **Per-tick ephemeral state:** Coordinates `(x, y, z)` and string curves for both kites, line tensions `(T_A, T_B)`, string integrity `(health_A, health_B)`, `entangled_flag`, `combat_mode[A, B]`. - **Observable information:** Wind vector, opponent kite position, and visual line crossing angle are public; exact hidden state is opponent's real-time line tension choice. ## Action space - `pilot_kite(steer_angle, line_rate)`: Pre-entanglement positioning. - `execute_combat_mode(mode in {kheench, dheel})`: Combat tactic during entanglement. ## Playability notes - **Single-player-vs-AI:** Natural; human player steers kite into position and judges when to yank (*Kheench*) or release slack (*Dheel*) against AI tactical adaptation. - **Group games (n>4):** Reduces to a pairwise duel scheduler across a multi-agent rooftop arena. - **Physical-skill games:** Finger line tension feeling and aerodynamic lift flutter are parameterized via the line damage equations. - **What is lost:** The tactile pull of the string cutting into bare fingers, the rooftop breeze, and the communal roar of *"Bo-Kata!"* echoing across the old city. ## Implementation hints Low-to-medium complexity. The critical module is the line damage formula modeling the asymmetric interaction between `kheench` (high speed abrasion) and `dheel` (aerodynamic slicing shear) under varying crossing angles.

Download as JSON

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

Download JSON
Cite this page

Aerial Kite Duel / Kite Cutting (Pakistan). (n.d.). Games of Countries. https://gamesofcountries.com/games/pk-pakistan/patang-bazi

@misc{gamesofcountries-pk-pakistan-patang-bazi,
  title = {Aerial Kite Duel / Kite Cutting (Pakistan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/pk-pakistan/patang-bazi}
}