Skip to main content
Formal Specification

German Nine-Pin Bowling — Formal Specification

Germany · dexterity-throw · Confidence: high

← Back to game page

Implementation 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 (aim_pocket,speed,spin), which queries a stochastic collision simulator or transition table to determine the subset of standing pins knocked down. - **Player/agent count:** 1 to N 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 1…9 arranged in a diamond: 1 (front), 2,3 (left/right front), 4,6 (left/right flanks), 5 (center King), 7,8 (left/right rear), 9 (back). The deck state is a bitmask B∈{0,1}9 where 1 denotes standing and 0 denotes felled. Full rack is Bfull=1111111112. R2. **Match Structure:** A standard set consists of Nvolle=15 throws in *Volle* mode followed by Nabraeumen=15 throws in *Abräumen* mode (total 30 throws per player). R3. **Volle Phase:** For throws t=1…Nvolle: - Pin state is initialized to B=Bfull. - Agent submits `roll(pocket_target, speed, spin)`. - Pinfall outcome bitmask F⊆B is sampled. - Points scored for throw t: ΔP=popcount(F). - Total score increments: Score←Score+ΔP. R4. **Abräumen Phase:** For throws t=1…Nabraeumen: - If current pin state B=0000000002 (deck empty) or at the start of phase: B←Bfull. - Agent submits `roll(pocket_target, speed, spin)`. - Pinfall outcome F⊆B is sampled. - Points scored: ΔP=popcount(F). - State updates: B←B∖F. - Total score increments: Score←Score+ΔP. R5. **Gutter Foul:** If the sampled ball trajectory enters the gutter, F=∅, ΔP=0. 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 Nvolle+Nabraeumen=30 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 t∈{1…30}, cumulative scores, historical throw log. - **Per-player state:** Individual score, remaining throws in current phase, current standing pin bitmask B. - **Per-turn ephemeral state:** Chosen aim parameters, sampled pinfall bitmask F, instantaneous point delta ΔP. - **Observable information:** Perfect information; current pin layout B, scores, and throw counters are fully public. ## Action space - `roll(pocket_target, speed, spin)`: - `pocket_target` ∈[−1.0,1.0]: lateral aim coordinate (0.0 = headpin center). - `speed` ∈[0.0,1.0]: normalized delivery velocity. - `spin` ∈[−1.0,1.0]: 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 P(F|B,target). 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 JSON
Cite 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}
}