Skip to main content
Formal Specification

Strike the Cat out of the Barrel / Barrel Hitting — Formal Specification

Denmark · festival-ritual · Confidence: high

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: abstractedGap-fills: 3
# Slå katten af tønden — AI-optimized specification ## General idea A festive Shrovetide (Fastelavn) turn-based target destruction game. Participants line up in fixed queue rotation to deliver full two-handed swings with a heavy wooden bat against a suspended wooden stave barrel. The player whose strike knocks out the bottom of the barrel is crowned the Cat Queen (*Kattedronning*), and the player who knocks down the very last remaining wooden stave is crowned the Cat King (*Kattekonge*). ## Formal model - **Abstraction taken:** Continuous wood stress fractures, metal hoop failure, and stave splintering are abstracted into discrete damage-point pools for the barrel bottom and S individual hanging staves. Club impacts deliver damage sampled from a distribution parameterized by player physical strength and swing accuracy. - **Player/agent count:** 5 to 30 players. - **Turn model:** Strictly sequential single-strike turns in cyclic queue order. ## Formal rules R1. **Barrel Structure & Setup:** The suspended barrel is initialized with: - Bottom plate durability Hbottom=100 HP. - A set of S=12 staves {s1…sS}, each with durability hk=25 HP. - Royal titles initialized: Queen=None, King=None. - Player queue Q=⟨p1,p2,…,pN⟩. R2. **Strike Execution:** On player p's turn, they submit action `strike_barrel(power)` with power ∈(0,1.0]. The delivered impact energy is computed as E=power⋅θstr,p⋅η, where θstr,p∈[0.5,1.5] is player strength and η∼𝒰(0.8,1.2) is impact efficiency. R3. **Damage Distribution:** Impact energy is partitioned into: - Bottom damage: Dbot=E⋅0.6 (if Hbottom>0). - Stave damage: Dstave=E⋅0.4, distributed across remaining upright staves. R4. **Cat Queen Milestone:** - If Hbottom>0 and Hbottom−Dbot≤0: the bottom plate falls out, Hbottom←0, and player p is immediately awarded the title Queen=p. R5. **Cat King Milestone:** - When an individual stave's health reaches hk≤0, it is marked `Fallen` and removed from the active set. - If player p's strike causes the number of remaining upright staves to reach exactly 0, player p is immediately crowned King=p. R6. **Match Termination:** The game ends immediately upon the coronation of the Cat King (when remaining staves =0). R7. [gap-fill] Simultaneous Stave Collapse:** If a single strike causes the last multiple standing staves to fall simultaneously, the active striker is awarded the King title without ambiguity. R8. [gap-fill] Turn Rotation:** Each player delivers exactly 1 swing per turn; upon resolution, the turn passes to (p(modN))+1. ## Edge cases - Tie at the end condition: Not applicable; turns are strictly sequential, and titles are awarded atomically to the specific striker whose blow triggers the threshold breach. - A player with no legal move: `strike_barrel` is always legally available while staves remain. - Repetition / cycles: Bounded; every legal strike delivers positive damage E>0, strictly decreasing total barrel health ∑hk+Hbottom monotonically toward 0. - Simultaneous claims on the same resource or position: Strikes are executed one at a time with full state resolution before the next player steps up. - Player elimination mid-round; turn order repair: If a player leaves the queue, they are removed from Q and turn rotation continues among remaining players. - Resource exhaustion (pieces, tokens, space, time): Barrel staves are permanently destroyed/fallen and cannot be restored. - Termination guarantee: why the game provably ends: [gap-fill] Total barrel health is finite (100+12×25=400 HP) and minimum damage per turn is bounded below by Emin>0, guaranteeing termination in a finite number of swings. ## State representation - **Persistent state:** Number of players N, player roster, player strength attributes {θstr,i}, royal title holders (Queen,King). - **Per-turn ephemeral state:** Bottom plate health Hbottom, stave health array {h1…hS}, active player index p, current strike energy E. - **Observable information:** Fully observable; all players publicly observe the physical state of the barrel, remaining staves, and current royal title holders. ## Action space - `strike_barrel(power)`: Parameter `power` ∈(0,1.0]. Precondition: player is active striker and remaining staves >0. ## Playability notes - Single-player-vs-AI: Needs adaptation; played as a timing/power arcade mini-game where the human tries to time the catastrophic failure strike against AI competitors in queue. - Group games (n>4): Natively accommodates large groups (N∈[5,30]) via the queue rotation model. - Physical-skill games: Two-handed bat swing mechanics and impact physics are abstracted into scalar energy delivery. - What is lost in the adaptation: The physical thunderous sound of wood shattering, flying candy scramble, and festive Fastelavn costume pageantry. ## Implementation hints Very low complexity. Standard linear health-depletion simulation with two threshold event triggers (bottom breach and final stave removal). First milestone: implement queue rotation and verify Queen/King title assignment triggers across a 10-player simulated queue.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Strike the Cat out of the Barrel / Barrel Hitting (Denmark). (n.d.). Games of Countries. https://gamesofcountries.com/games/dk-denmark/sla-katten-af-toenden

@misc{gamesofcountries-dk-denmark-sla-katten-af-toenden,
  title = {Strike the Cat out of the Barrel / Barrel Hitting (Denmark)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/dk-denmark/sla-katten-af-toenden}
}