Formal Specification
Sacred Mallet-and-Ball Game / That Luang Hockey — Formal Specification
Laos · festival-ritual · Confidence: low
← Back to game pageImplementation 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 ( m, m) [gap-fill: standard pitch dimensions m]. Ball momentum, team territorial possession, and shot trajectories are updated over discrete time ticks.
- **Player/agent count:** 2 team agents (), each controlling a field squad of 11 agents.
- **Turn model:** Simultaneous discrete time ticks (; match duration ticks of simulated play) [gap-fill: ticks].
## Formal rules
R1. Setup & Starting State:
- Pitch dimensions: . Team 1 defends goal at ; Team 2 defends goal at .
- Ball starts at center mark with velocity .
- Match score: . Target score 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 ().
- `POSITION_ZONE(dx, dy)`: Tactical off-ball positioning.
R3. Ball Physics & Momentum:
- Ball trajectory: .
- Velocity decay: .
R4. Goal & Restart:
- If ball crosses the goal line between goal posts ( or with ), 1 goal is awarded to the attacking team.
- Ball resets to center mark 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 ( m) near an opponent results in a foul and turnover.
R6. Win Condition:
- The first team to score goals wins the match.
- If 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 , 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 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 ticks, resolving into a winner or golden-goal resolution.
## State representation
- Persistent state: Match score , elapsed match ticks , team rosters.
- Per-tick ephemeral state: Ball coordinate , ball velocity , player coordinates , 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 JSONCite 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}
}