Skip to main content
Formal Specification

San Marino Crossbow Palio — Formal Specification

San Marino · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Palio dei Balestrieri — AI-optimized specification ## General idea A high-precision single-shot target contest where agents representing the nine Castelli of San Marino fire one bolt from a 36-meter bench rest at a shared wooden target (*tasso*). The win condition is determined by Euclidean distance to the exact center of the target. ## Formal model - **Abstraction taken:** The 36-meter ballistic trajectory, windage, and mechanical crossbow trigger release are abstracted into a 2D landing coordinate `(x, y)` sampled from a 2D Gaussian distribution centered at the agent's chosen aim point, parameterized by agent skill and bench stability. - **Player/agent count:** N agents (N in [9, 30]), each representing one of the 9 Castelli. - **Turn model:** Strictly sequential single-shot tournament. ## Formal rules R1. Setup: Target center is located at `(0.0, 0.0)` in the target plane. R2. Firing sequence: Agents take turns in predetermined lot order `1..N`. R3. On their turn, an active agent inputs an aim point `(aim_x, aim_y)`. R4. Shot resolution: R4.1. Bolt impact coordinate is sampled: `x_impact ~ Normal(aim_x, sigma_x(skill))`, `y_impact ~ Normal(aim_y, sigma_y(skill))`. R4.2. Distance to center is computed: `d_i = sqrt(x_impact^2 + y_impact^2)`. R4.3. Bolt impact coordinate and distance `d_i` are recorded in persistent state. R5. Tournament resolution: R5.1. After all N agents have fired their single shot, agents are ranked in ascending order of `d_i`. R5.2. The agent with the minimum `d_i` is declared individual champion (*Primo Balestriere*). R5.3. The Castello with the lowest mean `d_i` among its designated shooters wins the Palio team banner. R6. [gap-fill] Tie-break rule: If two bolts achieve identical millimetric distances `d_i == d_j`, tied shooters fire one sudden-death shot. ## Edge cases - Tie at the end condition: Resolved via single-shot sudden death (R6). - A player with no legal move: Not applicable — aiming and firing is always available on an active turn. - Repetition / cycles: Not applicable — tournament consists of exactly N shots, guaranteeing finite execution. - Simultaneous claims on the same resource or position: Physical bolt splitting/collision is modeled by allowing overlapping coordinates on the shared 2D target plane; each bolt's center is measured independently. - Player elimination mid-round: Disconnected agents are assigned `d_i = infinity` (miss). - Resource exhaustion: Not applicable — single shot per agent. - Termination guarantee: Guaranteed by the finite sequence of N shots. ## State representation - Persistent state: `shot_results` (map of agent_id -> struct { `castello_id`, `pos_impact (x,y)`, `distance_d` }), `current_shooter_idx` (int 0..N-1). - Per-shot ephemeral state: `aim_target` (float, float), `wind_vector` (float, float). - Observable information: Fully observable — all previous shot impacts on the *tasso* are visible to subsequent shooters. ## Action space - `fire_bolt(aim_x, aim_y)`: Specify target plane coordinates within the 30 cm radius target disk. ## Playability notes - Single-player-vs-AI: Natural — human player calibrates aim and timing against historical AI champion profiles. - Group games (n>4): Simulates large 30-shooter tournaments efficiently. - Physical-skill games: Crossbow trigger pull and sight alignment parameterized via `sigma(skill)`. - What is lost: The heavy physical vibration of the massive steel bow snapping forward and the smell of lubricating tallow. ## Implementation hints Extremely compact and fast simulation. Implement as a 2D coordinate recorder with Euclidean distance sort. First milestone: Verify that Gaussian dispersion properly maps to historical bullseye cluster percentages.

Download as JSON

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

Download JSON
Cite this page

San Marino Crossbow Palio (San Marino). (n.d.). Games of Countries. https://gamesofcountries.com/games/sm-san-marino/palio-dei-balestrieri

@misc{gamesofcountries-sm-san-marino-palio-dei-balestrieri,
  title = {San Marino Crossbow Palio (San Marino)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sm-san-marino/palio-dei-balestrieri}
}