Skip to main content
Formal Specification

Siamese Rhinoceros Beetle Fighting — Formal Specification

Thailand · animal-contest · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 4
# Chon Kwang — AI-optimized specification ## General idea A seasonal insect-wrestling contest where two handlers manage male rhinoceros beetles on a cylindrical wooden combat log. Handlers stimulate their beetles using acoustic vibrating wands, seeking to maneuver their beetle into locking horns with the opponent over a central female scent chamber. The game abstracts insect biomechanics into a tactical contest of stimulation timing, stamina management, and stochastic grappling resolution across fixed rounds. ## Formal model - **Abstraction taken:** The continuous biomechanical wrestling of live rhinoceros beetles is abstracted into discrete rounds (*Kham*) of simultaneous handler stimulation choices, followed by a stochastic contest resolver parameterized by beetle physical attributes (mass, horn span, stamina) and handler stimulation efficiency. - **Player/agent count:** 2 handler agents (Player 1 and Player 2). - **Turn model:** Simultaneous action selection per exchange tick within discrete grappling rounds. ## Formal rules R1. Setup: Two beetles start at opposite ends of the 1D combat log (positions -5 and +5 on an integer scale `[-5, +5]`, where 0 is the central scent chamber). Both beetles start with maximum stamina (e.g. 100). R2. [gap-fill] Each round is divided into up to 5 stimulation ticks. In each tick, both handlers simultaneously select an acoustic wand action: `Vibrate_Aggressive` (+speed, -stamina), `Vibrate_Steady` (moderate speed, minimal stamina cost), or `Hold_Position` (restores minor stamina). R3. Movement along the log: Beetle position updates toward the center (0) based on wand stimulation. When both beetles reach position 0, a *Kham* (grapple) is initiated. R4. [gap-fill] Grapple Resolution: Once in contact, a stochastic contest function determines the outcome of the *Kham*: `P(Lift/Throw) = f(Horn_Advantage, Stamina_Ratio, Wand_Timing)`. Outcomes per tick: Agent A lifts Agent B, Agent B lifts Agent A, Stalemate push, or Retreat. R5. Loss Conditions (evaluated immediately upon occurrence): - Fall: If a beetle is lifted and falls off the log, its handler loses immediately. - Retreat: If a beetle turns and retreats 3 consecutive times, it loses the bout. - [gap-fill] Inactivity: If a beetle fails to advance or grapple within 5 consecutive ticks at center, it receives an inactivity strike; 2 strikes loses the bout. R6. [gap-fill] Round Cap: A match consists of a maximum of 12 *Kham* rounds. If neither beetle achieves a decisive fall or 3 retreats within 12 rounds, the bout ends in a draw (*Samoe*). R7. Stamina updates: Every grappling tick consumes stamina proportional to exertion; a beetle with 0 stamina cannot initiate a lift and retreats automatically. ## Edge cases - Tie at the end condition: If both beetles survive 12 full *Kham* rounds without falling or accumulating 3 retreats, the match is declared a draw (*Samoe*). - A player with no legal move: Not applicable; handlers always have access to the three stimulation actions (`Vibrate_Aggressive`, `Vibrate_Steady`, `Hold_Position`). - Repetition / cycles: Bounded by R6 (hard cap of 12 rounds) and the 3-retreat loss condition. - Simultaneous claims on the same resource or position: Both beetles meeting at position 0 initiates the mutual grapple state; grapple outcomes are resolved by the joint stochastic contest in R4. - Player elimination mid-round; turn order repair: Not applicable; 2-agent contest ends immediately upon any elimination/loss event. - Resource exhaustion: Beetle stamina drains monotonically during active grappling; reaching zero stamina forces automatic retreat and triggers the loss condition. - Termination guarantee: why the game provably ends: Guaranteed by the combination of a hard round limit (12 rounds), monotonic stamina consumption, and strict inactivity strike limits. ## State representation - Persistent state: - `round_number`: integer in `[1, 12]` - `beetle_state[2]`: `{ position: [-5, 5], stamina: [0, 100], consecutive_retreats: [0, 3], inactivity_strikes: [0, 2] }` - `match_status`: `ongoing | player_1_win | player_2_win | draw` - Per-turn ephemeral state: - `selected_action[2]`: simultaneous wand action chosen by each handler. - Observable information: Fully observable public state (positions, stamina estimates, round count, and retreat tallies are visible to both agents). ## Action space - `vibrate_aggressive()`: Applies high-frequency acoustic stimulation; grants +2 position advance or +15% grapple lift power, costs 10 stamina. - `vibrate_steady()`: Applies standard acoustic stimulation; grants +1 position advance or +5% grapple lift power, costs 4 stamina. - `hold_position()`: Halts stimulation; recovers 5 stamina; beetle holds ground but cannot initiate a throw. ## Playability notes - Single-player-vs-AI: Natural 1v1 adaptation; AI agent executes heuristic or minimax evaluation over stamina conservation and aggressive bursts. - Group games (n>4): Not applicable; beetle bouts are strictly 1v1 duels. A multi-player setting reduces cleanly to a standard single-elimination tournament bracket. - Physical-skill games: Physical wand manipulation and acoustic wood vibration are modeled via the action choices and their success weighting in R2 and R4. - What is lost in the adaptation: The tactile sensation of hand-carved *Mai Phan* pegs, living insect behavior unpredictability, pheromone dispersion dynamics, and forest harvest cultural atmosphere are replaced by discrete state parameters. ## Implementation hints - Very low state space complexity. - Suggested first milestone: Implement the 1D log movement and discrete stochastic grapple resolver (R1–R5) with fixed beetle attributes, then add the stamina management layer and round cap.

Download as JSON

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

Download JSON
Cite this page

Siamese Rhinoceros Beetle Fighting (Thailand). (n.d.). Games of Countries. https://gamesofcountries.com/games/th-thailand/chon-kwang

@misc{gamesofcountries-th-thailand-chon-kwang,
  title = {Siamese Rhinoceros Beetle Fighting (Thailand)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/th-thailand/chon-kwang}
}