Formal Specification
Lao Tip-Cat / Two-Stick Striking Game — Formal Specification
Laos · dexterity-throw · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 4
# Mai Hueng — AI-optimized specification
## General idea
Mai Hueng is a traditional two-stick striking and fielding game (tip-cat family) played with a long wooden bat (*mai meang*) and a short double-tapered peg (*mai noy*). The batting team progresses through three distinct striking phases of increasing difficulty: an under-trench scoop toss, a self-tossed aerial hit, and a tip-and-strike where tapping the peg's tapered edge pops it into the air for a mid-flight drive. Fielders attempt to catch the flying peg or throw it back to hit the base bat to record an out (*tai*), while successful phase 3 hits score points measured in bat lengths back to the home trench.
## Formal model
- **Abstraction taken:** The continuous aerodynamics of the spinning wooden peg, mid-air timing collisions, and outfield throwing accuracy are parameterized into stochastic action outcomes. Batting agents choose swing power and elevation, while fielding agents position across outfield sectors.
- **Player/agent count:** 2 teams (), each with 1 to 6 agents.
- **Turn model:** Sequential innings; active batter attempts a 3-phase sequence per batting turn.
## Formal rules
R1. Setup:
- Target score bat lengths [gap-fill: standard 50-point match].
- Batting order established per team; fielding team disperses across outfield sectors (near, mid, deep).
- Inning counter , active batter index .
R2. Phase 1 (Scoop & Return):
- Batter executes `scoop_toss(power)`. Peg lands at distance .
- Catch check: . If caught, batter is `OUT` immediately.
- Return throw: If uncaught, nearest fielder throws peg toward bat laid across trench: [gap-fill]. If peg hits bat, batter is `OUT`. Otherwise, batter advances to Phase 2.
R3. Phase 2 (Toss & Hit):
- Batter executes `toss_and_hit(power, angle)`. Peg lands at distance .
- Catch check: If caught on the fly, batter is `OUT`.
- Ground return: If uncaught, fielder throws peg back: if peg lands bat-length () from trench, batter is `OUT`. Otherwise, batter advances to Phase 3.
R4. Phase 3 (Tip & Drive — *Hueng Mai*):
- Batter executes `tip_and_strike(timing, power)`.
- Contact check: .
- If contact fails: Batter is `OUT`.
- If contact succeeds: Peg travels distance . Catch check applies.
- Scoring: If uncaught, score awarded points. Score accumulates to .
R5. Inning Turnover & Team Rotation:
- When active batter is `OUT`, next teammate in batting order steps up.
- When all batters of are `OUT`, the inning half ends: teams swap roles ().
R6. Win Condition:
- The first team to reach or exceed points at the completion of equal innings wins the match.
R7. [gap-fill] Inning limit: If neither team reaches within 6 full innings, the team with the higher score wins.
## Edge cases
- **Tie at the end condition:** If scores are tied after 6 innings, one additional full extra inning is played; if still tied, a Phase 3 sudden-death distance hit determines the winner [gap-fill].
- **A player with no legal move:** Not applicable; batting and fielding roles have mandatory deterministic action sequences.
- **Repetition / cycles:** Bounded by finite outs per inning (all batters eliminated per half) and R7's 6-inning limit.
- **Simultaneous claims on the same resource or position:** In fielding, if two fielders can attempt a catch, the resolver selects the fielder with the higher sector coverage rating without collision penalty.
- **Player elimination mid-round; turn order repair:** When a batter is recorded `OUT`, the turn immediately advances to the next sequential index ; when , inning concludes.
- **Resource exhaustion:** Wooden bat and peg are persistent and non-depleting.
- **Termination guarantee: why the game provably ends:** Every batting attempt has a strictly positive probability of an `OUT` ( per phase), ensuring every half-inning terminates in finite turns, and R7 bounds the match to at most 6 full innings.
## State representation
- Persistent state: Team cumulative scores , current inning index , active batting team ID, batting order queues.
- Per-phase ephemeral state: Active phase , peg ground coordinates , landing distance , out status flag.
- Observable information: Fully observable — scores, phase progression, fielder positions, and distance measurements are public.
## Action space
- `scoop_toss(power)`: Execute Phase 1 trench scoop.
- `toss_and_hit(power, angle)`: Execute Phase 2 aerial swing.
- `tip_and_strike(timing, power)`: Execute Phase 3 downward tap and drive.
- `position_fielders(sector_allocations)`: (Fielding team) Allocate fielders across outfield zones.
## Playability notes
- Single-player-vs-AI: Very enjoyable as an asymmetric baseball/cricket-style arcade strategy game, alternating between timing batting swings and positioning defensive fielders.
- Group games (n>4): Reduces naturally to team rosters with individual batting rotations and zone fielding.
- Physical-skill games: Physical tip-and-strike coordination is abstracted into timing windows and power-distance distributions.
- What is lost in the adaptation: The tactile satisfaction of whittling bamboo pegs, the sharp acoustic crack of wood on wood, and outfield sprinting under the Lao sun.
## Implementation hints
Represent distance as a floating-point meter value normalized by m. Branching factor is continuous for power/angle but easily discretized into 3 power levels and 3 angle bands. Milestone 1: Implement the 3-phase batting state machine with out conditions; Milestone 2: Add distance measuring and inning role rotation.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Lao Tip-Cat / Two-Stick Striking Game (Laos). (n.d.). Games of Countries. https://gamesofcountries.com/games/la-laos/mai-hueng
@misc{gamesofcountries-la-laos-mai-hueng,
title = {Lao Tip-Cat / Two-Stick Striking Game (Laos)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/la-laos/mai-hueng}
}