Formal Specification
Dodgeball / Stick-Ball / Tag Ball — Formal Specification
Denmark · ball-team · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Stikbold (Alle mod alle) — AI-optimized specification
## General idea
A high-tempo free-for-all dodgeball and tag-elimination game. Players scramble for a single foam ball inside an open court; a ball carrier may take up to 3 steps before throwing to strike an opponent below the neck. Hit players are seated on the floor, while catching a thrown ball eliminates the thrower. The core strategic dynamic is the "killer-liberation" memory chain: whenever an active player is eliminated, all players previously struck out by that specific player are instantly resurrected back into the match.
## Formal model
- **Abstraction taken:** Continuous court physics and ballistic dodging are discretized onto a bounded 2D Euclidean grid with simultaneous movement ticks. The dynamic resurrection system is formalized as a directed dependency graph , where a directed edge indicates that player was eliminated by player .
- **Player/agent count:** 6 to 30 players in an all-against-all battle royale.
- **Turn model:** Synchronized discrete ticks; simultaneous movement, real-time ball intercepts, and event-driven throw resolutions.
## Formal rules
R1. **Arena & Entities:** Bounded 2D court meters. players are initialized in status `Alive`. 1 ball token is placed at center . An elimination dependency graph is initialized with .
R2. **Ball Possession & 3-Step Constraint:** An `Alive` player co-located with a free ball () acquires possession. A ball carrier may take at most discrete movement steps before they must throw.
R3. **Throw Action:** The carrier submits action `throw_ball(target_id, power)`:
- Trajectory travels in a straight vector toward target .
R4. **Hit vs. Catch Resolution:**
- Target submits `attempt_catch()` or `attempt_dodge()`:
- *Direct Catch:* If attempts a catch, success is . If successful, thrower is eliminated (), edge is added to , and gains possession.
- *Direct Hit:* If catch fails or dodge is chosen, hit probability is . If hit, target is eliminated (), edge is added to , sits at current position, and the ball becomes free on the floor.
- *Miss:* If hit fails, the ball bounces loose onto the floor.
R5. **The Liberation Cascade (*Befrielse*):** Whenever any player transitions from `Alive` to `Dead`:
- All players such that are immediately liberated: .
- All outgoing edges from liberated players are removed from .
R6. **Headshot Foul:** A throw striking a target above the shoulders is an illegal foul; the thrower is immediately eliminated and added to the elimination graph as killed by the fouled target.
R7. **Victory Condition:** The match ends the moment exactly 1 `Alive` player remains on the court. That sole survivor is declared the victor.
R8. [gap-fill] Ball Stalling Limit:** If a player holds the ball for more than ticks without throwing, they commit a stall foul: possession is stripped, and the ball is dropped at their feet.
R9. [gap-fill] Match Time Limit:** If the match does not terminate after ticks due to recursive liberation cycles, the player with the highest total career eliminations credited across the match wins.
## Edge cases
- Tie at the end condition: If multiple players tie for highest eliminations at , a 2-player sudden-death 1v1 dodgeball shootout is triggered [gap-fill].
- A player with no legal move: `Dead` players are immobilized; `Alive` players always have legal `move` or `throw` actions.
- Repetition / cycles: Infinite loops of kill-and-resurrect are bounded strictly by the global tick limit in R9.
- Simultaneous claims on the same resource or position: If two `Alive` players reach a loose ball on the same tick, possession is awarded to the player with the higher agility attribute .
- Player elimination mid-round; turn order repair: An eliminated player remains physically seated on the court (acting as a passive obstacle) until resurrected via R5.
- Resource exhaustion (pieces, tokens, space, time): Conserved single ball and invariant player set; time bounded by .
- Termination guarantee: why the game provably ends: Guaranteed by the hard tick bound in R9.
## State representation
- **Persistent state:** Court dimensions (), player roster, player skill vectors , lifetime kill tallies .
- **Per-tick ephemeral state:** Player positions , player statuses , elimination graph , ball state (carrier ID, position, velocity, step counter), current tick .
- **Observable information:** Fully observable; all players observe all positions, ball location, living/dead statuses, and the full elimination dependency graph .
## Action space
- `move(dx, dy)`: 2D displacement vector. Precondition: agent is `Alive` (and steps if carrying ball).
- `grab_ball()`: Pick up loose ball. Precondition: agent is `Alive` and co-located with ball.
- `throw_ball(target_id, power)`: Launch ball at target. Precondition: agent holds ball.
- `attempt_catch()`: Defensive action. Precondition: agent is targeted by flying ball.
- `attempt_dodge()`: Defensive action. Precondition: agent is targeted by flying ball.
## Playability notes
- Single-player-vs-AI: Highly playable; human navigates spatial positioning, target prioritization, and risk-reward catching against AI opponents.
- Group games (n>4): Natively designed for 6 to 30 players; the killer-liberation dynamic thrives on large agent populations.
- Physical-skill games: Dodgeball throwing velocity, trajectory arcs, and reflex catching are abstracted into parameterized Bernoulli checks.
- What is lost in the adaptation: The somatic sting of foam impacts, live shouting of killer names, and scrambling scuffles on the gymnasium floor.
## Implementation hints
Medium complexity. Core architecture requires: (1) a directed graph data structure for supporting fast parent lookups on player death, (2) spatial proximity checks for loose ball pickups, and (3) a 2D line-of-fire raycaster for throws. First milestone: implement 6-player simulation and verify correct multi-tier resurrection cascades when a top killer is eliminated.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Dodgeball / Stick-Ball / Tag Ball (Denmark). (n.d.). Games of Countries. https://gamesofcountries.com/games/dk-denmark/stikbold
@misc{gamesofcountries-dk-denmark-stikbold,
title = {Dodgeball / Stick-Ball / Tag Ball (Denmark)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/dk-denmark/stikbold}
}