Formal Specification
Hoop Takraw — Formal Specification
Thailand · dexterity-throw · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 4
# Takraw Lod Buang — AI-optimized specification
## General idea
A traditional Thai cooperative acrobatic ball-kicking sport. A team of six or seven players forms a circle beneath a suspended triangular goal containing three rattan hoops, keeping a woven ball airborne using their feet, knees, elbows, shoulders, and head, cooperatively executing set-ups to kick the ball through the elevated hoops with increasingly difficult acrobatic techniques to score points within a 40-minute match clock.
## Formal model
- **Abstraction taken:** Continuous aerodynamic flight of the woven rattan ball and complex aerial foot kicks are abstracted into discrete cooperative possession cycles. Each cycle consists of passing touches between court agents to build setup quality, culminating in a shot attempt on one of the three suspended hoops. Shot success and point values are resolved via a difficulty-tiered stochastic model parameterized by kick classification and player skill.
- **Player/agent count:** 1 cooperative team of `N = 7` agents (positions `0` to `6` arranged around the circular court).
- **Turn model:** Sequential ball possession passing and shot attempts across a fixed match budget of `T = 80` possession cycles (simulating 40 minutes).
## Formal rules
R1. Setup: 7 players occupy circular court positions `0` to `6` around the suspended hoop array (3 hoops: Left, Center, Right). Team score starts at `0`. Match clock is initialized to `80` possession cycles.
R2. [gap-fill] Possession Cycle & Pass Chains:
- A cycle begins with a serve to an active player.
- To attempt a hoop shot, the team must complete a pass chain of at least 2 consecutive passes between different players (`pass_count >= 2`), building `setup_quality` (float in `[0.0, 1.0]`).
- On each pass, the passing agent chooses a target teammate: `P(successful_pass) = 0.95`. If a pass fails, the ball touches the ground, the cycle ends with 0 points, and a fresh serve is taken (consuming 1 match cycle).
R3. [gap-fill] Hoop Shot Selection and Point Tiers:
- The player holding possession after `>= 2` passes selects a kick technique and a target hoop `h in {Left, Center, Right}`:
- **Tier 1 (Basic Foot/Toe Kick):** Value: `10` points. Difficulty: `0.20`.
- **Tier 2 (Knee / Head Strike):** Value: `15` points. Difficulty: `0.35`.
- **Tier 3 (Acrobatic Back-Heel / *Lang Tao*):** Value: `25` points. Difficulty: `0.55`.
- **Tier 4 (Signature Aerial Strike, e.g. *Phra Ram Buang Mue*):** Value: `40` points. Difficulty: `0.75`.
R4. [gap-fill] Shot Resolution:
- Shot success probability: `P(hoop_score) = max(0.05, (1.0 - Difficulty + Setup_Quality * 0.3) * Player_Skill)`.
- If successful: The ball passes through the hoop, and the corresponding Tier points are added to `team_score`.
- If missed: The ball deflects off the rim or falls to the ground; 0 points scored.
- The ball is retrieved immediately, and the next possession cycle begins with `pass_count = 0`.
R5. [gap-fill] Match Termination & Victory:
- The match terminates when all 80 possession cycles are completed.
- The team's final performance is evaluated by their total accumulated points. In tournament heat play, the team with the highest aggregate score across the tournament heat bracket is awarded first place.
## Edge cases
- Tie at the end condition: In multi-team tournament comparisons, if two teams finish with identical total scores, a 5-minute (10-cycle) sudden-death shootout heat is contested.
- A player with no legal move: Not applicable; the player with ball possession always has `Pass(teammate_id)` or `Shoot(tier, hoop_id)` available.
- Repetition / cycles: Bounded by the monotonic consumption of the 80-cycle match budget.
- Simultaneous claims on the same resource or position: Exactly 1 ball exists; possession transitions sequentially from passer to receiver.
- Player elimination mid-round; turn order repair: Cooperative non-elimination sport; all 7 agents remain active on court throughout the match.
- Resource exhaustion: Match cycle budget (`80` cycles) depletes by 1 on every pass failure or shot attempt, strictly reaching 0.
- Termination guarantee: why the game provably ends: Every possession cycle consumes exactly 1 unit of the 80-cycle budget, guaranteeing termination in exactly 80 cycles.
## State representation
- Persistent state:
- `team_score`: integer cumulative points
- `cycles_remaining`: integer in `[0, 80]`
- `player_skills[7]`: float array in `[0.5, 1.0]`
- `match_status`: `active | finished`
- Per-turn ephemeral state:
- `current_ball_carrier`: integer in `[0, 6]`
- `pass_count`: integer in `[0, 5]`
- `setup_quality`: float in `[0.0, 1.0]`
- Observable information: Fully observable public state (all player positions, ball carrier index, pass counts, setup quality, and remaining cycles are visible to all agents).
## Action space
- `pass_to(target_player_id)`: Pass ball to a teammate to increase setup quality and meet shot prerequisites.
- `shoot_hoop(tier, hoop_id)`: Attempt an acrobatic kick through target hoop `hoop_id in {Left, Center, Right}` with technique `tier in {1, 2, 3, 4}`.
## Playability notes
- Single-player-vs-AI: Playable as a cooperative team manager / quarterback where the human controls the key striker while AI teammates execute supportive passes.
- Group games (n>4): Natively designed for 6 to 7 cooperative players sharing a common scoring objective.
- Physical-skill games: Extraordinary acrobatic leg flexibility and mid-air body contortions are represented via difficulty tiers, setup multipliers, and player skill parameters.
- What is lost in the adaptation: The resonant snapping sound of woven rattan against the foot, live cheering crowds at temple festivals, and the breathtaking visual spectacle of mid-air scissor kicks.
## Implementation hints
- Simple Markov decision process with cooperative team rewards.
- Branching factor: 6 pass targets + (4 tiers x 3 hoops) = 18 possible decisions per possession turn.
- Suggested first milestone: Implement the pass-chain setup accumulator and verify tiered shot probabilities and 80-cycle termination.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Hoop Takraw (Thailand). (n.d.). Games of Countries. https://gamesofcountries.com/games/th-thailand/takraw-lod-buang
@misc{gamesofcountries-th-thailand-takraw-lod-buang,
title = {Hoop Takraw (Thailand)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/th-thailand/takraw-lod-buang}
}