Formal Specification
Cricket Fighting (Cu Zhi) — Formal Specification
China · animal-contest · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 3
# Dou Xishuai — AI-optimized specification
## General idea
A traditional Chinese insect combat spectator contest (formalized according to classical *Cu Zhi Jing* principles) where two matched male field crickets are primed with fine grass stalks (*qiancao*) and placed in a divided circular arena. Once the central partition gate is raised, the crickets lock mandibles, wrestle, and attempt to bite or throw each other. The combat concludes when one cricket forces the other to retreat and delivers a triumphant victory chirp (*zhenchi mingling*).
## Formal model
- **Abstraction taken:** Biological insect aggression, mandible biomechanics, and tactile priming are modeled as a stochastic combat state machine tracking cricket stamina, mandible torque, and aggression levels across discrete combat exchange rounds.
- **Player/agent count:** 2 handlers (each managing 1 conditioned cricket) plus 1 referee.
- **Turn model:** Two phases: Handler Preparation/Priming Phase (decision inputs), followed by Autonomous Combat Resolution Phase (stochastic tick simulation).
## Formal rules
R1. Setup & Matching: Both crickets are weighed on precision balances. Crickets must match within () weight tolerance to ensure parity. Match is contested as best 2-of-3 bouts (*sanju liangsheng*).
R2. Phase 1 (Priming / *Qiancao*): Handlers apply grass stalk stimulation to antennae and cerci:
- Effective priming increases the cricket's initial Aggression index .
- Over-priming ( intensity) causes agitation, reducing Stamina by .
R3. Phase 2 (Bout Engagement): The central gate is raised. Crickets advance and engage in sequential combat ticks (, max 30 ticks per bout):
- On each tick, active crickets roll for combat maneuver: `Lock_Mandibles` (*Jiaoya*), `Leverage_Throw` (*Tuotiao*), or `Bite_Drive` (*Zhaqian*).
- Success depends on current Mandible Power .
R4. Bout Victory Determination:
- If cricket A's combat outcome exceeds cricket B's by a critical threshold, cricket B sustains morale collapse: , turning tail and fleeing around the arena.
- Cricket A stands firm, flares its wings, and emits a victorious chirp (*zhenchi mingling*), winning the bout immediately.
R5. Match Victory: The first handler whose cricket wins 2 bouts wins the match.
R6. [gap-fill] Passive Stall Adjudication: If neither cricket achieves morale dominance within 30 combat ticks, the referee re-primes both crickets; if still stalled after 15 additional ticks, the bout is scored a technical draw.
R7. [gap-fill] Mandible Injury Resolution: A critical bite has a chance of breaking an opponent's mandible, causing an immediate technical concession for that cricket.
R8. [gap-fill] Inter-Bout Recovery: Between bouts, crickets rest for 60 seconds, recovering of lost Stamina .
## Edge cases
- **Tie at the end condition:** If a bout ends in a technical draw after stall adjudication (R6), an extra sudden-death bout is staged.
- **A player with no legal move:** Not applicable; handlers commit priming parameters during Phase 1; insects resolve autonomously in Phase 2.
- **Repetition / cycles:** Combat ticks are strictly capped at 30 ticks per bout (R6).
- **Simultaneous claims on the same resource or position:** Both crickets occupy the shared arena; physical collisions resolve by differential torque and aggression equations.
- **Player elimination mid-round:** If an insect sustains severe mandible injury (R7), the bout terminates immediately.
- **Resource exhaustion:** Stamina and aggression deplete monotonically during active wrestling.
- **Termination guarantee:** Provably terminates within 3 bouts of at most 45 ticks each.
## State representation
- **Persistent state:** `bouts_won[handler_1, handler_2]`, `current_bout_index (1..3)`.
- **Ephemeral state:** `cricket_weight[1, 2]`, `stamina[1, 2] (0..100)`, `aggression[1, 2] (0..100)`, `mandible_locked_flag`, `bout_timer (0..30s)`.
- **Observable information:** Fully observable insect postures, weight measurements, and bout status.
## Action space
- `set_priming_strategy(intensity, focus_zone)`: Handler decision prior to bout start.
## Playability notes
- **Single-player-vs-AI:** Operates as a strategic management and simulation game (cricket breeding, conditioning, weight matching, and pre-bout priming).
- **Group games (n>4):** Scales naturally as a spectator tournament bracket.
- **Physical-skill games:** Replaced by biological attribute modeling and probabilistic combat state resolution.
- **What is lost in the adaptation:** The microscopic acoustic chirping nuances, the delicate handling of traditional gourd cages, and the autumn market atmosphere.
## Implementation hints
Two-stage state machine: strategic configuration phase (priming parameters) followed by automated combat loop simulating differential equations for stamina/aggression decay.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Cricket Fighting (Cu Zhi) (China). (n.d.). Games of Countries. https://gamesofcountries.com/games/cn-china/dou-xishuai
@misc{gamesofcountries-cn-china-dou-xishuai,
title = {Cricket Fighting (Cu Zhi) (China)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/cn-china/dou-xishuai}
}