Skip to main content
Formal Specification

Stick Pulling — Formal Specification

Bosnia & Herzegovina · strength-endurance · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: abstractedGap-fills: 2
# Potezanje klipa — AI-optimized specification ## General idea A simultaneous, stamina-management tugging contest between two seated agents. Each round (tick), both agents allocate stamina between steady isometric pulling, sudden explosive jerks (tugs), or bracing/recovery. The accumulated displacement of the stick over time determines whether one agent is lifted or disarmed. ## Formal model - **Abstraction taken:** The continuous physical pulling contest is discretized into discrete ticks t=1,2,…,Tmax⁡. A 1D displacement state X∈[−100.0,100.0] represents the center of mass / stick position (X>0 favors Agent 1, X<0 favors Agent 2). Each agent manages an internal stamina pool E∈[0,100]. - **Player/agent count:** 2 agents (Agent 1 vs Agent 2). - **Turn model:** Simultaneous action selection per tick. ## Formal rules R1. **Setup:** Stick displacement X0=0.0. Max ticks per round Tmax⁡=30. Winning displacement threshold Xwin=50.0. Both agents start with maximum stamina E1=100.0,E2=100.0 and grip integrity G1=100.0,G2=100.0. Match is best-of-3 rounds. R2. **Action selection per tick:** Both agents simultaneously select an action from {SUSTAIN(e),SURGE(e),BRACE}, where e∈[5,30] is the stamina expenditure: - SUSTAIN(e): Steady pull with force F=strength⋅e. Stamina cost =e. - SURGE(e): Explosive yank with force F=1.6⋅strength⋅e. Stamina cost =1.8⋅e. Grip integrity cost =8.0. - BRACE: Defensive absorption with force F=0.7⋅strength⋅10. Stamina cost =2.0. Regains +5.0 stamina up to max. R3. **State update:** - Net force differential: ΔF=F1−F2. - Displacement update: Xt+1=Xt+0.5⋅ΔF+ϵX, where ϵX∼𝒩(0,1.0). - Grip check: If an agent's grip G≤0, that agent slips from the stick immediately. - Stamina update: Ei←max⁡(0,Ei−costi). If Ei==0, maximum force output is clamped to 10%. R4. **Round victory:** - If Xt≥Xwin: Agent 1 wins the round (lifts Agent 2). - If Xt≤−Xwin: Agent 2 wins the round (lifts Agent 1). - If G2≤0 and G1>0: Agent 1 wins by disarming Agent 2. - If G1≤0 and G2>0: Agent 2 wins by disarming Agent 1. - [gap-fill] If t=Tmax⁡ with |Xt|<Xwin, the agent with Xt>0 is awarded the round win by points; if Xt==0.0, a sudden-death 5-tick round is initiated. R5. **Match victory:** The first agent to win 2 rounds wins the match. ## Edge cases - **Tie at the end condition:** [gap-fill] If a tick ends with both agents exceeding opposite victory thresholds simultaneously (or both losing grip on the exact same tick), the tick is replayed. - **A player with no legal move:** Not applicable; stamina is clamped at zero, and low-cost BRACE is always valid. - **Repetition / cycles:** Ticks strictly advance t←t+1 up to Tmax⁡=30, preventing infinite deadlocks. - **Simultaneous claims on the same resource:** Handled cleanly by simultaneous commitment and algebraic force-differential calculation (ΔF=F1−F2). - **Player elimination mid-round / turn order repair:** Not applicable in a 1v1 bout; round ends immediately upon threshold crossing. - **Resource exhaustion:** Stamina E drains monotonically under exertion and regenerates only via BRACE, creating authentic tactical pacing. - **Termination guarantee:** Each round strictly terminates in at most Tmax⁡=30 ticks, and a match concludes in at most 3 rounds (maximum 90 total ticks). ## State representation - **Persistent state:** `rounds_won: Dict[AgentID, int]`, `current_round: int`. - **Per-tick ephemeral state:** `displacement: float`, `stamina: Dict[AgentID, float]`, `grip: Dict[AgentID, float]`, `tick_number: int`. - **Observable information:** Displacement Xt and opponent's visible strain/posture are observable; exact internal stamina and grip numbers of the opponent are private information. ## Action space - `act(action_type: Enum{SUSTAIN, SURGE, BRACE}, expenditure: float)`: Parameter e∈[5.0,30.0] when applicable. ## Playability notes - **Single-player-vs-AI:** Highly engaging game of stamina poker and timing; player attempts to bait an AI surge with a brace, then counter-surge when the AI is depleted. - **Group reduction:** Tournament formats with multiple contestants reduce directly to sequential 1v1 bracket nodes. - **Physical-skill games:** Physical endurance is mapped to a discrete energy economy and dynamic risk-reward combat model. - **What is lost:** The direct physical agony of wooden edges digging into palms and the raw muscular burn in lower back erectors are abstracted into numerical pools. ## Implementation hints - Simple 1D state variable with straightforward difference equations; ideal for quick agent RL or minimax benchmarking. - Obvious trap: Not clamping stamina at zero or allowing surges when stamina is depleted. - Suggested first milestone: Implement the force-difference loop with equal strength bots to observe realistic dynamic back-and-forth stick displacement.

Download as JSON

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

Download JSON
Cite this page

Stick Pulling (Bosnia & Herzegovina). (n.d.). Games of Countries. https://gamesofcountries.com/games/ba-bosnia-herzegovina/potezanje-klipa

@misc{gamesofcountries-ba-bosnia-herzegovina-potezanje-klipa,
  title = {Stick Pulling (Bosnia & Herzegovina)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ba-bosnia-herzegovina/potezanje-klipa}
}