Skip to main content
Formal Specification

Pull the Peg — Formal Specification

Åland · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 4
# Dra kavel — AI-optimized specification ## General idea A traditional Åland seated trial of strength and isometric leverage between two opponents pressing the soles of their feet together while grasping a wooden peg (*kavel*). Contestants simultaneously select pulling strategies (steady pull, explosive heave, grip adjustment, bracing) to overcome opponent resistance, pull them upright across the center threshold, or break their grip. ## Formal model - **Abstraction taken:** The continuous biomechanical isometric force exchange and grip friction are abstracted into discrete contest rounds composed of sequential or simultaneous pulling ticks. [gap-fill] Each tick compares pulling torque τ=f(strength,stamina,grip_position,action) to shift a 1D center-of-mass balance position x∈[−10,+10]. - **Player/agent count:** 2 agents. - **Turn model:** Simultaneous-action round ticks (or short discrete decision phases within a best-of-3 match). ## Formal rules R1. Setup: A match is contested over best-of-three rounds. In each round, both agents start seated with feet pressed together, balance coordinate x=0, and stamina S=100. R2. Grip symmetry: In round 1, Agent 1 takes inside grip, Agent 2 takes outside grip. In round 2, positions swap. In round 3 (if needed), [gap-fill] grip is decided by coin toss. Inside grip grants +5% leverage on explosive heaves; outside grip grants +5% resistance against grip slips. R3. On each tick, both agents simultaneously choose an action: - `steady_pull`: Consumes 5 stamina, generates baseline backward force Fbase. - `explosive_heave`: Consumes 15 stamina, generates 1.8×Fbase, carries a 10% risk of grip slip if countered by `brace`. - `brace`: Consumes 3 stamina, reduces opponent force by 40%, counters `explosive_heave`. - `re_grip`: Consumes 2 stamina, restores grip stability modifier, generates zero pulling force. R4. Balance update: The net force differential ΔF=F1−F2 updates balance position: xt+1=xt+α⋅ΔF+ϵ, where ϵ∼𝒩(0,σ2) represents minor balance instability. R5. Round win conditions: - Agent 1 wins the round if x≥+10 (Agent 2 lifted off the ground/pulled across line) or Agent 2 loses grip. - Agent 2 wins the round if x≤−10 (Agent 1 lifted off the ground/pulled across line) or Agent 1 loses grip. R6. [gap-fill] Match termination: The first agent to win 2 rounds wins the match. If a round reaches 50 ticks without a winner, [gap-fill] the agent with the positive balance displacement on their side (|x|>0) wins that round on points. ## Edge cases - Tie at the end condition: Resolved by R6: if exactly x=0 after 50 ticks, stamina remaining decides; if stamina is equal, an additional 10-tick sudden-death extension is fought. - A player with no legal move: Not applicable — all 4 pulling actions are always legally available. - Repetition / cycles: Bounded by R6's 50-tick maximum duration per round and strictly depleting stamina. - Simultaneous claims on the same resource or position: Actions are committed simultaneously, and net delta ΔF is computed symmetrically. - Player elimination mid-round; turn order repair: Not applicable — strictly a 1v1 duel; match ends when one player wins 2 rounds. - Resource exhaustion: If stamina reaches 0, the agent is restricted to `brace` and cannot exert positive pulling force. - Termination guarantee: Provably terminates because round length is capped at 50 ticks and match length is capped at 3 rounds. ## State representation - Persistent state: Match score (rounds won per agent), round index r∈{1,2,3}, current grip assignment. - Per-round state: Balance position x∈[−10,+10], stamina per agent S1,S2∈[0,100], grip integrity status. - Per-tick ephemeral state: Chosen actions for current tick, sampled force values. - Observable information: Fully observable — all agents observe current balance displacement x and round score. Stamina values are public. ## Action space - `steady_pull()`: Standard isometric pull. - `explosive_heave()`: High-power heave with fatigue and slip risk. - `brace()`: Defensive posture absorbing opponent pull. - `re_grip()`: Stabilize finger hold on the kavel. ## Playability notes - Single-player-vs-AI: Natural — 1 human player vs. 1 AI agent selecting counter-strategies based on stamina and balance position. - Group games (n>4): Not applicable as a multi-agent game; naturally structured as a tournament bracket of 1v1 duels. - Physical-skill games: Physical grip and tendon endurance are abstracted into stamina, force modifiers, and slip probabilities. - What is lost: The visceral strain in the lower back and forearms, wooden texture of the birch bar, and physical heel-to-heel contact. ## Implementation hints Low complexity. Core logic is a 1D tug-of-war tug state machine with simultaneous action matrix. First milestone: implement a 1-round CLI match with random AI selecting actions, verifying that stamina depletion prevents infinite stalling.

Download as JSON

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

Download JSON
Cite this page

Pull the Peg (Åland). (n.d.). Games of Countries. https://gamesofcountries.com/games/ax-aland/dra-kavel

@misc{gamesofcountries-ax-aland-dra-kavel,
  title = {Pull the Peg (Åland)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ax-aland/dra-kavel}
}