Skip to main content
Formal Specification

Roundball — Formal Specification

Denmark · ball-team · Confidence: high

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Rundbold — AI-optimized specification ## General idea A traditional Danish four-base batting and running team sport. An in-team (batters) hits a ball into the field and advances runners around four corner bases to score points, while the out-team (fielders) catches fly balls or relays grounders to a designated home-base "stopper". When the stopper calls "STOP" at the base cone, all runners caught between bases are eliminated, while a single-hit full circuit (home run) liberates all eliminated teammates. ## Formal model - **Abstraction taken:** Continuous trajectory ballistics, fielding relays, and base running sprints are discretized onto a 4-node directed cycle graph (B1→B2→B3→Bhome) with tick-based advance intervals. Ball flight distance and fielding retrieval are modeled as an arrival time τfield sampled from a distribution parameterized by batter contact quality and fielding skill. - **Player/agent count:** 2 teams, each consisting of 6 to 12 players. - **Turn model:** Sequential batter turns within a half-inning; simultaneous base-running decisions during ball flight; alternating team innings. ## Formal rules R1. **Setup & Roles:** Field consists of a home batting area, a stop cone at home base, and 3 field bases arranged in a diamond (B1,B2,B3). Team A starts as `Batting` (In-team); Team B starts as `Fielding` (Out-team). R2. **Batting Queue & Elimination Set:** Batting team maintains an active FIFO queue Q=⟨p1…pM⟩ and a set of eliminated runners Dead=∅. R3. **Batter Turn:** The active batter pactive=pop(Q) receives up to 3 strike attempts to put the ball in play: - Failing 3 attempts results in an immediate out (pactive→Dead). - A legal hit produces a ball trajectory with fly time tfly and total fielding relay time τfield∼𝒟(hit_power,fielding_skill). - If a fielder catches the ball in the air before landing (t≤tfly), the hit is a `fly_catch`: pactive is immediately out (pactive→Dead) and no base running is allowed. R4. **Base Running:** On a valid ground hit, the batter and any active runners stationed on B1,B2,B3 choose how many bases to advance: Δb∈{0…4}. Traversal of each base segment takes τbase=3 ticks. R5. **Stopper Call & Outs Resolution:** At time τfield, the stopper receives the ball at the stop cone and triggers `"STOP"`: - Any runner who is in transit between bases (distance traveled <k⋅τbase) is caught off base and eliminated (→Dead). - Any runner who successfully reached a base Bk (k∈{1,2,3}) is safe and remains stationed on Bk. - Any runner reaching Bhome scores 1 point for the batting team and returns to the rear of queue Q. R6. [gap-fill] Base Occupancy Limit:** A maximum of 2 runners may occupy the same base simultaneously. If a third runner reaches a base, the earliest resident runner is forced to attempt an advance to the next base. R7. **Home Run & Liberation (*Rundbold*):** If the batter completes all 4 bases (B1→B2→B3→Bhome) on their own hit before `"STOP"` is called, the team scores 1 point, and all players currently in Dead are liberated and returned to the rear of batting queue Q. R8. **Inning Turnover:** Teams switch roles (Batting ↔ Fielding) upon the occurrence of either: - 3 outs accumulated in the half-inning (|Dead|≥3), OR - Batting queue Q becomes empty with all living players stranded on field bases (|Q|=0). R9. [gap-fill] Match Termination & Win Condition:** The match is played over Imax=6 complete innings (3 batting half-innings per team). The team with the highest aggregate point total at match conclusion wins. If tied, [gap-fill] one extra sudden-death inning is played. ## Edge cases - Tie at the end condition: Resolved by R9 (extra inning sudden death). - A player with no legal move: If all fielders are positioned and queue has runners, batter must strike; if 3 strikes miss, R3 out-resolution applies. - Repetition / cycles: Bounded by finite innings Imax=6 in R9. - Simultaneous claims on the same resource or position: Base capacity is 2; R6 forces the earliest runner forward if a 3rd runner arrives. - Player elimination mid-round; turn order repair: An eliminated player transitions to Dead and is skipped in queue Q until liberated via R7. - Resource exhaustion (pieces, tokens, space, time): Conserved discrete player entities and fixed base nodes. - Termination guarantee: why the game provably ends: Guaranteed by the fixed maximum inning bound Imax in R9. ## State representation - **Persistent state:** Roster of both teams, cumulative team scores (SA,SB), current inning i∈{1…Imax}, half-inning role assignment. - **Per-half-inning ephemeral state:** Batting queue Q, set Dead, base station occupancy {B1,B2,B3}, half-inning out counter. - **Observable information:** Fully observable; both teams observe base occupancy, queue order, out count, and score. ## Action space - `strike_ball(power, angle)`: Batter action. Parameters: power ∈[0,1], launch angle ∈[0∘,90∘]. - `advance_bases(runner_id, num_bases)`: Runner action. Parameter: Δb∈{0,1,2,3,4}. - `relay_to_stopper()`: Fielder action. Computes τfield. ## Playability notes - Single-player-vs-AI: Highly playable; human acts as batter/runner with AI managing field relays, or as fielding team setting defensive positioning. - Group games (n>4): Can be scaled down to 4v4 without losing core base-running, stopper calls, and home-run liberation mechanics. - Physical-skill games: Batting precision and fielder relays are modeled via parametric distributions over ball trajectory and distance. - What is lost in the adaptation: The somatic thrill of sliding into base cones, physical wooden bat impact, and chaotic playground communication. ## Implementation hints Medium complexity. Architecture requires: (1) an inning state machine managing (Q,Dead,Bases), (2) a relay timer generator for ball flight, and (3) a discrete base-advance resolver against the stopper's arrival timestamp. First milestone: implement single half-inning simulation with deterministic 3-base layout and verify liberation resets.

Download as JSON

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

Download JSON
Cite this page

Roundball (Denmark). (n.d.). Games of Countries. https://gamesofcountries.com/games/dk-denmark/rundbold

@misc{gamesofcountries-dk-denmark-rundbold,
  title = {Roundball (Denmark)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/dk-denmark/rundbold}
}