Formal Specification
Traditional Maltese Bowls (Bocci) — Formal Specification
Malta · dexterity-throw · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Il-Boċċi — AI-optimized specification
## General idea
A turn-based boules game featuring distinct asymmetric piece types: wooden rolling cylinders (*boċċi*, worth 1 point) and heavy steel aerial balls (*dubbli*, worth 2 points). Teams alternate deliveries based on point disadvantage, aiming to maximize weighted proximity scores around a target jack (*boċċin*) up to 21 points.
## Formal model
- **Abstraction taken:** The 30m limestone dust pitch is modeled on a 2D bounded continuous plane `[0, L] x [-W/2, +W/2]`. Rolling cylinders have directional rolling friction along their cylindrical axis; steel *dubbli* follow 3D parabolic flight vectors landing at target impact coordinates.
- **Player/agent count:** 2 teams (Team A and Team B).
- **Turn model:** Disadvantage-driven turn allocation per frame.
## Formal rules
R1. Setup: Match target score `Win_Score = 21`. Team scores start at 0.
R2. Frame composition per team: 2 wooden cylinders (`type = CYLINDER`, point value = 1) and 1 steel ball (`type = DUBBLU`, point value = 2).
R3. Frame initialization:
R3.1. Starting team rolls *boċċin* to target position `P = (P_x, P_y)`.
R3.2. Starting team delivers their first piece.
R4. Dynamic turn logic:
R4.1. Minimum distance to *boċċin* is calculated for each team: `d_min_A = min_{p in Played_A} ||p.pos - P||`, `d_min_B = min_{p in Played_B} ||p.pos - P||`.
R4.2. The team currently not holding the closest piece must deliver next.
R4.3. If a team exhausts all its pieces, the other team delivers its remaining inventory.
R5. Frame scoring resolution:
R5.1. When all pieces from both teams have been played, compare `d_min_A` and `d_min_B`.
R5.2. If `d_min_A < d_min_B`: Team A scores points for every piece `p in Played_A` satisfying `||p.pos - P|| < d_min_B`:
- If `p.type == CYLINDER`: `+1` point.
- If `p.type == DUBBLU`: `+2` points.
R5.3. If `d_min_B < d_min_A`: Team B scores with identical piece point weights.
R5.4. Cumulative team score updates: `score += frame_points`. Scoring team leads off next frame.
R6. Win condition: Match terminates when `score_A >= 21` or `score_B >= 21`.
R7. [gap-fill] Equidistant tie in frame: If `d_min_A == d_min_B` exactly, frame scores 0 and is replayed.
## Edge cases
- Tie at the end condition: Not applicable — points are awarded strictly to one team per frame; one team hits 21 first.
- A player with no legal move: Not applicable — delivering an available piece is always legal.
- Repetition / cycles: Bounded by finite piece inventory per frame and monotonic score growth.
- Simultaneous claims on the same resource or position: Piece collisions resolve via 2D rigid-body impulse physics.
- Player elimination mid-round: Disconnection forfeits remaining frame deliveries and awards match to active team.
- Resource exhaustion: Piece inventory strictly fixed per frame.
- Termination guarantee: Guaranteed by monotonic point accumulation toward 21.
## State representation
- Persistent state: `score_A` (0..21), `score_B` (0..21), `lead_team` (enum: A/B).
- Per-frame ephemeral state: `boċċin_pos` `(x,y)`, `played_pieces_A` (list of struct { `pos (x,y)`, `type` }), `played_pieces_B` (list), `unplayed_A` (list), `unplayed_B` (list).
- Observable information: Fully observable by both teams.
## Action space
- `roll_cylinder(target_x, target_y, spin)`: Deliver wooden cylinder along dust surface.
- `throw_dubblu(target_x, target_y)`: Aerial high-arc steel strike on target piece.
## Playability notes
- Single-player-vs-AI: Natural — the AI evaluates weighted expected payoff between placing 1-point cylinders vs. risking 2-point steel dubblu smashes.
- Group games (n>4): Standard 3v3 and 4v4 team rotation.
- Physical-skill games: Cylinder axis roll and heavy steel dubblu arc parameterized via stochastic physics samplers.
- What is lost: The distinctive sound of steel shattering against lignum vitae in a village club.
## Implementation hints
Bocce variant with 2 distinct piece archetypes and point weights (1 pt vs 2 pts). First milestone: Verify the weighted scoring evaluation in R5.2.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Traditional Maltese Bowls (Bocci) (Malta). (n.d.). Games of Countries. https://gamesofcountries.com/games/mt-malta/il-bocci-malti
@misc{gamesofcountries-mt-malta-il-bocci-malti,
title = {Traditional Maltese Bowls (Bocci) (Malta)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/mt-malta/il-bocci-malti}
}