Skip to main content
Formal Specification

Sammarinese Tile Pitching — Formal Specification

San Marino · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Le piastrelle — AI-optimized specification ## General idea A turn-based precision disc-pitching game where two sides alternate pitching flat stone or metal plates (*piastrelle*) toward a target peg (*boccino*). Points are scored at round end by the side whose discs are closest to the target marker. ## Formal model - **Abstraction taken:** The 2D landing and sliding dynamics of the heavy disc on soil are abstracted into a 2D landing coordinate vector `(x, y)` sampled from a normal distribution centered at the agent's aim coordinates. - **Player/agent count:** 2 players (or 2 teams of 2 agents). - **Turn model:** Strictly alternating pitch delivery per frame. ## Formal rules R1. Setup: Target marker is fixed at `B = (11.0, 0.0)` in a 2D court plane `[0, 15] x [-1.5, +1.5]`. Team scores start at 0. R2. Frame sequence: R2.1. Each player has 2 discs per frame (total 4 discs per frame). R2.2. Player A and Player B alternate pitching: `A1 -> B1 -> A2 -> B2`. R2.3. On each pitch, the active agent selects target coordinates `(tx, ty)`. R2.4. Pitch impact is resolved: `disc_pos ~ Normal(target, sigma(skill))`. R2.5. If the pitched disc impacts an existing disc or `B`, momentum transfer is calculated via 2D elastic disc collision. R3. Frame scoring: R3.1. Compute distances: `d_A = min ||p_A - B||`, `d_B = min ||p_B - B||`. R3.2. If `d_A < d_B`: Team A scores `K` points, where `K = |{ p in Discs_A : ||p - B|| < d_B }|`. R3.3. If `d_B < d_A`: Team B scores `K` points, where `K = |{ p in Discs_B : ||p - B|| < d_A }|`. R3.4. Scores update: `score += K`. R4. Win condition: First side to reach `Target_Score = 12` points wins the match. R5. [gap-fill] Equidistant tie resolution: If `d_A == d_B` exactly, frame scores 0 points and starting pitch passes to the previous scoring team. ## Edge cases - Tie at the end condition: Not applicable — points are awarded strictly to one side per frame; one side reaches 12 first. - A player with no legal move: Not applicable — pitching a disc is always legal on an active turn. - Repetition / cycles: Bounded by finite discs per frame and monotonic score advancement. - Simultaneous claims on the same resource or position: Disc stacking is permitted; if a disc lands directly atop the *boccino*, its distance is recorded as 0.00. - Player elimination mid-round: Disconnection forfeits remaining frame discs and awards match victory to the opponent. - Resource exhaustion: Not applicable — discs are retrieved after every frame. - Termination guarantee: Guaranteed by monotonic score growth toward 12. ## State representation - Persistent state: `score_A` (0..12), `score_B` (0..12), `current_frame` (int). - Per-frame ephemeral state: `boccino_pos` `(x,y)`, `discs_A` (list of `(x,y)`), `discs_B` (list of `(x,y)`), `pitch_turn` (int 0..3). - Observable information: Fully observable by both players. ## Action space - `pitch_disc(target_x, target_y)`: Specify aim coordinates on the court. ## Playability notes - Single-player-vs-AI: Natural — human vs. AI calibrating aim risk between tight clustering vs. displacing the opponent's lead disc. - Group games (n>4): Generalizes to doubles teams easily. - Physical-skill games: Disc spin and flat impact parameterized via `sigma(skill)`. - What is lost: The tactile feel of cool quarried limestone discs and the heavy thud on packed soil. ## Implementation hints Nearly identical in mathematical structure to bocce, but with strictly alternating turns (R2.2) rather than disadvantage-based turn switching.

Download as JSON

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

Download JSON
Cite this page

Sammarinese Tile Pitching (San Marino). (n.d.). Games of Countries. https://gamesofcountries.com/games/sm-san-marino/gioco-delle-piastrelle

@misc{gamesofcountries-sm-san-marino-gioco-delle-piastrelle,
  title = {Sammarinese Tile Pitching (San Marino)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/sm-san-marino/gioco-delle-piastrelle}
}