Formal Specification
Strike the Barrel — Formal Specification
Faroe Islands · festival-ritual · Confidence: high
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: abstractedGap-fills: 3
# Sláa tunnu — AI-optimized specification
## General idea
A traditional Faroese Shrovetide festival game where players line up in a queue to take turns striking a suspended wooden barrel with wooden bats. The barrel degrades under successive impacts until its bottom falls out (crowning the striker *Kattakongur* / Cat King) and its final stave breaks away (crowning the striker *Kattadrotning* / Cat Queen).
## Formal model
- **Abstraction taken:** The continuous mechanical fracture of wooden staves and barrel hoops is modeled as a two-stage discrete structural health pool: Bottom Health () and Stave Health (). [gap-fill] Each strike deals damage sampled from a strength/aim distribution, triggering discrete threshold events.
- **Player/agent count:** n agents (, commonly 5 to 20 participants in a cyclic queue).
- **Turn model:** Strictly sequential, cyclic turn order.
## Formal rules
R1. Setup: A barrel is initialized with Bottom Durability and Stave Durability (where , e.g. ). An ordered queue of agents is established .
R2. On agent 's turn, the agent delivers 1 strike to the barrel, selecting a swing profile:
- `power_swing`: Base damage , accuracy penalty [gap-fill] (15% chance to miss completely, ).
- `controlled_swing`: Base damage , 100% hit rate.
R3. Damage application:
- Phase 1 (Intact Bottom): If , damage is subtracted from . If , the bottom collapses. The striking agent is immediately crowned **Kattakongur** (Cat King). Remaining surplus damage is applied to .
- Phase 2 (Remaining Staves): Once the bottom is broken, subsequent strikes apply damage directly to .
R4. Cat Queen coronation: When a strike reduces , the final stave falls. The striking agent is immediately crowned **Kattadrotning** (Cat Queen).
R5. Turn rotation: After the strike resolves, the active agent moves to the rear of queue , and turn passes to the next agent in line.
R6. [gap-fill] Simultaneous title rule: A single agent may win both *Kattakongur* and *Kattadrotning* if they land the decisive blow in both phases.
R7. Termination: The game ends immediately when and both titles have been awarded.
## Edge cases
- Tie at the end condition: Not applicable — turns are sequential; each title is awarded to the single individual whose strike reduces the respective health pool to .
- A player with no legal move: Not applicable — striking actions are always available to the active agent.
- Repetition / cycles: Bounded because damage strictly decreases health pools toward 0 with non-zero expectation each turn.
- Simultaneous claims on the same resource or position: Not applicable — only one agent strikes at a time in queue order.
- Player elimination mid-round; turn order repair: If an agent leaves the queue, they are removed from array ; next turn advances to .
- Resource exhaustion: The barrel is the sole structural resource and its destruction terminates the game.
- Termination guarantee: Provably terminates in a finite number of turns since expected damage per turn , guaranteeing and in bounded steps.
## State representation
- Persistent state: Queue order array , current bottom health , current stave health , crowned King agent ID, crowned Queen agent ID.
- Per-turn ephemeral state: Active agent index, chosen swing type, sampled damage roll .
- Observable information: Fully observable — all participants see current queue positions, visible degradation status of the barrel, and title holders.
## Action space
- `strike(swing_type)`: Choose `power_swing` or `controlled_swing`.
## Playability notes
- Single-player-vs-AI: Natural — 1 human player in a queue of AI agents, attempting to time powerful strikes when barrel health is low enough for a decisive break.
- Group games (n>4): Queue mechanic generalizes to any without modification.
- Physical-skill games: Physical batting power and wood impact physics are abstracted into the damage sampler.
- What is lost: The physical excitement of wearing costumes, singing Shrovetide songs, and scrambling to catch falling candies on the floor.
## Implementation hints
Extremely simple state machine with minimal state footprint. The strategic gameplay revolves around risk-reward swing selection to ensure one's turn lands the finishing blow rather than leaving the barrel on low HP for the next player. First milestone: implement a 4-agent CLI game displaying barrel HP and awarding King and Queen titles.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Strike the Barrel (Faroe Islands). (n.d.). Games of Countries. https://gamesofcountries.com/games/fo-faroe-islands/slaa-tunnu
@misc{gamesofcountries-fo-faroe-islands-slaa-tunnu,
title = {Strike the Barrel (Faroe Islands)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/fo-faroe-islands/slaa-tunnu}
}