Skip to main content
Formal Specification

Traditional Slovenian Boules — Formal Specification

Slovenia · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Balinanje — AI-optimized specification ## General idea A turn-based precision boules game on a rectangular lane where two agents alternate throws based on dynamic point possession, aiming to position boules closer to the target sphere than their opponent, with optional high-risk aerial shooting actions to displace target balls. ## Formal model - **Abstraction taken:** Boule rolling friction, surface compaction variations, and aerial volo collision mechanics are modeled via 2D normal distributions centered on the aim point, with momentum-transfer collision physics. - **Player/agent count:** 2 agents (A1,A2) with 4 boules each (or 2 teams of 2 agents with 2 boules each). Total boules Nboules=8. - **Turn model:** Sequential turn order controlled by point possession state. ## Formal rules R1. Setup: Lane dimensions: x∈[0,27.5] m, y∈[−1.75,1.75] m. Scores S1=0,S2=0. Win score Starget=13. R2. Opening Target Cast: - Active leader casts target ball B to coordinate (xB,yB) with legal range xB∈[12.5,20.5] m, yB∈[−1.2,1.2] m. R3. Action Types: - Action `point_roll(aim_x, aim_y)`: Rolling boule with low dispersion along longitudinal axis. - Action `volo_strike(target_id)`: High-velocity aerial strike targeting an existing ball coordinate; if hit succeeds, target ball is displaced by momentum vector. - Landing coordinates: (x,y)∼𝒩((aimx,aimy),Σaction). R4. Dynamic Turn Order: - Let di=‖(xi,yi)−B‖ for thrown boule i. - Current holding agent Alead=arg⁡minA⁡(mini∈A⁡di). Trailing agent Atrail. - Atrail must take the next throw while holding remaining boules (K(Atrail)>0). - If K(Atrail)==0, Alead plays all remaining boules sequentially. R5. Round Scoring: - When all 8 boules are on court, let winning agent be Aw with minimum distance d∗. - Let closest opponent boule distance be dopp=minj∈Aopp⁡dj. - Points awarded: ΔS=|{i∈Aw:di<dopp}|. - S(Aw)←S(Aw)+ΔS. R6. Match Victory: - If S(Aw)≥13, agent Aw wins immediately. - Otherwise, Aw leads next round casting target B from R2. ## Edge cases - Tie at the end condition: Not applicable; scoring is strictly one-sided per round. - A player with no legal move: Not applicable; throwing actions are always legal while boules remain. - Repetition / cycles: [gap-fill] If opposing closest boules are equidistant at end of round, round is null (0 points) and replayed. - Simultaneous claims on the same resource or position: Physical collision physics ensures balls disperse upon impact. - Player elimination mid-round; turn order repair: In doubles, remaining teammate takes all remaining throws for their side. - Resource exhaustion: Boule inventory resets to 4 per agent at the start of each round. - Termination guarantee: [gap-fill] Positive expected points per round (𝔼[ΔS]≥1.1) guarantees match termination in finite rounds. ## State representation - Persistent state: `score_A1: int`, `score_A2: int`, `round_index: int`, `leader_id: int`. - Ephemeral round state: `balin_pos: tuple[float, float]`, `boules_on_court: list[dict(id, agent_id, pos, is_active)]`, `boules_in_hand: dict[int, int]`. - Observable information: Fully observable (all positions and scores are public). ## Action space - `cast_balin(x: float, y: float)`: Target toss. - `point_roll(x: float, y: float)`: Ground pointing throw. - `volo_strike(target_id: int)`: Direct aerial displacement shot. ## Playability notes - Single-player-vs-AI: Engine-ready; standard spatial evaluation of pointing vs striking risk profiles. - Group games (n>4): Generalizes to 2v2 doubles or 4v4 fours without changing core mechanics. - Physical-skill games: Parameterized by 2D Gaussian covariance matrices for pointing and shooting. - What is lost: Surface irregularities of packed sand, physical run-up momentum. ## Implementation hints Standard target toss architecture. First milestone: implement 1v1 pointing and shooting with deterministic outcomes, verifying dynamic possession rules before calibrating collision dynamics.

Download as JSON

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

Download JSON
Cite this page

Traditional Slovenian Boules (Slovenia). (n.d.). Games of Countries. https://gamesofcountries.com/games/si-slovenia/balinanje

@misc{gamesofcountries-si-slovenia-balinanje,
  title = {Traditional Slovenian Boules (Slovenia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/si-slovenia/balinanje}
}