Formal Specification
Roundball — Formal Specification
Denmark · ball-team · Confidence: high
← Back to game pageImplementation 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 () with tick-based advance intervals. Ball flight distance and fielding retrieval are modeled as an arrival time 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 (). 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 and a set of eliminated runners .
R3. **Batter Turn:** The active batter receives up to 3 strike attempts to put the ball in play:
- Failing 3 attempts results in an immediate out ().
- A legal hit produces a ball trajectory with fly time and total fielding relay time .
- If a fielder catches the ball in the air before landing (), the hit is a `fly_catch`: is immediately out () and no base running is allowed.
R4. **Base Running:** On a valid ground hit, the batter and any active runners stationed on choose how many bases to advance: . Traversal of each base segment takes ticks.
R5. **Stopper Call & Outs Resolution:** At time , the stopper receives the ball at the stop cone and triggers `"STOP"`:
- Any runner who is in transit between bases (distance traveled ) is caught off base and eliminated ().
- Any runner who successfully reached a base () is safe and remains stationed on .
- Any runner reaching scores 1 point for the batting team and returns to the rear of queue .
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 () on their own hit before `"STOP"` is called, the team scores 1 point, and all players currently in are liberated and returned to the rear of batting queue .
R8. **Inning Turnover:** Teams switch roles (Batting Fielding) upon the occurrence of either:
- 3 outs accumulated in the half-inning (), OR
- Batting queue becomes empty with all living players stranded on field bases ().
R9. [gap-fill] Match Termination & Win Condition:** The match is played over 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 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 and is skipped in queue 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 in R9.
## State representation
- **Persistent state:** Roster of both teams, cumulative team scores , current inning , half-inning role assignment.
- **Per-half-inning ephemeral state:** Batting queue , set , base station occupancy , 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 , launch angle .
- `advance_bases(runner_id, num_bases)`: Runner action. Parameter: .
- `relay_to_stopper()`: Fielder action. Computes .
## 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 , (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 JSONCite 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}
}