Skip to main content
Formal Specification

German Dodgeball / Two-Courts Ball — Formal Specification

Germany · ball-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Völkerball / Zweifelderball — AI-optimized specification ## General idea A multi-agent team elimination and dodgeball game on a bounded 2D court consisting of two interior fields flanked by active perimeter backcourt zones (*Außenfelder*). Agents throw a single ball to eliminate opposing interior players on direct airborne hits. Eliminated players move to the perimeter behind the opponent, creating a pincer attack zone. When all interior players on a team are eliminated, their team's King enters the field with 3 discrete lives. ## Formal model - **Abstraction taken:** The 18 m×9 m court is discretized into a 2D coordinate space with main zones: Team A Infield IA=[−9,0]×[−4.5,4.5], Team B Infield IB=[0,9]×[−4.5,4.5], and perimeter outfields OA=[9,12]×[−4.5,4.5] (behind IB) and OB=[−12,−9]×[−4.5,4.5] (behind IA). Real-time simulation runs on synchronized ticks Δt=0.1 s. Ball throws follow ballistic trajectories with discrete catch and dodge resolution checks. - **Player/agent count:** 2 teams (A and B), N agents per side (standard N=8: 1 King + 7 Infielders). - **Turn model:** Synchronized real-time ticks with possession and ball flight states. ## Formal rules R1. **Court & Initial Setup:** - Team A infielders A1…AN−1 are placed in IA. Team A King (KA) starts in OA. - Team B infielders B1…BN−1 are placed in IB. Team B King (KB) starts in OB. - Kings have Lives=3. Infielders have Lives=1. R2. **Ball Possession & Legal Throw:** - An agent possessing the ball within their designated zone may submit `throw_ball(target_pos, velocity, intent)`: - `intent` ∈{attack_opponent,pass_to_teammate}. - Throws cannot cross boundary lines on foot; stepping over court lines is an immediate turnover. R3. **Ball Flight & Interception/Catch:** - When an attack throw targets agent j: - Agent j may submit `dodge(direction)` or `attempt_catch()`. - Catch probability: Pcatch=Skillcatch×(1.0−velocity/vmax)⋅cos⁡(αangle). - If catch succeeds: throw is neutralized, no elimination occurs, and agent j gains possession. R4. **Hit & Elimination (*Abwerfen*):** - If the ball contacts agent j airborne (z>0) without a clean catch: - If agent j is an infielder (Lives=1): agent j is eliminated from Iteam and immediately relocates to Oteam (behind opposing infield). - If agent j is the King (Kteam): Livesking←Livesking−1. R5. **Outfield Attack & Redemption (*Freispielen*):** - An eliminated agent in Oteam receiving a pass may execute an attack throw into the opponent's infield. - If an outfield agent eliminates an opposing infielder, that outfield agent is redeemed and immediately returns to their team's main infield Iteam. R6. **King Entry (*Königseinzug*):** - When all infielders of Team T are in OT (|IT|=0), the King KT must immediately move from OT into IT. - The King plays inside IT with remaining lives until eliminated. R7. [gap-fill] Boundary / Step-Fault Turnover:** If a ball rolls out of court bounds without contact, possession is awarded to the nearest outfield player. R8. [gap-fill] Match Time Ceiling:** If a match exceeds Tmax=6000 ticks (10 minutes) without King elimination, the team with more surviving infielders (or more King lives) wins immediately. R9. **Win Condition:** The team that eliminates the opposing King (Livesking=0) wins the match immediately. ## Edge cases - Tie at the end condition: Resolved via R8 (infield player count and King lives tally at Tmax; if identical, sudden-death 1v1 King shootout). - A player with no legal move: Non-ball-possessing agents continuously execute positioning and dodging vectors within their zone. - Repetition / cycles: Bounded strictly by monotonic King life decrements and hard match ceiling Tmax. - Simultaneous claims on the same resource or position: Ball possession on contested ground balls is awarded to the agent with smallest Euclidean distance at z=0. - Player elimination mid-round; turn order repair: Eliminated infielders transition seamlessly to outfielders; no turn order repair needed due to continuous real-time spatial physics. - Resource exhaustion (pieces, tokens, space, time): Single ball is tracked continuously; match clock strictly decrements to Tmax. - Termination guarantee: why the game provably ends: Guaranteed because King entries are forced when infielders are cleared, and Tmax provides an absolute finite terminal bound. ## State representation - **Persistent state:** Team rosters, King lives (LivesA,LivesB), match timer trem, score tally. - **Per-player state:** 2D position (xi,yi), role (`Infield`, `Outfield`, `King`), active lives, ball possession boolean. - **Per-turn ephemeral state:** Ball 3D state (x,y,z,vx,vy,vz), target agent ID, catch/dodge resolution outcome, live pass flag. - **Observable information:** Perfect information; 2D coordinates of all players, ball 3D state, King lives, and boundary lines are common knowledge. ## Action space - `move(dx, dy)`: spatial displacement bounded by player zone boundaries. - `throw_ball(target_pos, velocity, intent)`: projectile throw. Precondition: agent holds ball. - `dodge(direction)`: lateral evasion vector. Precondition: ball in flight toward agent. - `attempt_catch()`: airborne catch action. Precondition: ball in flight toward agent. ## Playability notes - Single-player-vs-AI: Natural; 1 human user controlling the King or lead thrower with AI teammates executing tactical pincer passes and cover. - Group games (n>4): 16–30 agents reduce cleanly to a 2-agent tactical simulator (1 coach per team directing passing networks, target priorities, and dodge zones). - Physical-skill games: Throw accuracy, evasion agility, and catch reflexes are parameterized via bivariate normal distributions conditioned on agent attributes. - What is lost in the adaptation: The visceral sting of the rubber dodgeball, school gym floor squeaks, and childhood playground drama. ## Implementation hints 2D spatial continuous-time grid engine. Milestone 1: implement 2D boundary collision, projectile trajectory, infield → outfield transition state machine, and King 3-life tracking.

Download as JSON

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

Download JSON
Cite this page

German Dodgeball / Two-Courts Ball (Germany). (n.d.). Games of Countries. https://gamesofcountries.com/games/de-germany/voelkerball

@misc{gamesofcountries-de-germany-voelkerball,
  title = {German Dodgeball / Two-Courts Ball (Germany)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/de-germany/voelkerball}
}