Skip to main content
Formal Specification

Flat Stone Throwing — Formal Specification

Montenegro · dexterity-throw · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 4
# Plojkanje — AI-optimized specification ## General idea A traditional target-throwing game where agents toss flat stone discs (*plojke*) across a dirt or meadow field towards a standing target stone (*biljeg*). Agents balance landing proximity, ground-skimming slide physics, and direct strikes to displace opponent stones or topple the marker. ## Formal model - **Abstraction taken:** The continuous aerodynamics and surface sliding friction of flat stone discs are modeled as a 2D landing coordinate distribution `(x, y) ~ Gaussian(target_xy, sigma(skill, throw_mode))` with ground-skid vectors along the axis of throw. - **Player/agent count:** 2 agents (1v1) or 4 agents (2 teams of 2). - **Turn model:** Strictly alternating sequential throws. ## Formal rules R1. Setup: State initializes `score: map` to 0. Target marker (*biljeg*) is positioned at `(10.0, 0.0)`. Each player holds 2 flat stones (*plojke*) per round. Target score is `WIN_SCORE = 13`. R2. Turn order: Players alternate throws one stone at a time until all 4 (or 8) stones are thrown. R3. Action types per throw: - `SLIDE_THROW(target_x, target_y)`: Low underhand toss that lands short and skids toward the marker; lower dispersion, vulnerable to obstacle deflections. - `DIRECT_HIT(target_id)`: Higher-arc forceful toss intended to strike an opponent's stone or the biljeg directly; higher variance. R4. Physics resolution: - Landing coordinates are sampled around chosen target. - [gap-fill] If a thrown stone lands within `r = 0.25m` of another stone or the biljeg, elastic collision updates both positions. - [gap-fill] If the biljeg is struck with momentum exceeding threshold `T_topple`, the biljeg is marked as `TOPPLED`. R5. Round scoring: - When all stones are thrown, determine the team with the stone closest to the biljeg's final position. - Award 1 point for each stone of that team closer to the biljeg than the opponent's nearest stone. - [gap-fill] If the winning team also toppled the biljeg during the round, award 1 additional bonus point. R6. Match victory: The first team to reach `WIN_SCORE = 13` points wins immediately. R7. [gap-fill] Tie-breaker: If both teams reach `>= 13` with equal points in the same round, additional rounds are played until one team has a 2-point lead. ## Edge cases - Tie at the end condition: Resolved via R7 (2-point advantage overtime). - A player with no legal move: Not applicable; stone throwing is always legal as long as stones remain in hand. - Repetition / cycles: Each round consumes a finite stock of stones (4 or 8 throws) and produces `>= 1` point for one team, guaranteeing monotonic score progression. - Simultaneous claims on the same resource or position: Physical stones displace each other via 2D disk collision resolution; throws are strictly sequential. - Player elimination mid-round; turn order repair: Team-based game; remaining team member throws unthrown stones. - Resource exhaustion: Stone inventory resets cleanly at the start of each round. - Termination guarantee: Each round awards at least 1 point to the closer team; the game must terminate in at most `2 * WIN_SCORE` rounds. ## State representation - Persistent state: `scores: map`, `round_num: int`. - Per-round state: `biljeg_pos: Vector2D`, `biljeg_toppled: bool`, `stones_on_field: list<{team: TeamID, pos: Vector2D}>`, `stones_in_hand: map`. - Observable information: Fully observable public game state. ## Action space - `SLIDE_THROW(x: float, y: float)`: Target coordinates in field bounds. - `DIRECT_HIT(target_id: int)`: Target existing stone ID or biljeg ID. ## Playability notes - Single-player-vs-AI: Engine-ready; AI agent evaluates value of placing a blocking stone vs. striking opponent's stone. - Group games (n>4): Reduces cleanly to 2 competing teams. - Physical-skill games: Dispersions parameterized by throw distance and agent accuracy scalar. - What is lost: Tactile assessment of individual stone thickness, weight balance, and irregular soil micro-ridges. ## Implementation hints Very straightforward discrete/continuous hybrid game. 2D vector distance math handles all scoring. Milestone 1: Implement alternating turn loop and closest-stone scoring evaluator. Milestone 2: Implement collision resolution and heuristic AI bot.

Download as JSON

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

Download JSON
Cite this page

Flat Stone Throwing (Montenegro). (n.d.). Games of Countries. https://gamesofcountries.com/games/me-montenegro/plojkanje

@misc{gamesofcountries-me-montenegro-plojkanje,
  title = {Flat Stone Throwing (Montenegro)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/me-montenegro/plojkanje}
}