Skip to main content
Formal Specification

Tuscan Street Ball — Formal Specification

Italy · ball-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Palla Eh! — AI-optimized specification ## General idea A barehanded urban-corridor ball rally game featuring irregular wall rebounds and dynamic territory boundaries determined by the medieval *caccia* (chase) marking mechanic. Two teams of five agents alternate striking a small lead-cored ball over a moving territorial boundary, scoring points via a 15-30-40-Game ladder to reach 21 games. ## Formal model - **Abstraction taken:** The 35x6m irregular village street with stone building façades is modeled as a bounded 2D rectangular corridor with static obstacle colliders (wall segments, staircases). Continuous barehanded palm impacts are abstracted into parameterized velocity vectors with hand-stamina decay. - **Player/agent count:** 2 teams of 5 agents (1 Server, 1 Back, 1 Mid, 2 Forwards). - **Turn model:** Alternating team rally phase; sequential individual agent intercepts. ## Formal rules R1. Match setup: Target match score is G=21 games. Points progress: 0→15→30→40→Game. R2. The Serve (*Mando*): - Server executes barehanded serve from baseline Y=0. - [gap-fill] Serve must cross the fixed transverse fault line Yfalletto=15.0 m. - If serve fails to cross Yfalletto, receiving team scores +1 point immediately. R3. Urban rally mechanics: - Defending team must return the ball before it bounces twice on the street (Nbounce≤1). - Rebounds against lateral building walls (X=0 or X=Wstreet) do not count as ground bounces. R4. Chase marking (*Caccia*): - When a ball is stopped after ≥2 bounces at coordinate Ystop, a chase marker C is recorded at Ystop. - When 2 chases are recorded (or 1 chase at 40-40), teams swap court sides (Y↔L−Y). - In subsequent chase-resolution points, the team defending the chase must return the ball past Ystop to score the point; otherwise the attacking team scores. R5. Point scoring: Faults (out of bounds, 2 bounces before recovery, failure to cross chase line) award 1 point (15,30,40) to the opponent. - [gap-fill] At 40-40 (deuce), a sudden-death single point decides the game. R6. Side swap: Teams swap field ends upon reaching the chase swap trigger (R4). R7. Match termination: The first team to accumulate 21 games wins the match. ## Edge cases - Tie at the end condition: Matches tied at 20-20 play a decisive 41st game (*la bella*). - A player with no legal move: In active rally, the assigned intercepting agent always chooses between candidate return vectors toward the opponent half. - Repetition / cycles: Bounded because every rally terminates in finite time due to strictly positive failure/fault probabilities (P(fault)>0). - Simultaneous claims on the same resource or position: When a ball lands in overlapping zones between Midfielder and Forward, the agent with shorter Euclidean distance executes the hit. - Player elimination mid-round; turn order repair: In case of injury, remaining 4 agents expand spatial coverage zones. - Resource exhaustion (pieces, tokens, space, time): Single ball in active play; games accumulate monotonically toward 21. - Termination guarantee: Strict game monotonicity and positive point-ending probabilities per stroke guarantee finite termination. ## State representation - Persistent state: - `games_a`, `games_b`: integers ∈[0,21]. - `points_a`, `points_b`: indices ∈{0,1,2,3}. - `active_cacce`: list of active chase Y-coordinates (size ≤2). - `court_side_swap`: boolean. - Per-rally state: - `ball_pos`: (x,y,z). - `ball_vel`: (vx,vy,vz). - `floor_bounces`: integer ∈{0,1,2}. - `active_team`: team ID. - Observable information: Fully observable street layout, wall boundaries, chase chalk marks, and score. ## Action space - `serve_ball(speed: float, angle_x: float, angle_z: float)` - `strike_ball(target_x: float, target_y: float, shot_type: str)` ## Playability notes - Single-player-vs-AI: Engine-ready; player controls individual agent or directs team tactical positioning. - Group games (n>4): Can be reduced to 1v1 on a narrow corridor while preserving the full *caccia* marking and wall-rebound rules. - Physical-skill games: Barehand palm impact and street friction are abstracted to physical trajectory distributions. - What is lost in the adaptation: The vocal shout of "Eh!", the sting of the leather ball on bare skin, and village spectator interactions. ## Implementation hints Focus on implementing the medieval *caccia* chase state machine accurately, as it transforms standard tennis scoring into a dynamic boundary-shifting game. First milestone: Build the *caccia* recording and side-swapping logic with simple 1D ball trajectories before adding 2D urban wall colliders.

Download as JSON

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

Download JSON
Cite this page

Tuscan Street Ball (Italy). (n.d.). Games of Countries. https://gamesofcountries.com/games/it-italy/palla-eh

@misc{gamesofcountries-it-italy-palla-eh,
  title = {Tuscan Street Ball (Italy)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/it-italy/palla-eh}
}