Formal Specification
Stone Throwing from the Shoulder — Formal Specification
Bosnia & Herzegovina · dexterity-throw · Confidence: low
← Back to game pageImplementation 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 , where , and foul probability .
- **Player/agent count:** 2 to agents.
- **Turn model:** Strictly sequential rotation across rounds.
## Formal rules
R1. **Setup:** Baseline position , gravity , stone mass . Each agent has intrinsic parameters: , , and . Maximum attempts per agent . Score record for all .
R2. **Action selection:** On each attempt, the active agent selects an action tuple:
- : Fraction of maximal muscular exertion.
- : Elevation launch angle in degrees.
- : Aggressiveness of approach momentum up to baseline.
R3. **Attempt resolution:**
- **Foul check:** Foot fault probability . Sample .
- If : Attempt is declared a **FAULT** (Distance ).
- If : Launch velocity , where .
- Calculated distance: .
- Best score update: .
R4. **Progression and termination:** After all agents complete all attempts, the agent with the highest is declared winner.
## Edge cases
- **Tie at the end condition:** [gap-fill] If two or more agents have an identical best distance , 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 within valid bounds is always legal.
- **Repetition / cycles:** Bounded strictly by 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 agents makes exactly 3 decisions, guaranteeing match termination after exactly 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 .
## 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 JSONCite 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}
}