Formal Specification
Fito / Stone Target Pitching — Formal Specification
Portugal · dexterity-throw · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Jogo do Fito — AI-optimized specification
## General idea
A two-agent long-distance stone tossing contest over a 20-meter lane. Agents alternate throwing heavy granite stones at a standing target stone (*xino*). Outcomes model distance clearing (including a mid-court foul line) and 2D stone dispersion, with points awarded for knockdowns and proximity.
## Formal model
- **Abstraction taken:** Throw physics (pendulum release, parabolic flight, and ground bounce) are modeled as a 2D landing coordinate distribution with an initial distance threshold check (`sanca` line at 10m).
- **Player/agent count:** 2 agents (1v1).
- **Turn model:** Strictly sequential, alternating 2 throws each per round: A1 -> B1 -> A2 -> B2.
## Formal rules
R1. Setup: Lane length `L = 20.0m`, width `W = 2.5m`. Target stone (*xino*) at `(0, 0)` with radius `r_xino = 0.05m`. Throwing stones (*fitos*) have radius `r_fito = 0.08m`.
R2. A round consists of 4 throws (2 per agent). Order: A1, B1, A2, B2.
R3. Action execution: An agent chooses aim coordinates `(x_aim, y_aim)` and throw force `P in [0.0, 1.0]`.
- Thrown stone lands at `(X, Y) = (x_aim + e_x, y_aim + e_y)` where errors `e_x, e_y ~ N(0, sigma(P))`.
- Minimum distance check: If total thrown forward distance `< 10.0m` (the `sanca` threshold [gap-fill]), the throw is declared void, removed immediately, and distance is set to infinity.
R4. Topple scoring: If Euclidean distance `d((X, Y), (0, 0)) <= (r_xino + r_fito)`, the xino is knocked down. The thrower immediately scores 4 points. The xino remains down for the rest of the round.
R5. Proximity scoring (at round end):
- Compute distances `d_A1, d_A2, d_B1, d_B2` to `(0, 0)` for all non-void throws within court bounds (`|X| <= W/2` and `Y >= -1.0` and `Y <= 2.0`).
- The agent owning the single closest valid stone scores 2 points.
- If both stones of that agent are closer than the opponent's best stone, that agent scores an additional 2 points (total 4 proximity points).
R6. Points from R4 and R5 accumulate into match totals.
R7. Match end: The first agent to reach `>= 40` points wins. If tied at or above 40 in the same round, tiebreaker rounds continue until one agent scores strictly higher.
## Edge cases
- Tie at the end condition: If both agents reach `>= 40` with equal points in the same round, single tiebreaker rounds are played until the tie is broken.
- A player with no legal move: Not applicable; stone pitch is always legal.
- Repetition / cycles: Score monotonically increases; infinite cycles are impossible.
- Simultaneous claims on the same resource or position: If two stones have equal proximity within 1mm precision [gap-fill], each agent receives 1 point.
- Player elimination mid-round: If an agent disconnects or forfeits, remaining unthrown stones score 0; opponent wins by default.
- Resource exhaustion (pieces, tokens, space, time): Rounds reset cleanly with 2 fitos; maximum match limit capped at 30 rounds [gap-fill].
- Termination guarantee: Guaranteed because expected scoring per round is positive (E[score] > 1.0 points/round), leading to termination within ~20–30 rounds.
## State representation
- Persistent state: `scores: [int, int]`, `round: int`, `lead_agent: int`.
- Per-round ephemeral state: `xino_standing: bool`, `stones_in_play: [(float, float, int)]` (coords and owner index), `throw_count: int`.
- Minimal observable information: Fully public observable state.
## Action space
- `throw_stone(x_aim: float, y_aim: float, force: float)`:
- `x_aim in [-1.25, 1.25]`, `y_aim in [-1.0, 2.0]`, `force in [0.5, 1.0]`.
## Playability notes
- Single-player-vs-AI: Engine-ready. AI selects aim strategies dynamically (e.g. aiming at the xino when standing, or aiming to place a blocker stone in front of the target).
- Group games (n>4): Bracket tournament of 1v1 bouts.
- Physical-skill games: Physical pendulum throw accuracy modeled by the dispersion parameter `sigma(P)`.
- What is lost in the adaptation: Natural stone irregular shapes and soil impact bouncing.
## Implementation hints
Low complexity. Identical architectural archetype to Jogo da Malha but with longer pitch distance (20m vs 15m), higher winning threshold (40 vs 30 pts), and the half-distance `sanca` foul line rule. Suggested milestone 1: Port Malha engine and update distance and scoring parameters.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Fito / Stone Target Pitching (Portugal). (n.d.). Games of Countries. https://gamesofcountries.com/games/pt-portugal/jogo-do-fito
@misc{gamesofcountries-pt-portugal-jogo-do-fito,
title = {Fito / Stone Target Pitching (Portugal)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/pt-portugal/jogo-do-fito}
}