Formal Specification
Rooster Fight (Hungarian One-Legged Balance Duel) — Formal Specification
Hungary · wrestling-combat · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 5
# Kakasviadal — AI-optimized specification
## General idea
A simultaneous-action tactical combat and balance duel where two agents manage 2D ring positioning and an equilibrium state while hopping on one leg, choosing between explosive shoulder charges, evasive feints, and counter-braces to displace the opponent outside the arena or reduce their stability to zero.
## Formal model
- **Abstraction taken:** The 3-meter circular ring is modeled as a 2D continuous space with origin and boundary radius . Each agent tracks position , stability pool (representing single-leg equilibrium), and stamina . Physical collisions are evaluated via a vector momentum and counter-matchup resolver.
- **Player/agent count:** 2 agents.
- **Turn model:** Simultaneous discrete rounds (tick duration 0.5 s [gap-fill]).
## Formal rules
R1. Setup:
- Arena radius .
- Agent 1 starts at , Agent 2 at .
- Initial stability , stamina .
R2. Simultaneous Action Choice: Each round, both agents simultaneously select one action:
- `SHOULDER_CHARGE(power: float)`: Direct thrust with power . Stamina cost .
- `DODGE_HOP(angle: float)`: Lateral evasion vector . Stamina cost .
- `BRACE()`: Low-center-of-gravity absorb posture; recovers stamina and increases collision resistance by 50% [gap-fill].
- `FEINT()`: Fake charge provoking defensive commitment; costs 10 stamina.
R3. Interaction Resolution:
- If Agent A uses `SHOULDER_CHARGE` and Agent B uses `DODGE_HOP`: Agent A misses, overshoots forward by , and suffers stability penalty.
- If Agent A uses `SHOULDER_CHARGE` and Agent B uses `BRACE`: Momentum is blunted; Agent A loses 15 stability, Agent B loses 5 stability.
- If both agents use `SHOULDER_CHARGE`: Head-to-head collision; net displacement is proportional to difference in power and mass, each agent loses .
R4. Boundary and Fall Check:
- Position update: Agent position .
- If (ring-out): Agent loses the round immediately.
- If (equilibrium collapse): Agent touches down foot/falls; loses round immediately.
R5. Match Structure:
- Round runs for max ticks [gap-fill].
- Best-of-three rounds determines match winner.
## Edge cases
- Tie at the end condition: If both agents simultaneously cross boundary radius in the same tick, the agent further from origin loses; if exact tie, round is replayed [gap-fill].
- A player with no legal move: Not applicable; `BRACE` and `DODGE_HOP` are always available.
- Repetition / cycles: Bounded by max 30 ticks per round.
- Simultaneous claims on the same resource or position: Actions resolve simultaneously via vector kinematics in R3.
- Player elimination mid-round; turn order repair: Single 1v1 bout ends upon ring-out or equilibrium collapse.
- Resource exhaustion (pieces, tokens, space, time): Stamina and stability decay during active fighting; 30-tick ceiling guarantees round end.
- Termination guarantee: Enforced by the 30-tick timeout and stability drain under sustained engagement.
## State representation
- Persistent state: `round_number: int (1..3)`, `match_score: tuple[int, int]`, `agent_positions: dict[int, tuple[float, float]]`, `stability: dict[int, float]`, `stamina: dict[int, float]`.
- Per-tick ephemeral state: `actions: dict[int, Action]`, `displacement_vectors: dict[int, tuple[float, float]]`.
- Observable information: Positions and boundary distance are fully observable. Stability and stamina are partially masked with observable fatigue cues [gap-fill].
## Action space
- `shoulder_charge(power: float)`: .
- `dodge_hop(angle: float)`: .
- `brace()`: Defensive absorb.
- `feint()`: Tactical fake.
## Playability notes
- Single-player-vs-AI: Fast-paced rock-paper-scissors dynamic positioning game; human agent must bait aggressive AI charges toward the boundary edge and execute sidestep evasions.
- Group games (n>4): Can be scaled to a free-for-all battle royale (Team Rooster Melee) or run as a standard tournament ladder.
- Physical-skill games: Dynamic balance while hopping is modeled through the stability metric and kinematic overshoot penalties.
- What is lost in the adaptation: Physical body contact impact, leg muscle burning fatigue, and micro-adjustments of ankle balance.
## Implementation hints
Low complexity. 2D vector kinematics inside a circular bounding boundary. First milestone: Implement simultaneous action resolution and verify that charging a dodging opponent leads to ring-outs near the boundary.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Rooster Fight (Hungarian One-Legged Balance Duel) (Hungary). (n.d.). Games of Countries. https://gamesofcountries.com/games/hu-hungary/kakasviadal
@misc{gamesofcountries-hu-hungary-kakasviadal,
title = {Rooster Fight (Hungarian One-Legged Balance Duel) (Hungary)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/hu-hungary/kakasviadal}
}