Skip to main content
Formal Specification

Sinj Alka Tournament — Formal Specification

Croatia · animal-contest · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Sinjska alka — AI-optimized specification ## General idea A sequential equestrian target-piercing tournament where agents gallop along a 160-meter track within a strict 12-second time window, aiming a 3-meter lance at a partitioned hanging ring target. Scoring is segmented into discrete point compartments (3, 2, 1, 0) over three standard runs, with sudden-death runoffs resolving ties for the championship. ## Formal model - **Abstraction taken:** Gallop velocity along the 160m track is abstracted into a travel time trun∈[9.0,14.0] s. Lance tip position at target crossing (x,y) relative to target center (0,0) is modeled as a 2D Gaussian landing distribution parameterized by rider aiming skill, horse stability, and speed. - **Player/agent count:** N agents (A1…AN, with N∈[11,17], standard N=15). - **Turn model:** 3 sequential tournament rounds (trke); within each round, agents run in fixed sequence 1…N. ## Formal rules R1. Setup: - Target geometry centered at (0,0): - Center circle (*Srida*, R≤17.7 mm): Value = 3 points. - Upper sector (*Gornji pregradak*, r∈(17.7,65.85] mm, θ∈[0,π)): Value = 2 points. - Lower left/right sectors (*Donja dva*, r∈(17.7,65.85] mm, θ∈[π,2π)): Value = 1 point each. - Outer miss (r>65.85 mm or drop): Value = 0 points. - Cumulative score S(Ai)=0 for all i∈{1,…,N}. R2. Run Execution: - Active agent Ai executes `gallop_and_strike(aim_offset_x, aim_offset_y, gallop_effort)`. - Gallop time: trun=160.0vgallop+ϵtime. - Time validity check: If trun>12.0 s, run is INVALID (score=0). R3. Target Intersection: - If valid time, lance tip coordinate (x,y)∼𝒩((aimx,aimy),Σaim(vgallop)). - Compartment test evaluates point value P∈{0,1,2,3}. - State update: S(Ai)←S(Ai)+P. R4. Tournament Progression: - All N agents execute Run 1, then Run 2, then Run 3. Total regular runs = 3. R5. Tie-Breaker (*Pripetavanje*) and Victory: - Let top score be Smax=maxi⁡S(Ai). - Candidate set 𝒲={Ai:S(Ai)==Smax}. - If |𝒲|==1: Sole agent in 𝒲 is crowned WINNER (*slavodobitnik*). - If |𝒲|>1: Tied agents execute extra runoff runs in sequence until one agent achieves a higher score in the same runoff round. - [gap-fill] Maximum runoff rounds capped at Rrunoff=5; if still tied, the agent with the highest single run score (most 3s) wins. ## Edge cases - Tie at the end condition: Fully resolved by statutory runoff rules (*pripetavanje*) and tie-breaking cap. - A player with no legal move: Not applicable; run action is mandatory and always executable. - Repetition / cycles: Bounded by finite 3-run base and maximum runoff limit Rrunoff. - Simultaneous claims on the same resource or position: Runs occur in strict individual sequence down the track. - Player elimination mid-round; turn order repair: If an alkar is disqualified or horse lame, score remains as recorded; agent is skipped in remaining runs. - Resource exhaustion: The alka target is repositioned at (0,0) identically for every run. - Termination guarantee: Exact 3-run base with bounded runoff cap guarantees finite termination. ## State representation - Persistent state: `scores: list[int]`, `run_index: int`, `active_agent_idx: int`, `runoff_candidates: list[int]`. - Ephemeral turn state: `gallop_time: float`, `lance_coord: tuple[float, float]`, `points_scored: int`. - Observable information: Fully observable (all run times, point announcements, and scores are public). ## Action space - `execute_run(target_aim: tuple[float, float], speed_effort: float)`: Parameterized equestrian lance strike. ## Playability notes - Single-player-vs-AI: Natural; player competes against full field of 14 AI knights aiming to hit the 3-point center. - Group games (n>4): Natively designed for 11 to 17 agents. - Physical-skill games: Gallop velocity, track time limit, and micro-accuracy mapped to 2D normal distribution. - What is lost: Thunderous horse hooves, festive cannonades, medieval knightly costumes. ## Implementation hints Discrete round tournament engine with continuous 2D geometry hit-testing. First milestone: implement 3-round tournament with random agent skills and statutory tie-breaking logic.

Download as JSON

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

Download JSON
Cite this page

Sinj Alka Tournament (Croatia). (n.d.). Games of Countries. https://gamesofcountries.com/games/hr-croatia/sinjska-alka

@misc{gamesofcountries-hr-croatia-sinjska-alka,
  title = {Sinj Alka Tournament (Croatia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/hr-croatia/sinjska-alka}
}