Formal Specification
Kubb (traditional Scandinavian wooden block throwing lawn game) — Formal Specification
Norway · dexterity-throw · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 6
# Kubb — AI-optimized specification
## General idea
Kubb is a tactical lawn-bowling and block-toppling team game played across a rectangular 5m × 8m pitch with a central King. Teams alternate casting 6 wooden batons to fell opposing blocks. Toppled blocks are ingressed into the opponent's territory as "field kubbs," dynamically altering target priority, throwing baselines, and geometric defense, ending in a final shot at the King under threat of instant defeat if toppled prematurely.
## Formal model
- **Abstraction taken:** Continuous 3D pitch dynamics, baton spin, and wood-on-wood collision cascades are abstracted into discrete target zones with 2D coordinate positions . Baton throws are modeled as target selections with stochastic toppling outcomes conditioned on distance, target cluster density, and agent throw skill. Field kubb throws are modeled as landing coordinate sampling with placement rules.
- **Player/agent count:** 2 teams (Team A and Team B), each with agents (standard model: 1v1 or 2v2).
- **Turn model:** Alternating team turns. Each team turn consists of: (1) Ingressing fallen kubbs, (2) Throwing 6 batons sequentially.
## Formal rules
R1. **Setup:** Pitch is meters. Baseline A is , Baseline B is , Centerline is . The King stands at . 5 kubbs are spaced evenly along each baseline.
R2. **Turn Sequence:** On Team 's turn:
1. **Ingress Phase:** If any opposing kubbs were felled during the opponent's previous turn, Team throws each fallen kubb into the opponent's half ( for Team A, for Team B). Kubbs are stood upright at their landing spots as **Field Kubbs**.
- If a thrown kubb lands out of bounds twice consecutively, the opposing team places it anywhere in their half at least 1 baton length ( m) from the King or corners [gap-fill].
2. **Advantage Baseline:** If any opposing field kubbs remain standing on Team 's half from earlier turns, Team 's throwing line advances to the -coordinate of the nearest standing field kubb.
3. **Baton Throwing Phase:** Team casts 6 batons underhand toward legal targets.
R3. **Target Priority Hierarchy:**
- A team must topple all standing **Field Kubbs** in the opponent's half before targeting any **Baseline Kubbs**.
- A team must topple all Field Kubbs and all Baseline Kubbs before targeting the **King**.
R4. **Throw Resolution:** For each baton cast at target at distance :
- Topple probability: [gap-fill].
- Unintended King strike: A stray throw has a baseline risk of hitting the King if aimed nearby [gap-fill].
R5. **Instant Loss Condition:** If a team topples the King at any point when legal non-King targets still remain standing on the pitch, that team loses the game immediately.
R6. **Victory Condition:** A team wins immediately if they legally topple the King from their original baseline after all opposing field and baseline kubbs are down.
R7. [gap-fill] **Cycle Termination / Move Cap:** If 50 complete rounds elapse without a King topple, the team that has felled the greater cumulative count of kubbs is declared the winner.
## Edge cases
- **Tie at the end condition:** Not applicable during standard play; a game ends on King topple (win/loss) or premature King topple (instant loss). If move cap triggers with equal felled kubbs, sudden-death 1-baton closest-to-king toss decides [gap-fill].
- **A player with no legal move:** Not applicable; batons must always be cast at legal hierarchy targets.
- **Repetition / cycles:** Ingressing can create cycles where field kubbs are knocked down and thrown back repeatedly; strictly bounded by R7 ( rounds) [gap-fill].
- **Simultaneous claims on the same resource or position:** Not applicable; batons are thrown sequentially one at a time.
- **Player elimination mid-round; turn order repair:** No player elimination within a match; baton throws rotate through team agents in fixed order.
- **Resource exhaustion:** 6 batons per turn; batons are collected and reused on every turn.
- **Termination guarantee:** Guaranteed by R5/R6 (King strike absorbing states) combined with R7 (50-round cap).
## State representation
- **Persistent state:** `kubbs` (list of 10 objects: `{id, owner: A|B, type: BASELINE|FIELD, pos: (x, y), status: STANDING|FALLEN}`), `king_status` , `active_team` , `round_number` .
- **Per-turn state:** `current_throwing_baseline_y`, `batons_remaining` , `kubbs_to_ingress` (list of kubb IDs).
- **Observable information:** Perfect public information. All block coordinates, statuses, and team baselines are fully observable.
## Action space
- `ingress_throw(kubb_id, target_x, target_y)`: Ingress action specifying landing coordinates in opponent's half.
- `cast_baton(target_kubb_id, aim_offset)`: Baton throw action specifying target block and aim adjustment.
- `cast_at_king()`: Final game-winning attempt at central King.
## Playability notes
- **Single-player-vs-AI:** Highly playable tactical game. Player manages field kubb clustering (grouping them close together to knock multiple down with one throw) vs. AI target priority heuristics.
- **Group games (n>4):** 2v2 to 6v6 reduces cleanly to a 2-agent duel where 1 agent commands all 6 baton throws per turn.
- **Physical-skill games:** Underhand vertical baton spin and wood recoil collisions are parameterized via distance decay and cluster multiplier models.
- **What is lost in the adaptation:** Tactile clack of birch blocks, grass turf irregularities, wind gusts, and sun glare.
## Implementation hints
- Model pitch geometry as a 2D coordinate system with bounding box checks ().
- Enforce the target hierarchy strictly in the action-mask generator before passing legal actions to the agent.
- Suggested first milestone: Implement the 4-phase turn cycle with synthetic 80% topple rates to verify advantage baseline advancement and King victory/instant-loss triggers.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Kubb (traditional Scandinavian wooden block throwing lawn game) (Norway). (n.d.). Games of Countries. https://gamesofcountries.com/games/no-norway/kubb
@misc{gamesofcountries-no-norway-kubb,
title = {Kubb (traditional Scandinavian wooden block throwing lawn game) (Norway)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/no-norway/kubb}
}