Skip to main content
Formal Specification

Valdostan Bat-and-Ball — Formal Specification

Italy · stick-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Tsan — AI-optimized specification ## General idea A two-phase team bat-and-ball field game played across an open 48-degree angular sector. In Phase 1 (*Tchucco*), batters attempt to drive the ball into undefended gaps past 14 fielders equipped with wooden interception boards (*boquets*) to accumulate qualifying hits (*buille*); in Phase 2 (*Servia*), qualifying batters execute power distance strikes to accumulate meters converted into match points. ## Formal model - **Abstraction taken:** The 48-degree meadow sector (R=180m) is modeled in polar coordinates (r,θ). Fielder coverage is modeled as spatial interception circles (rintercept=3.0m) with reaction time delays. Distance strikes in Phase 2 are modeled as 1D ballistic launches parameterized by bat speed and launch elevation. - **Player/agent count:** 2 teams of 12 to 14 agents (or 1 active batter vs 1 fielding coordinator directing 12 defensive positions). - **Turn model:** Two-phase inning structure (Phase 1: Interception checks → Phase 2: Distance scoring → Inning swap). ## Formal rules R1. Match setup: Match duration is N=2 complete innings (*tours*). Playing sector is polar domain r∈[0,200m],θ∈[−24∘,+24∘]. R2. Phase 1 (*Tchucco*): Each batter i∈[1,14] receives up to K=4 batting attempts. - Batter selects launch vector (v0,θaim,ϕelev). - Ball landing coordinate (r,θ) is sampled with Gaussian noise. - [gap-fill] Interception check: If ∃fielder j such that ‖(x,y)−𝐩j‖≤rintercept⋅skillj, the ball is caught (*tsan presa*): batter is out, earns 0 further attempts, and advances to Phase 2 with current accumulated *buille*. - If ball lands inside sector without interception, batter earns +1 *buille*. R3. Phase 2 (*Servia*): For each *buille* earned in Phase 1, the batter executes one pure distance strike. - Batter selects power P∈[0,1] and aim angle. - [gap-fill] Distance achieved: D=P⋅Dmax⁡+𝒩(0,σ2). - Points awarded: pts=⌊D/10.0⌋ (1 point per 10 meters). R4. Inning transition: When all 14 batters finish Phases 1 and 2, teams swap roles (batting ↔ fielding). R5. Match scoring: Total match score is the sum of points accumulated across both innings: Steam=∑pts. R6. [gap-fill] Tie-breaking: If total points are tied after 2 complete innings, each team selects 3 champion batters to contest a 1-inning sudden-death shootout. R7. Win condition: The team with the higher cumulative distance points at the end of the match wins. ## Edge cases - Tie at the end condition: Resolved via the 3-batter sudden-death shootout (R6). - A player with no legal move: In Phase 1, if a batter earns 0 buille (out on first attempt), they skip Phase 2 with 0 points; progression continues to next batter. - Repetition / cycles: Bounded strictly by the deterministic inning structure (2 innings × 14 batters × maximum 4 attempts). - Simultaneous claims on the same resource or position: When multiple fielders converge on a catch point, the fielder with the shortest arrival time attempts the catch; no multi-collision penalty. - Player elimination mid-round; turn order repair: Batters who strike out are marked complete; turn index advances monotonically to i+1. - Resource exhaustion (pieces, tokens, space, time): Exactly 14 batters per team per inning; match terminates unconditionally after 2 complete innings. - Termination guarantee: Strict finite loop structure (2 innings × 14 batters) guarantees deterministic match termination. ## State representation - Persistent state: - `score_team_a`, `score_team_b`: integers. - `current_inning`: integer ∈[1,2]. - `active_batting_team`: team ID. - Per-batter state: - `current_batter_index`: integer ∈[1,14]. - `buille_count`: integer ∈[0,4]. - `phase`: enum ∈{Tchucco,Servia}. - Per-fielding state: - `fielder_positions`: list of 14 2D polar coordinates (rj,θj). - Observable information: Batter positions, fielder locations on the meadow sector, wind direction, and cumulative score are fully observable. ## Action space - `strike_tchucco(power: float, angle_azimuth: float, angle_elevation: float)`: Phase 1. - `strike_servia(power: float)`: Phase 2. - `set_fielding_formation(positions: List[Tuple[float, float]])`: Fielding manager. ## Playability notes - Single-player-vs-AI: Engine-ready; play as Batter aiming for gaps in the AI's defensive web or as Fielding Captain optimizing coverage geometry. - Group games (n>4): Roster of 14 can be reduced to 1 batter vs a 4-fielder spatial defense for mobile/browser implementations. - Physical-skill games: Double-tap bat timing and distance swinging are abstracted to execution distributions. - What is lost in the adaptation: The mountain slope gradient, crisp Alpine wind gusts, and the wooden clap of the *boquet* intercepting the flying tsan. ## Implementation hints Break down into two distinct sub-engines: (1) 2D spatial point-coverage intercept game (*Tchucco*); (2) 1D distance accumulator (*Servia*). First milestone: Build the Phase 1 sector and 14-fielder interception probability model before integrating the Phase 2 distance scorer.

Download as JSON

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

Download JSON
Cite this page

Valdostan Bat-and-Ball (Italy). (n.d.). Games of Countries. https://gamesofcountries.com/games/it-italy/tsan

@misc{gamesofcountries-it-italy-tsan,
  title = {Valdostan Bat-and-Ball (Italy)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/it-italy/tsan}
}