Formal Specification
Dodgeball (Belarusian Vybivach / Ball Elimination) — Formal Specification
Belarus · ball-team · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Vybivach (Выбівач) — AI-optimized specification
## General idea
A traditional corridor dodgeball game where two exterior throwers throw a ball back and forth to strike and eliminate players dodging within a central zone. Dodgers may catch thrown balls in mid-air to earn extra lives or revive fallen teammates; the final surviving dodger enters a high-stakes survival trial to rescue the entire eliminated team.
## Formal model
- **Abstraction taken:** The court is partitioned into two boundary stations ( and ) occupied by Throwers and , and a central dodging rectangle containing Dodger agents. Ball throws, dodge evasion, and mid-air catch attempts are modeled via parameterized stochastic checks.
- **Player/agent count:** 2 Thrower agents (), Dodger agents (, with ).
- **Turn model:** Alternating throw sequence between and , with simultaneous dodging/catching reactions from active dodgers.
## Formal rules
R1. Setup:
- Throwers and start at baseline and respectively.
- All Dodgers start inside the central zone with `is_active = true` and `lives = 0`.
- holds the ball at start.
R2. Throw Phase:
- Active thrower executes `throw_ball(target_dodger_id, velocity)`.
- Active dodgers within trajectory zone submit either `evade()` or `attempt_catch()`.
R3. Throw Resolution:
- **Catch (*Свечка*):** If targeted dodger executes `attempt_catch()` and succeeds on a stochastic catch roll, dodger is safe and increments `lives` by 1 (or may immediately execute `revive_teammate()` to restore the earliest eliminated dodger to the court).
- **Valid Hit:** If the ball strikes a dodger and touches ground (and no catch occurs):
- If targeted dodger has `lives > 0`, `lives` decrements by 1; dodger remains active.
- If targeted dodger has `lives == 0`, dodger is set to `is_active = false` and exits the court.
- **Miss:** Ball travels across the court to the opposing baseline thrower without striking any dodger.
- Turn passes to the opposing thrower .
R4. Head-Strike Foul:
- Any strike targeting the head/face is ruled a foul; the throw is void and the dodger remains active.
R5. Final Survivor Trial (*Апошні выбівач*):
- When exactly 1 dodger remains with `is_active = true` and all eliminated dodgers have 0 pooled lives, the survivor trial initiates.
- Survivor must endure consecutive valid throws (, per standard adaptation of entry §4.2) [gap-fill: fixed trial count of 10 throws].
- **Rescue Victory:** If the survivor survives all throws without being hit, all eliminated dodgers are revived (`is_active = true`), and normal play resumes.
- **Thrower Victory:** If the survivor is hit during the trial, the Throwers win the match.
R6. Role Handover:
- Upon Thrower Victory, the first two dodgers eliminated during the game are designated as the new Throwers for the subsequent match.
## Edge cases
- Tie at the end condition: Not applicable; match terminates decisively in Thrower Victory or continues upon team rescue.
- A player with no legal move: Not applicable; throwers must throw to the other baseline; dodgers must evade or attempt catch.
- Repetition / cycles: While team rescues can theoretically extend play, each throw carries an independent positive hit probability against a finite set of dodgers.
- Simultaneous claims on the same position: Multiple dodgers may occupy nearby spatial coordinates; ball trajectory selects primary contact target.
- Elimination mid-round and turn-order repair: Dodgers are eliminated and exit active play; thrower alternation between and is invariant to dodger count.
- Resource exhaustion: Ball is singular and conserved between baselines.
- Termination guarantee: Each throw has a strictly positive probability of eliminating an active dodger without a catch. Because catching bonus lives has bounded probability and the final survivor trial consists of exactly throws with hazard rate , the survival probability over repeated cycles decays exponentially to 0, ensuring almost-sure termination. [gap-fill: a match-level cap of team rescues guarantees strict termination].
## State representation
- Persistent state:
- `active_dodgers`: Set of active dodger IDs.
- `eliminated_queue`: Ordered list of eliminated dodger IDs.
- `dodger_lives`: Map of dodger ID integer lives.
- `trial_active`: Boolean.
- `trial_throws_remaining`: Integer .
- Ephemeral state:
- `ball_holder`: ID .
- `dodger_positions`: Map of dodger ID .
- Observable information: Fully observable positions, lives, and active rosters.
## Action space
- `throw_ball(target_id, power)`: Thrower baseline delivery.
- `evade()`: Dodger spatial dodge reaction.
- `attempt_catch()`: High-risk/reward reaction to catch ball in mid-air.
- `revive_teammate(target_id)`: Spend bonus life to restore eliminated player.
## Playability notes
- Single-player-vs-AI: Highly dynamic arcade/sports game; human player controls a Dodger dodging and timing mid-air catches, or plays Thrower coordinating pincer attacks with AI partner.
- Group reduction: Reducible to 2 Throwers and 2 Dodgers.
- Physical-skill games: Real-time ball flight reaction, athletic diving dodges, and finger sting from catching are mapped to stochastic attribute checks.
- What is lost: The physical impact of soft rubber balls, court echoes, and communal cheer on successful team rescue.
## Implementation hints
Model as a corridor court with alternating thrower states. First milestone: implement alternating throw loop, dodger hit/elimination checks, and candle catches before adding the final survivor trial counter.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Dodgeball (Belarusian Vybivach / Ball Elimination) (Belarus). (n.d.). Games of Countries. https://gamesofcountries.com/games/by-belarus/vybivach
@misc{gamesofcountries-by-belarus-vybivach,
title = {Dodgeball (Belarusian Vybivach / Ball Elimination) (Belarus)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/by-belarus/vybivach}
}