Skip to main content
Formal Specification

Rooster Fight — Formal Specification

Lithuania · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 7
# Gaidžių peštynės — AI-optimized specification ## General idea Gaidžių peštynės is a two-agent balance and hopping combat duel fought within a bounded circular ring. Each competitor balances on a single supporting leg with arms folded tightly across the chest, executing simultaneous tactical hops, shoulder bumps, and feints to destabilize the opponent. An agent loses a round instantly upon touching the ground with a second limb, stepping out of bounds, unfolding arms, or falling. ## Formal model - **Abstraction taken:** Probabilistic-proxy. Continuous single-leg hopping biomechanics, center-of-mass perturbations, and shoulder-to-shoulder impact kinetics are modeled via discrete simultaneous action commitments and a balance-decay vector state B→∈[0,100]2 with stochastic collision resolution [gap-fill]. - **Player/agent count:** Exactly 2 agents per bout (A1,A2). - **Turn model:** Simultaneous tick-based rounds (t=1,2,… until a fall/ring-out occurs). ## Formal rules R1. Setup: A circular arena of radius R=1.5 m (centered at (0,0)) is initialized. Agents A1 and A2 spawn at positions (−0.75,0) and (+0.75,0) respectively. Both agents begin with maximum balance B1=100,B2=100 and posture `arms_folded = true` [gap-fill]. R2. Continuous Hopping Constraint: Every tick, each agent consumes a base balance cost ΔBhop=1.0 [gap-fill] representing the physical fatigue of continuous one-legged hopping. R3. Action Selection: Each tick, both agents simultaneously select one action from: - `hop_toward(target_pos)`: Advance position toward target by up to dmax⁡=0.3 m. - `shoulder_bump(force_level)`: Deliver an impact strike with force_level∈[1,3] (only effective when distance d(A1,A2)≤0.5 m). - `feint_dodge()`: Rapidly pivot away to evade incoming bump, reducing incoming impact force by 70% while expending 2.0 balance [gap-fill]. - `brace_stance()`: Lower center of gravity to absorb impact, increasing bump resistance by 50% while remaining stationary. R4. Collision and Impact Resolution: When a bump is executed at contact distance: - Attacker balance decreases by cost=force×1.5. - Defender suffers balance damage ΔB=(force×15×weight_ratio)+𝒩(0,4) [gap-fill] and a displacement vector v→push directed away from the attacker. - If both agents execute `shoulder_bump()` simultaneously, both take reciprocal damage and rebound backward. R5. Immediate Loss Conditions: An agent immediately loses the active round if any of the following triggers occur: - Balance exhaustion: Bi≤0 (simulating foot touchdown or fall). - Ring out: Agent coordinate ‖p→i‖2>R=1.5 m. - Posture breach: Unclasping arms (`arms_folded = false`). R6. Match Scoring and Termination: - Winning a round scores 1 point. - A match is contested as the best of 3 rounds. The first agent to achieve 2 round wins is declared match victor. ## Edge cases - Tie at the end condition: If both agents exceed the boundary circle or have balance hit ≤0 on the exact same tick, the round is ruled a null round (draw) and replayed from starting positions [gap-fill]. - A player with no legal move: Not applicable — all action choices (`hop`, `brace`, `feint`, `bump`) remain available until a loss condition is met. - Repetition / cycles (and the loop-breaking rule): Inactive standoff (both players repeatedly choosing `brace` or passive hopping) is terminated by continuous fatigue decay ΔBhop=1.0 per tick; balance depletes to zero within at most 100 ticks, forcing active engagement. - Simultaneous claims on the same resource or position: Physical overlap is resolved by elastic repulsion: if d(A1,A2)<0.3 m, both agents are pushed apart by 0.15 m. - Player elimination mid-round; turn order repair: Not applicable — 1v1 bout; bout ends immediately on round decision. - Resource exhaustion (pieces, tokens, space, time): Round ends deterministically when balance depletes or time exceeds Tmax⁡=150 ticks [gap-fill]. - Termination guarantee: Guaranteed by monotonic balance fatigue decay (ΔBhop≥1.0 per tick) and the fixed maximum tick ceiling Tmax⁡. ## State representation - Persistent state: Match score (S1,S2), current round index ∈{1,2,3}. - Per-turn ephemeral state: Positions p→1,p→2∈ℝ2, balance levels B1,B2∈[0,100], chosen actions (a1,a2), contact distance d12. - Observable information: Fully observable — positions, balance meters, and match scores are public to both agents. ## Action space - `hop_toward(x, y)`: Move position on the 2D plane (bounded by step radius 0.3 m). - `shoulder_bump(power)`: Deliver shoulder strike with power level ∈{1,2,3}. - `feint_dodge()`: Evasive sidestep to counter incoming power hits. - `brace_stance()`: Defensive grounding stance. ## Playability notes - Single-player-vs-AI: Natural and immediate — player selects actions through a timing/action selector against an AI evaluating distance, balance differential, and ring position. - Group games (n>4): Can be expanded to a battle royale melee (N-agent free-for-all in a larger circle) or organized as a standard single-elimination tournament bracket. - Physical-skill games: Physical balance and hopping agility are formalized as stamina management, positional spacing, and combat rock-paper-scissors (bump beats hop, feint beats bump, brace mitigates bump). - What is lost: The raw physiological burn in the calf muscle, vestibular balance wobble, and laughter are represented by numeric state variables. ## Implementation hints State machine requires a 2D circle boundary check, simultaneous action resolution, and a balance fatigue loop. First milestone: Implement the 1v1 simultaneous tick resolver with position and balance updates, testing that ring-out and zero-balance triggers award points correctly.

Download as JSON

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

Download JSON
Cite this page

Rooster Fight (Lithuania). (n.d.). Games of Countries. https://gamesofcountries.com/games/lt-lithuania/gaidziu-pestynes

@misc{gamesofcountries-lt-lithuania-gaidziu-pestynes,
  title = {Rooster Fight (Lithuania)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lt-lithuania/gaidziu-pestynes}
}