Skip to main content
Formal Specification

Taiwanese Cricket Fighting (Xinhua Cricket Bouts) — Formal Specification

Taiwan · animal-contest · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Dou Xishuai — AI-optimized specification ## General idea A traditional animal contest modeling Taiwanese field cricket fighting (*tàu-soat-á* / Xinhua Cricket Bouts). Two human handlers manage and stimulate territorial male crickets (*Gryllus bimaculatus*) using whisker brushes (*chhiam-á*) during an excitation phase before raising the central arena gate, triggering autonomous jaw-locking combat, grappling, and retreat behaviors. ## Formal model - **Abstraction taken:** Biological insect neurology, pheromonal cues, and physical mandible wrestling are abstracted into a dual-phase simulation: (1) a handler decision phase managing cricket excitation levels and fatigue, and (2) a Markov state-transition combat model resolving autonomous grappling, morale loss, and retreat conditions. - **Player/agent count:** 2 handlers (Player 0, Player 1). - **Turn model:** Simultaneous tickler preparation decisions followed by tick-based autonomous combat execution. ## Formal rules R1. **Cricket Attributes:** Each cricket Ci possesses: - `weight_class`: ∈{Light, Middle, Heavy}. - `mandible_strength` Mi∈[1..10]. - `stamina` Si∈[10,100]. - `aggression` Ai∈[0,100] (initial baseline 30). - `morale` Ωi∈[0,100] (initial 100). - `position` xi∈[−40,+40] cm along the trough runway (center gate at x=0). R2. **Handler Excitation Phase (3 Action Ticks):** Each handler chooses a stimulation target with their tickler brush (*chhiam-á*): - `stroke_antennae()`: +15 Aggression, −2 Morale variance, +0 Fatigue. - `stroke_cerci()`: +25 Aggression, +5 Morale variance, −5 Stamina. - `rest()`: +0 Aggression, +10 Stamina recovery. R3. **Gate Opening & Charge:** When both handlers complete the excitation phase (or `aggression >= 60` triggering stridulation chirps), the referee opens the gate. Crickets advance toward x=0 at speed v∝Ai. R4. [gap-fill] **Autonomous Combat Resolution (Per Combat Tick):** Upon contact at the center, crickets engage in mandible locking: - Combat Power: Φi=Mi⋅0.4+Si⋅0.3+Ai⋅0.3+ϵi, where ϵi∼𝒩(0,2.0). - Damage & Stamina Drain: ΔSi=−5.0−0.2⋅Φopp. - Morale Impact: If Φi<Φopp, cricket i suffers morale penalty ΔΩi=−0.5⋅(Φopp−Φi). - Pushback: Loser of the tick is displaced by Δx=−2.0 cm. R5. **Loss Conditions:** A cricket loses the bout if: - `Morale` Ωi≤0 (refuses to engage / flees across the ring). - Retreats across its starting baseline (|xi|≥35 cm). - Commits 3 consecutive retreats after referee tickler prompts. - Sustains total stamina exhaustion (Si≤0). R6. [gap-fill] **Match Structure:** A standard championship bout is decided in a Best-of-3 format. Between rounds, handlers have 30 seconds to apply rest and gentle excitation. R7. [gap-fill] **Time Limit Stalemate Guard:** If a round exceeds T=60 combat ticks without a decisive retreat, the cricket with higher remaining `morale` × `stamina` is declared round winner. ## Edge cases - **Tie at the end condition:** If morale and stamina products are identical at tick 60, the round is scored a draw and an immediate sudden-death round is fought. - **A player with no legal move:** During combat execution, handlers do not directly command crickets (autonomous simulation). During the excitation phase, handlers always have all 3 brush actions available. - **Repetition / cycles:** Combat loops are strictly bounded by R7 (60 ticks maximum per round) and continuous monotonic stamina drain. - **Simultaneous claims on the same resource or position:** Center contact initiates mutual mandible lock; displacement is resolved by difference in tick combat power. - **Player elimination mid-round:** If a cricket suffers incapacitation (limb loss / mandible fracture), the opposing handler immediately wins that round by technical knockout. - **Resource exhaustion:** Morale and stamina are strictly non-increasing during active combat. - **Termination guarantee:** Guaranteed by finite stamina depletion rate (ΔS≤−5 per tick) and the 60-tick round cap. ## State representation - **Persistent state:** - `crickets`: array of 2 crickets with base biological stats. - `round_wins`: `[wins_0, wins_1]`. - `current_round`: integer in [1..3]. - **Per-tick ephemeral state:** - `tick_index`: integer in [0..60]. - `cricket_states`: `[ {x, aggression, stamina, morale, is_locked, consecutive_retreats} ]`. - `gate_open`: boolean. - **Observable information:** Handlers observe cricket posture, chirp frequency, and spatial positions, but opponent underlying stamina and morale are partially hidden continuous variables. ## Action space - `stroke_antennae()`: Handler excitation action. - `stroke_cerci()`: High-intensity handler excitation action. - `rest_cricket()`: Stamina recovery action. ## Playability notes - **Single-player-vs-AI:** Playable as a tactical management and conditioning game; AI handler optimizes excitation trade-offs to balance aggression vs. stamina expenditure. - **Group games (n>4):** Implemented as a tournament bracket of 1v1 bouts across weight classes. - **Physical-skill games:** Whisker tickling dexterity is abstracted into 3 discrete brush target selections with predictable risk-reward profiles. - **What is lost in the adaptation:** Physical chirp acoustics, insect micro-posturing cues, and live village festival atmosphere in Xinhua. ## Implementation hints - Dual-phase architecture: discrete turn-based preparation phase followed by a fast step-wise simulation loop. - Combat state is an 8-variable dynamical system easily simulated in <1 ms. - Suggested first milestone: Implement the autonomous combat resolver with stamina/morale depletion and retreat win detection.

Download as JSON

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

Download JSON
Cite this page

Taiwanese Cricket Fighting (Xinhua Cricket Bouts) (Taiwan). (n.d.). Games of Countries. https://gamesofcountries.com/games/tw-taiwan/dou-xishuai

@misc{gamesofcountries-tw-taiwan-dou-xishuai,
  title = {Taiwanese Cricket Fighting (Xinhua Cricket Bouts) (Taiwan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tw-taiwan/dou-xishuai}
}