Skip to main content
Formal Specification

Sacred Mallet-and-Ball Game / That Luang Hockey — Formal Specification

Laos · festival-ritual · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Ti Khi — AI-optimized specification ## General idea Ti Khi is a sacred ritual mallet-and-ball field hockey game played on the esplanade of the Great Stupa of Pha That Luang in Vientiane. Two factional teams representing State Officials (*Phai Rat*) and Common Farmers (*Phai Pasaxon*) use curved wooden mallets (*mai khi*) to strike a hardwood ball (*look khi*) across a 60–100 meter field into opposing goal zones. Beyond athletic competition, the match serves as an agrarian divination rite where a Commoners' victory heralds abundant rainfall and fertile harvests for the nation. ## Formal model - **Abstraction taken:** Field hockey physics, team scrum collisions, and mallet ball strikes are discretized onto a 2D continuous pitch [0,W]×[0,L] (L=60 m, W=30 m) [gap-fill: standard pitch dimensions 60×30 m]. Ball momentum, team territorial possession, and shot trajectories are updated over discrete time ticks. - **Player/agent count:** 2 team agents (Trat,Tpasaxon), each controlling a field squad of 11 agents. - **Turn model:** Simultaneous discrete time ticks (1 tick=2 seconds; match duration Tmax=120 ticks =4 minutes of simulated play) [gap-fill: Tmax=120 ticks]. ## Formal rules R1. Setup & Starting State: - Pitch dimensions: [0,60]×[0,30]. Team 1 defends goal at x=0; Team 2 defends goal at x=60. - Ball starts at center mark (30,15) with velocity (0,0). - Match score: score1=0,score2=0. Target score Gtarget=3 goals. R2. Action Selection: Each tick, each field agent selects an action: - `DRIBBLE_ADVANCE(dx, dy)`: Move ball while maintaining close possession. - `PASS_STRIKE(target_agent_id, power)`: Strike ball with mallet toward a teammate. - `SHOOT_GOAL(target_y, power)`: Strike ball with high power toward opposing goal zone. - `TACKLE_DISPOSSESS()`: Intercept ball carrier with stick poke check (P(steal)=f(skill,stamina)). - `POSITION_ZONE(dx, dy)`: Tactical off-ball positioning. R3. Ball Physics & Momentum: - Ball trajectory: p→ball(t+1)=p→ball(t)+v→ball⋅Δt. - Velocity decay: v→ball(t+1)=v→ball(t)⋅(1−μfriction). R4. Goal & Restart: - If ball crosses the goal line between goal posts (x≤0 or x≥60 with y∈[10,20]), 1 goal is awarded to the attacking team. - Ball resets to center mark (30,15) for a restart face-off. R5. Fouls & Infractions: - **Hand/Foot Touch:** Direct intentional touch with hands/feet halts play and awards an indirect free strike to the opposing team [gap-fill]. - **High Sticking:** Raising the mallet above shoulder height (z>1.5 m) near an opponent results in a foul and turnover. R6. Win Condition: - The first team to score Gtarget=3 goals wins the match. - If Tmax=120 ticks expire before 3 goals are scored, the team with the higher score wins. ## Edge cases - **Tie at the end condition:** If scores are equal at Tmax, the traditional ritual outcome favors the Commoners (*Phai Pasaxon*) to guarantee an auspicious agricultural omen; in formal sport mode, a 30-tick golden-goal sudden death is played [gap-fill]. - **A player with no legal move:** Not applicable; positioning and striking actions are always available. - **Repetition / cycles:** Bounded strictly by the global match clock Tmax=120 ticks. - **Simultaneous claims on the same resource or position:** When multiple players contest a loose ball in the same grid zone, possession resolves via a stochastic scrum contested roll weighted by team player density and strength. - **Player elimination mid-round; turn order repair:** Not applicable; all team players remain active on the pitch. - **Resource exhaustion:** Not applicable; single wooden ball is persistent. - **Termination guarantee: why the game provably ends:** Guaranteed to terminate because the discrete time clock strictly reaches Tmax=120 ticks, resolving into a winner or golden-goal resolution. ## State representation - Persistent state: Match score (goals1,goals2), elapsed match ticks t∈[1,120], team rosters. - Per-tick ephemeral state: Ball coordinate p→ball, ball velocity v→ball, player coordinates {pi,j}, ball possession pointer, active foul flags. - Observable information: Fully observable — all player positions, ball velocity, goals, and clock are public. ## Action space - `dribble(dx, dy)`: Move with the ball. - `pass(teammate_id, power)`: Pass the ball to a teammate. - `shoot(target_coord, power)`: Shoot at goal. - `tackle()`: Attempt stick check to dispossess ball. - `move_to(x, y)`: Reposition off the ball. ## Playability notes - Single-player-vs-AI: Highly playable as an arcade field sports game, commanding a team of hockey players executing passing plays and defending goal zones. - Group games (n>4): Multi-agent control supports 11v11 squad dynamics with spatial zone assignments. - Physical-skill games: Physical mallet control, ball striking accuracy, and field scrums are mapped to 2D velocity vectors and contested possession checks. - What is lost in the adaptation: The spiritual fervor of the sacred stupa festival grounds, incense smoke, and the carnival inversion of social hierarchy. ## Implementation hints Model the pitch as a continuous 2D plane with bounding walls and open goal intervals. Use a simple kinematic agent model with maximum speed limits and collision radiuses. Milestone 1: Implement 2D ball physics, goal detection, and center-mark restarts; Milestone 2: Implement team formation AI and stick-tackle resolutions.

Download as JSON

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

Download JSON
Cite this page

Sacred Mallet-and-Ball Game / That Luang Hockey (Laos). (n.d.). Games of Countries. https://gamesofcountries.com/games/la-laos/ti-khi

@misc{gamesofcountries-la-laos-ti-khi,
  title = {Sacred Mallet-and-Ball Game / That Luang Hockey (Laos)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/la-laos/ti-khi}
}