Skip to main content
Formal Specification

Stone Throwing from the Shoulder — Formal Specification

Bosnia & Herzegovina · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Bacanje kamena s ramena — AI-optimized specification ## General idea A turn-based throwing contest where competing agents select explosive force, launch angle, and approach aggressiveness to heave a heavy stone boulder. Agents must balance maximum kinetic output against the risk of an overstepping fault (crossing the baseline), with the winner determined by the single longest legal throw across 3 attempts. ## Formal model - **Abstraction taken:** The continuous biomechanics of the shoulder shot-put are abstracted into projectile physics: Distance D=v02sin⁡(2θ)g, where v0=f(power,technique,aapproach), and foul probability P(foul)=σ(k⋅(aapproach−balance)). - **Player/agent count:** 2 to N agents. - **Turn model:** Strictly sequential rotation across T=3 rounds. ## Formal rules R1. **Setup:** Baseline position x=0, gravity g=9.81 m/s2, stone mass M=8.0 kg. Each agent i has intrinsic parameters: strengthi∈[0,1], techniquei∈[0,1], and balancei∈[0,1]. Maximum attempts per agent K=3. Score record Bi=0.0 for all i. R2. **Action selection:** On each attempt, the active agent selects an action tuple: - effort∈[0.5,1.0]: Fraction of maximal muscular exertion. - θ∈[30∘,55∘]: Elevation launch angle in degrees. - approach∈[0.0,1.0]: Aggressiveness of approach momentum up to baseline. R3. **Attempt resolution:** - **Foul check:** Foot fault probability P(foul)=11+exp⁡(−10⋅(approach−0.7⋅balancei)). Sample F∼Bernoulli(P(foul)). - If F==1: Attempt is declared a **FAULT** (Distance =0.0 m). - If F==0: Launch velocity v0=(7.0+6.0⋅strengthi)⋅effort⋅(0.9+0.2⋅techniquei)⋅(1.0+0.15⋅approach)+ϵ, where ϵ∼𝒩(0,0.25). - Calculated distance: D=v02sin⁡(2θ)g. - Best score update: Bi←max⁡(Bi,D). R4. **Progression and termination:** After all agents complete all K=3 attempts, the agent with the highest Bi is declared winner. ## Edge cases - **Tie at the end condition:** [gap-fill] If two or more agents have an identical best distance Bi, the tie is broken by comparing their second-best valid throw. If still tied, a single sudden-death throw is conducted. - **A player with no legal move:** Not applicable; selecting (effort,θ,approach) within valid bounds is always legal. - **Repetition / cycles:** Bounded strictly by K=3 attempts per agent; no loops exist. - **Simultaneous claims on the same resource:** Not applicable; throws occur strictly sequentially. - **Player elimination mid-round / turn order repair:** Not applicable; all agents execute all 3 attempts. - **Resource exhaustion:** Invariant; the same stone is reused indefinitely. - **Termination guarantee:** Each of the N agents makes exactly 3 decisions, guaranteeing match termination after exactly 3N total actions. ## State representation - **Persistent state:** `scores: Dict[AgentID, List[float]]`, `best_score: Dict[AgentID, float]`, `current_round: int`, `turn_index: int`. - **Per-turn ephemeral state:** `chosen_effort: float`, `chosen_angle: float`, `chosen_approach: float`, `is_foul: bool`, `distance_recorded: float`. - **Observable information:** Fully public state; all agents observe all competitors' past throws and scores. ## Action space - `heave(effort: float, angle_deg: float, approach_intensity: float)`: Bounded continuous vector in [0.5,1.0]×[30.0,55.0]×[0.0,1.0]. ## Playability notes - **Single-player-vs-AI:** Highly natural; player tunes shot parameters against an AI leader board or in direct 1v1 match play. - **Group reduction:** Multi-thrower tournaments collapse directly to a 2-agent duel without any mechanical distortion. - **Physical-skill games:** Physical power and release timing are represented by the tradeoff between velocity gain from approach speed and exponential fault risk. - **What is lost:** Fine haptic grip feel on the stone's contoured edges and neuromuscular release synchronization are reduced to mathematical parameters. ## Implementation hints - Very low computational footprint; simple algebraic evaluation with standard normal noise. - Obvious trap: Allowing unconstrained launch angles that produce negative distances or unbounded velocity scaling. - Suggested first milestone: Implement the 3-attempt loop and verify that a balanced agent with moderate approach beats an over-aggressive agent who fouls 2 out of 3 throws.

Download as JSON

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

Download JSON
Cite this page

Stone Throwing from the Shoulder (Bosnia & Herzegovina). (n.d.). Games of Countries. https://gamesofcountries.com/games/ba-bosnia-herzegovina/bacanje-kamena-s-ramena

@misc{gamesofcountries-ba-bosnia-herzegovina-bacanje-kamena-s-ramena,
  title = {Stone Throwing from the Shoulder (Bosnia & Herzegovina)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ba-bosnia-herzegovina/bacanje-kamena-s-ramena}
}