Skip to main content
Formal Specification

Bokator (Ancient Khmer Martial Combat Art) — Formal Specification

Cambodia · wrestling-combat · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# Kun Bokator — AI-optimized specification ## General idea A two-agent martial combat model incorporating the 8-limb striking repertoire (fists, elbows, knees, kicks) and animal-stance transitions. Agents select attack trajectories, guard stances, and takedown counters in discrete round ticks. Damage, balance disruption, and scoring points are resolved through a stochastic combat engine parameterized by agent speed, precision, and defensive posture. ## Formal model - **Abstraction taken:** Real-time 3D martial exchange is abstracted into discrete stamina-governed combat rounds with simultaneous action selection. - **Player/agent count:** 2 agents (A1,A2). - **Turn model:** 3 rounds of 20 discrete exchange ticks each. ## Formal rules R1. Setup: Both agents start each round with `HP = 100`, `stamina = 100`, `balance = 100`, and `stance = NEUTRAL`. R2. Actions per tick: Each agent commits to one action from: - Strike: `PUNCH` (fast, low damage), `ELBOW` (close range, high crit), `KNEE` (clinch/mid-range, high stun), `KICK` (long range, balance-dependent). - Grapple: `CLINCH_TAKEDOWN` (*Bok* / *Kach*). - Defense: `HIGH_GUARD`, `LOW_BLOCK`, `DODGE_EVADE`, `COUNTER_STRIKE`. - Stance: `ANIMAL_STANCE(Tiger | Monkey | Crane | Cobra)` (modifies modifiers for subsequent 3 ticks). R3. [gap-fill] Combat Resolution: - Matchup matrix evaluates attack zone vs. defensive guard. - Hit Probability: P(hit)=clamp(speedatt−dodgedef+stance_bonus,0.1,0.95). - On hit: Target loses HP, balance, and stamina. Attacker accumulates judges' scoring points ΔS∈[1..3]. R4. Stoppage (KO / TKO): - If `HP <= 0` or `balance <= 0` following an unblocked heavy strike, a Knockout occurs: the opposing agent wins the match immediately. R5. Round Scoring: If no KO occurs within 20 ticks, the round is scored on total points ∑S. R6. [gap-fill] Match Decision: After 3 completed rounds, the agent winning ≥2 rounds wins the match. ## Edge cases - **Tie at the end condition:** If round wins are tied, total cumulative damage dealt across all 3 rounds determines the winner. - **A player with no legal move:** Basic `HIGH_GUARD` is always executable at 0 stamina. - **Repetition / cycles (and the loop-breaking rule):** Bounded by strictly decreasing round clock (20 ticks × 3 rounds = 60 total ticks). - **Simultaneous claims on the same resource or position:** Mutual strikes resolve simultaneously; both agents take reciprocal damage. - **Player elimination mid-round; turn order repair:** Match ends immediately on KO (R4). - **Resource exhaustion:** Stamina regenerates during rest phases; HP is capped. - **Termination guarantee: why the game provably ends:** Provably terminates within 60 exchange ticks. ## State representation - `current_round`: integer in 1..3. - `current_tick`: integer in 0..20. - `hp_1`, `hp_2`: float in [0,100]. - `stamina_1`, `stamina_2`: float in [0,100]. - `points_round_1`, `points_round_2`: integer point tallies. - `round_wins_1`, `round_wins_2`: integer counters in 0..3. - Observable information: HP, stamina, and round score are public; tick action choice is private until simultaneous reveal. ## Action space - `commit_action(type, target_zone)`: where `type` ∈{STRIKE,GRAPPLE,DEFENSE,STANCE}. ## Playability notes - **Single-player-vs-AI:** Natural 1v1 fighting game mechanics. - **Group games (n>4):** Tournament bracket format. - **What is lost:** The profound animal embodiment, spiritual incantations, and traditional musical synchronization are outside the discrete action space. ## Implementation hints Finite state machine with discrete attack/guard matchups. Ideal test bed for reinforcement learning or tree search combat agents.

Download as JSON

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

Download JSON
Cite this page

Bokator (Ancient Khmer Martial Combat Art) (Cambodia). (n.d.). Games of Countries. https://gamesofcountries.com/games/kh-cambodia/kun-bokator

@misc{gamesofcountries-kh-cambodia-kun-bokator,
  title = {Bokator (Ancient Khmer Martial Combat Art) (Cambodia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/kh-cambodia/kun-bokator}
}