Formal Specification
Traditional Cockfighting — Formal Specification
Laos · animal-contest · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Ti Kai — AI-optimized specification
## General idea
Ti Kai is a traditional rural animal contest where two conditioned roosters (*kai ti*) are matched by size and spur length inside a circular earth pit. The match is structured into discrete timed rounds (historically timed by a sinking coconut shell in water), separated by rest intervals where handlers clean, sponge, and revive their birds. During rounds, the contest resolves via stochastic exchanges of pecks, wing buffeting, and spur strikes; victory occurs when an opponent bird flees the ring, collapses to the ground and refuses to engage, or is withdrawn by its handler.
## Formal model
- **Abstraction taken:** The continuous physical combat of gamecocks is abstracted into discrete round exchanges ( with rounds) [gap-fill: standard 4-round match structure]. Handler agents manage between-round conditioning, cooling, and tactical concessions.
- **Player/agent count:** 2 handler agents ().
- **Turn model:** Alternating round simulation phases (autonomous combat resolution) followed by simultaneous handler intervention phases.
## Formal rules
R1. Setup & Attribute Initialization:
- Each bird starts with Health , Stamina , Aggression , and Morale .
- Refusal counter , Retreat counter .
R2. In-Round Combat Phase:
- Each round consists of 10 discrete combat ticks [gap-fill: 10 ticks per round].
- Each tick, birds execute autonomous actions sampled from their state distributions:
- Strike action: Delivers damage .
- Defend / Evade: Reduces incoming strike damage.
- Stamina consumption: per active strike tick.
R3. Stoppage & Loss Conditions:
- **Running Away (*Kai Laen*):** If a bird's Morale drops to , . If a bird flees 3 consecutive times (), it loses the bout immediately.
- **Ground Refusal (*Kai Som*):** If and , the bird squats and refuses combat. After 3 referee counts (), the bird is declared defeated.
- **Handler Concession:** A handler agent may throw in the sponge during the rest interval to concede the match and protect the bird.
R4. Rest Interval & Handler Actions:
- Between rounds, handlers simultaneously select 1 medical/conditioning action:
- `SPONGE_COOL`: Restores Stamina, Morale.
- `HERBAL_TREAT`: Restores Health, halts laceration bleeding.
- `ENCOURAGE_STANCE`: Restores Morale, boosts round aggression.
R5. Match Draw Condition:
- If all rounds conclude and neither bird has fled, collapsed, or been conceded, the bout is declared an official Draw (*Samer*).
R6. [gap-fill] Equal Weight Class Rule: Both birds must have starting attributes matched within a tolerance to ensure competitive parity.
## Edge cases
- **Tie at the end condition:** If all 4 rounds expire with both birds active, R5 explicitly declares a Draw (*Samer*).
- **A player with no legal move:** Not applicable; handlers always have valid between-round conditioning choices.
- **Repetition / cycles:** Bounded strictly by rounds (40 total combat ticks).
- **Simultaneous claims on the same resource or position:** Both birds can land strikes in the same tick; damage is applied simultaneously to both health pools.
- **Player elimination mid-round; turn order repair:** A stoppage (fleeing, refusal, or concession) immediately terminates the bout.
- **Resource exhaustion:** Depleted stamina leads directly to ground refusal and referee stoppage checks under R3.
- **Termination guarantee: why the game provably ends:** The game provably terminates in at most 4 rounds because the round counter strictly increments to .
## State representation
- Persistent state: Match round counter , bird baseline attributes , refusal and retreat counters.
- Per-tick ephemeral state: Combat tick index , damage events, sampled retreat/refusal booleans.
- Observable information: Handlers observe bird physical condition, referee counts, and round clock; internal morale is partially observed via behavioral cues.
## Action space
- `sponge_cool()`: Handler cleans and cools bird between rounds.
- `herbal_treat()`: Handler applies traditional wound care.
- `encourage_stance()`: Handler bolsters bird morale and fighting drive.
- `concede_bout()`: Handler withdraws bird to prevent injury.
## Playability notes
- Single-player-vs-AI: Playable as a trainer and conditioning management simulation, making tactical corner decisions between rounds.
- Group games (n>4): Reduces to tournament brackets of 1v1 bouts.
- Physical-skill games: Animal physical instincts and conditioning are modeled via state attributes and stochastic combat resolvers.
- What is lost in the adaptation: The live village ambiance, sensory aspects of rural animal husbandry, and vocal spectator wagering banter.
## Implementation hints
Model bird combat as an autonomous state machine where combatant parameters decay with damage. Milestone 1: Implement the 4-round combat simulator with fleeing/refusal stop conditions; Milestone 2: Implement the handler corner management actions and attribute recovery.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Traditional Cockfighting (Laos). (n.d.). Games of Countries. https://gamesofcountries.com/games/la-laos/ti-kai
@misc{gamesofcountries-la-laos-ti-kai,
title = {Traditional Cockfighting (Laos)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/la-laos/ti-kai}
}