Skip to main content
Formal Specification

Khmer Ngo Dragon Boat Racing / Regatta — Formal Specification

Vietnam · water · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 4
# Đua ghe Ngo — AI-optimized specification ## General idea Đua ghe Ngo is a monumental traditional Khmer aquatic sprint regatta where 50- to 60-rower dragon dugout longboats compete head-to-head on a 1,200-meter river course. The crew coordinates explosive stroke cadence (80–100 strokes/min) to the rhythm of brass gongs and conductor whistles, harnessing the flex resonance of the boat's internal tension spine (*đòn kiền*) while balancing stamina management and river lane alignment. ## Formal model - **Abstraction taken:** The micro-hydrodynamics and collective paddling motions of 50 individual rowers are abstracted into a macro crew-state model. The crew agent manages tactical stroke pace modes, crew synchronization cadence, and steering corrections over discrete time ticks [gap-fill: continuous hydrodynamic boat paddling and 50-rower synchronization are abstracted into discrete time ticks with pace modes (SPRINT, CRUISE, FINISH_BURST), crew stamina depletion, and synchronization efficiency scores]. - **Player/agent count:** 2 team agents (Boat A vs Boat B in parallel lanes). - **Turn model:** Simultaneous tick-by-tick state updates (each tick Δt=1.0 s [gap-fill: course is discretized into 1,200 meters divided into 100-meter segments; simulation runs on 1-second ticks]). ## Formal rules R1. Course Setup and Initialization: - Course length: Xfinish=1,200 m. - Lane width: Wlane=15 m. Lateral position yi∈[−7.5,+7.5]. - Initial state for each boat i∈{A,B}: position xi=0, velocity vi=0, crew stamina Ei=100, lateral position yi=0. R2. Tactical Pace Modes (per tick): - Each team agent chooses a pace mode Mi∈{PADDLE_STEADY,POWER_BURST,FINISH_SPRINT} and steering angle δi∈[−10∘,+10∘]: - PADDLE_STEADY: Base stroke rate 75 spm; stamina drain 0.5/s; base thrust F0=1.0. - POWER_BURST: Stroke rate 95 spm; stamina drain 1.5/s; base thrust F0=1.5. - FINISH_SPRINT: Stroke rate 110 spm; stamina drain 3.0/s; base thrust F0=2.0. R3. Stroke Synchronization and Tension Beam Dynamics: - Synchronization score: ηi∼Beta(αi,βi), where αi scales with crew skill and current stamina ratio (Ei/100). - [gap-fill] Tension beam (*đòn kiền*) kinetic bonus: If ηi≥0.85, hull resonance adds a +12% velocity multiplier to forward thrust. - Forward velocity update: vi,t+1=vi,t⋅(1−Cd)+F0⋅ηi⋅BonusMboatΔt - Position update: xi,t+1=xi,t+vi,t+1Δt. R4. [gap-fill] Lateral Drift and Disqualification: - River cross-current introduces lateral displacement Δy=drift+visin⁡(δi)Δt. - If |yi|>7.5 m (crossing outside lane boundary into opposing lane or bank), boat i incurs immediate disqualification (DQ). R5. False Starts: - A boat initiating forward movement before the starting signal incurs 1 false start warning; 2 false starts result in immediate disqualification. R6. Victory Condition: - The first boat whose prow breaks the plane of the finish line (xi≥Xfinish) wins the heat. - If one boat is disqualified, the remaining boat wins automatically upon completing the course. ## Edge cases - Tie at the end condition: If both boats cross Xfinish on the exact same tick, the boat with the greater forward position xi wins; if sub-millimeter identical, a re-race heat is scheduled. - A player with no legal move: Not applicable; pace mode and steering are continuous choices always available. - Repetition / cycles: Impossible; boat position xi is strictly non-decreasing toward the fixed 1,200m finish line. - Simultaneous claims on the same resource or position: Boats are isolated in parallel lanes; no lane sharing is permitted. - Player elimination mid-round; turn order repair: A disqualified boat is removed from the active race; the non-fouling boat completes the course cleanly. - Resource exhaustion: Stamina Ei decays monotonically under heavy pace modes; reaching Ei=0 forces the boat into low-efficiency exhaustion rowing (F0=0.4). - Termination guarantee: why the game provably ends: Since forward velocity vi≥vmin>0, distance to finish Xfinish−xi reaches 0 in finite time (typically 90–150 ticks / seconds). ## State representation - Persistent state: - `course_length`: 1200 (meters). - `boatA_state`, `boatB_state`: structs containing (x,y,v,E,DQ_flag). - `current_time`: float t (seconds). - Per-round ephemeral state: - `pace_choices`: active pace mode per boat. - `sync_scores`: sampled ηA,ηB. - Observable information: - Fully observed by both agents: own boat metrics (x,y,v,E), opponent relative position xB−xA, and race clock. ## Action space - `select_pace(mode)`: mode ∈{PADDLE_STEADY,POWER_BURST,FINISH_SPRINT}. - `set_steering(angle)`: angle ∈[−10∘,+10∘]. ## Playability notes - Single-player-vs-AI: Highly playable; human commands one boat's conductor/tactics (pacing stamina through start, middle, and home stretch) against an AI rival boat. - Group games (n>4): Full regattas run bracketed tournament ladders among 16–32 pagodas; each heat is a clean 2-agent duel. - Physical-skill games: Physical rowing endurance and synchronization are represented by the stamina depletion curve and Beta-distributed cadence score η. - What is lost in the adaptation: The thunderous roar of tens of thousands of spectators lining the riverbanks, spray of churning water, and sacred Buddhist pagoda blessings. ## Implementation hints - Implement as a simple time-stepped kinematic simulation (1 s per step). - Calibrate drag coefficient Cd and thrust so that 1,200m is covered in ~100–120 seconds with realistic sprint finishes. - Suggested first milestone: Implement R1–R3 forward velocity equations and test pacing strategies (e.g. constant steady vs sprint-burst-sprint).

Download as JSON

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

Download JSON
Cite this page

Khmer Ngo Dragon Boat Racing / Regatta (Vietnam). (n.d.). Games of Countries. https://gamesofcountries.com/games/vn-vietnam/dua-ghe-ngo

@misc{gamesofcountries-vn-vietnam-dua-ghe-ngo,
  title = {Khmer Ngo Dragon Boat Racing / Regatta (Vietnam)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/vn-vietnam/dua-ghe-ngo}
}