Formal Specification
Strike the Cat out of the Barrel / Barrel Hitting — Formal Specification
Denmark · festival-ritual · Confidence: high
← Back to game pageImplementation 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 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 .
- A set of staves , each with durability .
- Royal titles initialized: , .
- Player queue .
R2. **Strike Execution:** On player 's turn, they submit action `strike_barrel(power)` with power . The delivered impact energy is computed as , where is player strength and is impact efficiency.
R3. **Damage Distribution:** Impact energy is partitioned into:
- Bottom damage: (if ).
- Stave damage: , distributed across remaining upright staves.
R4. **Cat Queen Milestone:**
- If and : the bottom plate falls out, , and player is immediately awarded the title .
R5. **Cat King Milestone:**
- When an individual stave's health reaches , it is marked `Fallen` and removed from the active set.
- If player 's strike causes the number of remaining upright staves to reach exactly 0, player is immediately crowned .
R6. **Match Termination:** The game ends immediately upon the coronation of the Cat King (when remaining staves ).
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 .
## 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 , strictly decreasing total barrel health 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 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 () and minimum damage per turn is bounded below by , guaranteeing termination in a finite number of swings.
## State representation
- **Persistent state:** Number of players , player roster, player strength attributes , royal title holders .
- **Per-turn ephemeral state:** Bottom plate health , stave health array , active player index , current strike energy .
- **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` . Precondition: player is active striker and remaining staves .
## 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 () 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 JSONCite 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}
}