Formal Specification
German Nine-Pin Bowling — Formal Specification
Germany · dexterity-throw · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Neunkegeln — AI-optimized specification
## General idea
A sequential precision bowling simulation where agents deliver a hole-less bowling ball along a lane to knock down a 9-pin diamond formation. The simulation operates across two distinct game phases: full rack reset on every throw (*Volle*) and stateful iterative deck clearance (*Abräumen*). The physical ball trajectory, lane friction, ball spin (*Effet*), and multi-pin chain collisions are modeled through a parameterized pinfall transition kernel.
## Formal model
- **Abstraction taken:** The continuous rolling dynamics along the 19.5 m lane are abstracted into an agent decision over , which queries a stochastic collision simulator or transition table to determine the subset of standing pins knocked down.
- **Player/agent count:** 1 to agents competing sequentially (standard match: 2 agents or 2 teams).
- **Turn model:** Strictly sequential throws in fixed round order.
## Formal rules
R1. **Pin Configuration:** 9 pins indexed arranged in a diamond: (front), (left/right front), (left/right flanks), (center King), (left/right rear), (back). The deck state is a bitmask where denotes standing and denotes felled. Full rack is .
R2. **Match Structure:** A standard set consists of throws in *Volle* mode followed by throws in *Abräumen* mode (total 30 throws per player).
R3. **Volle Phase:** For throws :
- Pin state is initialized to .
- Agent submits `roll(pocket_target, speed, spin)`.
- Pinfall outcome bitmask is sampled.
- Points scored for throw : .
- Total score increments: .
R4. **Abräumen Phase:** For throws :
- If current pin state (deck empty) or at the start of phase: .
- Agent submits `roll(pocket_target, speed, spin)`.
- Pinfall outcome is sampled.
- Points scored: .
- State updates: .
- Total score increments: .
R5. **Gutter Foul:** If the sampled ball trajectory enters the gutter, , .
R6. [gap-fill] Tie-Breaking Rule:** If two or more agents have identical total pinfall after all 30 throws, the winner is determined by: (1) higher total score in *Abräumen*, then (2) count of 9-pin strikes (*Alle Neune*), then (3) a 5-throw sudden-death *Volle* shootout.
R7. **Win Condition:** The agent with the highest cumulative pinfall score at the completion of all designated throws wins.
## Edge cases
- Tie at the end condition: Resolved via R6 hierarchy (Abräumen score strike count sudden-death shootout).
- A player with no legal move: Not applicable; `roll(target, speed, spin)` is always valid.
- Repetition / cycles: Impossible; throw counts are fixed and strictly decrement.
- Simultaneous claims on the same resource or position: Turns are strictly sequential.
- Player elimination mid-round; turn order repair: An agent disconnection skips the remaining throws, finalizing their score at the point of exit.
- Resource exhaustion (pieces, tokens, space, time): Pins are reset automatically per R3 and R4.
- Termination guarantee: why the game provably ends: Guaranteed because total throw count per agent is finite and bounded by 30 throws.
## State representation
- **Persistent state:** Active phase (`Volle` / `Abräumen`), throw counter , cumulative scores, historical throw log.
- **Per-player state:** Individual score, remaining throws in current phase, current standing pin bitmask .
- **Per-turn ephemeral state:** Chosen aim parameters, sampled pinfall bitmask , instantaneous point delta .
- **Observable information:** Perfect information; current pin layout , scores, and throw counters are fully public.
## Action space
- `roll(pocket_target, speed, spin)`:
- `pocket_target` : lateral aim coordinate (0.0 = headpin center).
- `speed` : normalized delivery velocity.
- `spin` : lateral rotational curl / Effet.
Precondition: agent is active with remaining throws in current set.
## Playability notes
- Single-player-vs-AI: Engine-ready; standard solitary high-score optimization or head-to-head match against AI bowlers.
- Group games (n>4): Naturally scales to any number of players alternating sets.
- Physical-skill games: Physical delivery is mapped to a probability distribution over fallen pin subsets conditioned on standing pins and aim error.
- What is lost in the adaptation: Fine tactile finger friction, acoustic crash of wooden pins, and lane surface oil variations.
## Implementation hints
Very clean state-machine architecture. The core requirement is modeling the conditional transition . Milestone 1: implement pin bitmask tracker with full *Volle* and *Abräumen* scoring rules, verify against standard Kegel league scorecards.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
German Nine-Pin Bowling (Germany). (n.d.). Games of Countries. https://gamesofcountries.com/games/de-germany/neunkegeln
@misc{gamesofcountries-de-germany-neunkegeln,
title = {German Nine-Pin Bowling (Germany)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/de-germany/neunkegeln}
}