Skip to main content
Formal Specification

Egyptian Kite Battling — Formal Specification

Egypt · kite · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# El-Tayyara El-Waraq — AI-optimized specification ## General idea An aerial combat and line-tension management game. Two agents control airborne kites in a shared wind field, maneuvering for positional altitude advantage and line-crossing intersection. Once crossed, agents choose tension/spooling rates to execute cutting abrasion on the opponent's line while preserving their own line integrity. ## Formal model - **Abstraction taken:** Aerodynamic lift, line drag, and abrasive glass-coating wear are modeled in a 3D coordinate space (x,y,z) with altitude z≥0, angle of attack θ, line length L, and line health H∈[0,100]. - **Player/agent count:** 2 agents per duel. - **Turn model:** Synchronous discrete simulation ticks (e.g., 200ms per tick). ## Formal rules R1. Setup: Both kites start airborne at z=50 m, line length L=80 m, line health HA=100,HB=100. Wind vector is 𝐖=(wx,wy,0)+𝛈t with stochastic gust noise 𝛈t∼𝒩(0,σw2). R2. On each tick, both agents select an action from: - `REEL_IN(rate)`: reduces L by `rate`, increases tension T and altitude z. - `RELEASE_SLACK(rate)`: increases L by `rate`, induces diving tilt angle θ. - `STEER(direction)`: alters lateral angle (x,y). R3. Line Crossing Detection: - Line segments from ground anchors (x0,y0,0) to kite positions (x,y,z) are evaluated for 3D segment intersection / minimal clearance. - If clearance d(LA,LB)<ϵ, a `LINE_CROSS` event occurs. R4. Abrasion & Cutting Resolution (during `LINE_CROSS`): - Whichever kite has superior altitude (ztop>zbottom) exerts top-down cutting leverage. - Abrasion damage per tick: ΔHvictim=kabrasion×Ttop×vreel×(1+skilltop) ΔHattacker=0.2×ΔHvictim R5. Severing & Victory: - If Hi≤0, agent i's line is severed (`KITE_ADRIFT`). The surviving agent wins immediately (+10 points). - If a kite's altitude drops to z≤0 (ground crash), the crashing agent loses. R6. [gap-fill] Turn Limit: Maximum 150 ticks per duel. If tick 150 is reached with both kites intact, the agent with higher remaining line health H wins. ## Edge cases - Tie at the end condition: If both lines reach H≤0 on the exact same tick, the duel is declared a mutual cut draw (0 points each). - A player with no legal move: Flight actions `REEL_IN`, `RELEASE_SLACK`, `STEER` are always available within physical spool limits. - Repetition / cycles: Bounded by the 150-tick hard limit (R6). - Simultaneous claims on the same resource or position: Handled smoothly by 3D geometric line distance calculation and continuous damage integration. - Player elimination mid-round; turn order repair: Duel concludes instantly upon any line severing. - Resource exhaustion (pieces, tokens, space, time): Spool line length is bounded [10 m,200 m]; ticks capped at 150. - Termination guarantee: Monotonic line health decay under crossing contact and 150-tick hard cutoff. ## State representation - Persistent state: `match_scores`: `{AGENT_A: int, AGENT_B: int}`. - Per-tick state: - `kite_A`: `{pos: (x,y,z), line_len: float, tension: float, health: float}`. - `kite_B`: `{pos: (x,y,z), line_len: float, tension: float, health: float}`. - `wind_vector`: `(w_x, w_y)`. - `is_crossed`: boolean. - `tick_counter`: integer in `0..150`. - Observable information: Both kite 3D positions, line lengths, line health, and wind vector are public. ## Action space - `act(type, param)`: `type ∈ {REEL_IN, RELEASE_SLACK, STEER}`, `param ∈ [-1.0, 1.0]`. ## Playability notes - Single-player-vs-AI: Engine-ready; play as flyer balancing altitude and tension against AI dogfighter. - Group games (n>4): Generalizes to multi-kite airspace melee where any pairwise crossing triggers cutting checks. - Physical-skill games: Aerodynamic line feel and wind reading are mapped into continuous vector physics with noisy gusts. - What is lost in adaptation: The physical spool burns on fingers and the visual spectacle of Cairo rooftop skylines. ## Implementation hints 3D point-mass aerodynamic simulation with line segment distance checks. First milestone: implement 3D kite lift-drag equation and verify stable equilibrium flight before adding line-crossing abrasion logic.

Download as JSON

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

Download JSON
Cite this page

Egyptian Kite Battling (Egypt). (n.d.). Games of Countries. https://gamesofcountries.com/games/eg-egypt/el-tayyara-el-waraq

@misc{gamesofcountries-eg-egypt-el-tayyara-el-waraq,
  title = {Egyptian Kite Battling (Egypt)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/eg-egypt/el-tayyara-el-waraq}
}