Skip to main content
Formal Specification

Rooster Fight / One-Legged Joust — Formal Specification

North Macedonia · wrestling-combat · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 4
# Борба на петли — AI-optimized specification ## General idea A two-agent physical balance contest played within a circular boundary. Both agents hop on a single leg with folded arms, choosing tactical bumping angles and balance stances. A collision resolves based on relative momentum and stance, forcing balance loss, out-of-bounds displacement, or ground foot touch. ## Formal model - **Abstraction taken:** The continuous physical bumping on grass is discretized into discrete simultaneous rounds within a circular arena of radius R=1.5 m. Agents maintain 2D positions (x,y), balance points B∈[0,100], and stamina E∈[0,100]. Shoulder bumps deliver impulse vectors that displace the opponent and degrade balance. - **Player/agent count:** 2 agents (A1,A2). - **Turn model:** Simultaneous tick-based technique selection and physics resolution. ## Formal rules R1. **Arena & Agent Setup:** Circular ring centered at (0,0) with R=1.5. Agents initialize at (−0.5,0) and (+0.5,0) with Balance=100, Stamina=100, and Active=True. R2. **Action Space per Round:** Both agents simultaneously select one action: - `hop_forward_bump(power)`: Aggressive shoulder thrust forward (power ∈(0,1.0], stamina cost −6). - `hop_side_dodge()`: Lateral evasion, dodges straight thrusts, recovers +5 balance, stamina cost −3. - `brace_and_absorb()`: Low-center-of-gravity defensive hop, halves incoming bump damage, stamina cost −2. R3. **Collision & Balance Resolution:** - If A1 executes `hop_forward_bump` and A2 executes `brace_and_absorb`: A2's balance decreases by ΔB=15⋅power, and A1's balance decreases by ΔB=5 (rebound). - If A1 executes `hop_forward_bump` and A2 executes `hop_side_dodge`: A1's thrust misses, causing overextension: A1's balance drops by −25, and A1 is displaced forward by 0.4 m. - If both agents execute `hop_forward_bump`: the agent with higher (B⋅power) forces the other backward; the difference in force inflicts balance damage on the loser. R4. **Elimination & Loss Conditions:** An agent immediately loses the round if: - Balance drops to Balance≤0 (second foot touches the ground / fall). - Position exceeds arena bounds: x2+y2>R=1.5 (stepped out of circle). - Stamina drops to E≤0 (exhaustion). R5. [gap-fill] Switching Leg Prohibition:** Supporting leg is fixed for the duration of the round; mid-bout leg switching constitutes a foot touch fault. R6. [gap-fill] Maximum Round Cap:** A bout lasts at most Tmax=30 rounds. If neither agent faults by round 30, the agent with higher remaining (Balance+Stamina) wins. R7. **Match Victory:** The first agent to win 2 rounds (best-of-three) wins the match. ## Edge cases - Tie at the end condition: If both agents fault on the exact same round (e.g. mutual boundary breach), the round is replayed [gap-fill]. - A player with no legal move: `brace_and_absorb` is always available even at low stamina. - Repetition / cycles: Bounded; stamina decreases monotonically each round (ΔE<0), guaranteeing termination within 30 rounds. - Simultaneous claims on the same resource or position: Simultaneous actions resolve through the antisymmetric interaction matrix in R3. - Player elimination mid-round: Round ends immediately upon first fault. - Resource exhaustion: Stamina depletion directly triggers the loss condition in R4. - Termination guarantee: [gap-fill] Guaranteed by monotonic stamina burn and the 30-round hard cap. ## State representation - **Persistent state:** Match round score (w1,w2), round counter r∈[1,3], active match state. - **Per-round ephemeral state:** Coordinates (xi,yi), balance ratings Bi, stamina Ei, round tick t∈[1,30], chosen actions. - **Observable information:** Fully observable; balance ratings, positions, and stamina are public. Current action choice is private until simultaneous reveal. ## Action space - `hop_forward_bump(power)`: power∈(0,1.0]. - `hop_side_dodge()`: Evasive lateral hop. - `brace_and_absorb()`: Defensive balance stance. ## Playability notes - Single-player-vs-AI: Fast-paced 1v1 tactical jousting game with mind games (bluffing bump vs side dodge). - Group games (n>4): Modeled as a king-of-the-hill single-elimination tournament bracket. - Physical-skill games: Core balance reflexes and one-legged hopping fatigue are abstracted into balance points and stamina meters. - What is lost in the adaptation: The physical jarring impact of shoulder-to-shoulder collisions and the comedic wobbling of tired one-legged hops. ## Implementation hints Very low complexity. Requires basic 2D vector coordinates and a 3×3 action interaction matrix. First milestone: implement R1–R4 and verify that bump force and side dodges correctly trigger balance degradation and boundary pushes.

Download as JSON

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

Download JSON
Cite this page

Rooster Fight / One-Legged Joust (North Macedonia). (n.d.). Games of Countries. https://gamesofcountries.com/games/mk-north-macedonia/borba-na-petli

@misc{gamesofcountries-mk-north-macedonia-borba-na-petli,
  title = {Rooster Fight / One-Legged Joust (North Macedonia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/mk-north-macedonia/borba-na-petli}
}