Skip to main content
Formal Specification

Striking the Barrel — Formal Specification

Iceland · festival-ritual · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: abstractedGap-fills: 5
# Slá köttinn úr tunnunni — AI-optimized specification ## General idea The definitive traditional festive game of Ash Wednesday (*Öskudagur*) in Iceland. Participants dressed in costumes take turns in single file swinging a heavy wooden club at a suspended wooden barrel filled with treats. Gameplay centers on cumulative structural degradation across two decisive milestone crowns: the player who delivers the blow that knocks out the bottom board to release the candy is crowned *Kattarkóngur* (Cat King), and the player who demolishes the very last hanging stave is crowned *Tunnukóngur* (Barrel King). ## Formal model - **Abstraction taken:** Physical barrel construction, wood grain fracturing, and club momentum are abstracted into a dual-integrity structural health model: Bottom Integrity (Hbottom) and Frame Integrity (Hframe). Players take turns selecting swing power and target zone, applying stochastic damage until the two statutory breakthrough events occur. [gap-fill] Numerical health pools, damage formulas, and turn cycling formalize community festival customs. - **Player/agent count:** N participants (modeled as N=8 in standard queue). - **Turn model:** Strictly sequential single-action queue rotation. ## Formal rules R1. Setup: A wooden barrel is suspended overhead with two independent structural health pools: - Hbottom=100.0 (Bottom board integrity) [gap-fill]. - Hframe=250.0 (Frame and stave integrity) [gap-fill]. - N participants form a static cyclic queue Q=[P0,P1,…,PN−1]. R2. Turn Structure: On each turn, the active player Pi steps up and executes exactly **one swing** with the wooden club, selecting a target focus: 1. `strike_bottom()`: Targets Hbottom. Damage dealt: D=(Strength×ForceMultiplier)+ϵ, where ϵ∼𝒩(0,σ2) [gap-fill]. 2. `strike_staves()`: Targets Hframe. Damage dealt applies to frame integrity. 3. Collateral damage: A strike to the bottom inflicts 30% collateral damage to the frame (Dframe=0.3×D), and vice versa [gap-fill]. R3. Milestone 1 — Crown of the Cat King (*Kattarkóngur*): - When Hbottom reaches ≤0.0 for the first time, the bottom board collapses and candy spills to the ground. - The active player Pi who delivered that decisive blow is immediately crowned **Kattarkóngur** (Cat King) or **Kattardrottning** (Cat Queen). - Hbottom is retired; all subsequent swings must target the remaining frame (Hframe). R4. Milestone 2 — Crown of the Barrel King (*Tunnukóngur*): - Striking continues in queue order against the remaining hanging frame and staves. - When Hframe reaches ≤0.0, the final hanging stave or ring is shattered. - The active player Pj who delivered that final strike is immediately crowned **Tunnukóngur** (Barrel King) or **Tunnudrottning** (Barrel Queen). - The game terminates immediately. R5. Turn Advancement: After each swing, if the frame has not fully collapsed, the club passes to the next participant in the queue: i←(i+1)(modN). ## Edge cases - Tie at the end condition: Not applicable — turns are strictly sequential; damage thresholds are breached by a unique individual swing. - A player with no legal move: Not applicable — the active player in queue always has a legal strike action available. - Repetition / cycles: Impossible — damage is strictly non-negative (D≥ϵmin⁡>0), meaning Hbottom and Hframe decrease monotonically toward zero. - Simultaneous claims on the same resource or position: Not applicable — only one participant swings at a time per queue rules. - Player elimination mid-round; turn order repair: No player is eliminated; turn rotation continues cyclically through the queue until structural demolition is complete. - Resource exhaustion: Structural integrity pools are finite; players cycle without exhausting actions. - Termination guarantee: Guaranteed by monotonic degradation of finite health pools (Hbottom,Hframe) under positive minimum per-swing damage bounds. ## State representation - Persistent state: - `queue`: list of participant IDs. - `active_turn_index`: integer `[0..N-1]`. - `bottom_integrity`: float Hbottom. - `frame_integrity`: float Hframe. - `cat_king_id`: optional agent ID. - `barrel_king_id`: optional agent ID. - `game_status`: `{INTACT, BOTTOM_BROKEN, DEMOLISHED}`. - Per-turn ephemeral state: - `current_striker`: agent ID. - `chosen_target`: `{BOTTOM, FRAME}`. - `damage_dealt`: float. - Observable information: - Complete information: current queue order, estimated structural damage on the barrel, and crowned champions are fully public to all participants. ## Action space - `strike(target: {BOTTOM, FRAME}, swing_power: [0.5..1.0])`: Deliver single club strike at chosen target. ## Playability notes - Single-player-vs-AI: Natural — human player occupies one queue slot, timing swing power and target selection to maximize the probability of landing the decisive breakthrough blow on their turn. - Group games (n>4): Scales naturally to 50+ participants by simply extending the cyclic queue list. - Physical-skill games: Upper-body swinging velocity, impact accuracy, and wooden stave physics are mapped to damage multipliers and normal noise distributions. - What is lost in the adaptation: The carnival sensory atmosphere (fancy dress costumes, singing traditional songs, and the rush to scoop up candies from the floor) is translated into discrete health-pool thresholds. ## Implementation hints - Implement the barrel as a composite entity with two health bars and a breakdown listener for each crown event. - Strategic tension arises from "softening" the barrel for the next player vs attempting a high-risk power swing to claim the crown yourself. - Suggested first milestone: implement queue rotation, damage application, Hbottom≤0 Cat King trigger, and Hframe≤0 Barrel King game termination.

Download as JSON

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

Download JSON
Cite this page

Striking the Barrel (Iceland). (n.d.). Games of Countries. https://gamesofcountries.com/games/is-iceland/sla-kottinn-ur-tunnunni

@misc{gamesofcountries-is-iceland-sla-kottinn-ur-tunnunni,
  title = {Striking the Barrel (Iceland)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/is-iceland/sla-kottinn-ur-tunnunni}
}