Skip to main content
Formal Specification

Shepherd Stone Throwing — Formal Specification

Bulgaria · dexterity-throw · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Hvarlyane na kamak — AI-optimized specification ## General idea A turn-based athletic field event modeling heavy projectile propulsion. Competitors select throwing styles, launch angles, and explosive force commitment to maximize horizontal distance while managing baseline foul risks. The best valid attempt out of three sequential rounds determines the victor. ## Formal model - **Abstraction taken:** Ballistic 2D projectile physics with aerodynamic drag and human biomechanical force limits. Release velocity v0 and launch angle θ are parameterized based on agent strength, technique choice, and run-up momentum. A stochastic balance check models the risk of overstepping the scratch baseline. - **Player/agent count:** K competitors (K∈[2,15]). - **Turn model:** 3 structured rounds, each competitor executing 1 throw per round in fixed sequence. ## Formal rules R1. Setup: - Stone mass entity: mstone=12.0 kg. - Scratch line at coordinate x=0.0. Throws must originate from x≤0.0 and travel into x>0.0. - Each competitor i has Strength Si∈[50,100], Technique Ti∈[50,100], and Balance Bi∈[50,100]. - Attempt matrix Attempts[1..K,1..3] initialized to null. R2. Throw Action Selection: - Active agent submits: - Technique style Style∈{ShoulderPut,UnderhandSwing,OverheadLaunch}. - Power commitment factor α∈[0.70,1.00]. - Targeted launch angle θ∈[30∘,55∘]. R3. Biomechanical Execution & Ballistic Model: - Effective release speed: v0=2⋅Si⋅α⋅η(Style)mstone+𝒩(0,σv2), where η is style efficiency factor. - Actual release angle: θactual=θ+𝒩(0,σθ2), with σθ inversely proportional to Ti. - Release height: h0=1.60 m for ShoulderPut, 0.80 m for UnderhandSwing. - [gap-fill] First-impact horizontal distance: d=v0cos⁡θactualg(v0sin⁡θactual+(v0sin⁡θactual)2+2gh0). R4. Baseline Foul Check: - [gap-fill] High power commitment creates baseline overstep risk: - Foul probability: P(Foul)=max⁡(0.0,0.40⋅α−0.003⋅Bi). - If foul triggers: Attempt is marked as `Foul` (distance d=0.0). - If no foul: Recorded distance is d. R5. Tournament Progression: - The competition proceeds through 3 complete rounds (attempts a∈{1,2,3}). - In each round, all K competitors throw once in fixed sequential order. R6. Scoring and Victory: - Competitor's final score: Scorei=max⁡(Attempts[i,1],Attempts[i,2],Attempts[i,3]). - The competitor with the maximum score wins the championship. R7. [gap-fill] Tiebreaker: If two or more competitors tie on their best distance, their second-best valid throw breaks the tie; if still tied, third-best throw breaks the tie. ## Edge cases - Tie at the end condition: Fully resolved by R7 second/third-best throw tiebreaker hierarchy. - A player with no legal move: Not applicable — throw action parameters (Style,α,θ) are always defined. - Repetition / cycles: Bounded: The tournament strictly terminates after exactly 3×K throws. - Simultaneous claims on the same resource or position: Throws are strictly sequential; landing spots are measured and cleared before the next throw. - Player elimination mid-round; turn order repair: If a competitor withdraws, remaining unthrown attempts are recorded as 0.0; round sequence continues among active competitors. - Resource exhaustion: The stone entity is retrieved and returned to the baseline after each attempt. - Termination guarantee: Deterministic tournament bounds: exactly 3 rounds for K players. ## State representation - Persistent state: Competitor rosters, physical attributes (Si,Ti,Bi), attempt matrix Attempts[K×3], current round a∈[1,3], current competitor index. - Per-throw ephemeral state: Chosen action parameters, computed release velocity v0, ballistic trajectory, foul outcome boolean, impact distance d. - Observable information: Fully observable — all competitor attributes, recorded attempt distances, and rankings are public. ## Action space - `submit_throw(style, power_factor, target_angle)`: Precondition: Caller is active competitor, current attempt open. ## Playability notes - Single-player-vs-AI: Highly playable — Human balances risk vs reward (maximizing power α→1.0 against increasing foul probabilities) against a field of AI competitors. - Group games (n>4): Natively designed for multiplayer field competition (2≤K≤15). - Physical-skill games: Kinetic chain propulsion is formalized via Newtonian ballistic equations and biomechanical efficiency multipliers. - What is lost: The physical sensory experience of cold, textured mountain granite in the palm and the explosive grunting release of breath are modeled mathematically. ## Implementation hints Standard ballistic physics calculations with zero hidden information. The core decision problem is a classic risk-reward optimization over continuous control parameters (α,θ). Suggested first milestone: implement the ballistic distance formula R3 and verify that optimal theoretical launch angles emerge near 40∘–42∘ under realistic launch heights.

Download as JSON

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

Download JSON
Cite this page

Shepherd Stone Throwing (Bulgaria). (n.d.). Games of Countries. https://gamesofcountries.com/games/bg-bulgaria/hvarlyane-na-kamak

@misc{gamesofcountries-bg-bulgaria-hvarlyane-na-kamak,
  title = {Shepherd Stone Throwing (Bulgaria)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/bg-bulgaria/hvarlyane-na-kamak}
}