Formal Specification
Shepherd Stone Throwing — Formal Specification
Bulgaria · dexterity-throw · Confidence: medium
← Back to game pageImplementation 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 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:** competitors ().
- **Turn model:** 3 structured rounds, each competitor executing 1 throw per round in fixed sequence.
## Formal rules
R1. Setup:
- Stone mass entity: kg.
- Scratch line at coordinate . Throws must originate from and travel into .
- Each competitor has Strength , Technique , and Balance .
- Attempt matrix initialized to null.
R2. Throw Action Selection:
- Active agent submits:
- Technique style .
- Power commitment factor .
- Targeted launch angle .
R3. Biomechanical Execution & Ballistic Model:
- Effective release speed: , where is style efficiency factor.
- Actual release angle: , with inversely proportional to .
- Release height: m for ShoulderPut, m for UnderhandSwing.
- [gap-fill] First-impact horizontal distance: .
R4. Baseline Foul Check:
- [gap-fill] High power commitment creates baseline overstep risk:
- Foul probability: .
- If foul triggers: Attempt is marked as `Foul` (distance ).
- If no foul: Recorded distance is .
R5. Tournament Progression:
- The competition proceeds through 3 complete rounds (attempts ).
- In each round, all competitors throw once in fixed sequential order.
R6. Scoring and Victory:
- Competitor's final score: .
- 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 are always defined.
- Repetition / cycles: Bounded: The tournament strictly terminates after exactly 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 players.
## State representation
- Persistent state: Competitor rosters, physical attributes , attempt matrix , current round , current competitor index.
- Per-throw ephemeral state: Chosen action parameters, computed release velocity , ballistic trajectory, foul outcome boolean, impact distance .
- 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 against increasing foul probabilities) against a field of AI competitors.
- Group games (n>4): Natively designed for multiplayer field competition ().
- 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 under realistic launch heights.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite 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}
}