Skip to main content
Formal Specification

Spinning Top (Greek Peg Top Contest) — Formal Specification

Greece · top-spinning · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Svoura — AI-optimized specification ## General idea A round-based physical dexterity and arena combat game. Agents wind and launch spinning peg tops into a circular arena. The game models both rotational spin-decay dynamics (endurance race) and tactical target strikes (ejection of stationary tops from the arena ring). ## Formal model - **Abstraction taken:** Gyroscopic physics, string winding tension, and collision mechanics are discretized into: (1) Initial angular velocity ω0, (2) 2D landing coordinate (x,y), and (3) Elastic collision resolution against target tops. - **Player/agent count:** 2 to 6 agents (default 2). - **Turn model:** Simultaneous launch in endurance mode; sequential attacking turns in arena combat mode. ## Formal rules R1. State tracking: Arena radius Rarena=1.0 meter centered at (0,0). Per agent i: `score` ∈ℕ, `top_status` ∈{spinning,stationary_in_ring,ejected}, `spin_time` ∈ℝ+. R2. Launch Execution: - Agent i chooses launch power Fi∈[1.0..5.0] and target coordinates (xtarget,ytarget). - [gap-fill] Landing accuracy: (xland,yland)=(xtarget+ϵx,ytarget+ϵy) where ϵ∼𝒩(0,σ2/skilli). - [gap-fill] Initial spin duration: Tspin=Fi×skilli×10.0+η seconds (η∼𝒩(0,2.0)). R3. Arena Qualification: - If xland2+yland2>Rarena (missed ring) or Tspin≤0: Top fails; transitions to `stationary_in_ring` as a target. R4. Collision & Knockout Resolution: - If an active spinning top lands within impact radius r≤0.15m of a stationary target top: - Transfer impulse: Target displacement distance ddisp=0.4×Fi×skilli. - If target top's new distance >Rarena: Target is ejected (`status = ejected`). Attacker scores 1 point (`score[attacker] += 1`). - Attacking top loses 30% of its remaining spin time from the impact. R5. Endurance Win: - In endurance mode (all spinning): The agent whose top has the maximum Tspin among those landing inside Rarena wins 1 point. R6. Win Condition: - First agent to reach 5 match points wins the overall game. ## Edge cases - Tie at the end condition: If two tops finish with spin times within 0.05 seconds in endurance mode, a 1-throw sudden-death launch breaks the tie. - A player with no legal move: Not applicable — launch parameters (Fi,x,y) are always available. - Repetition / cycles: Bounded — points accumulate monotonically per round toward target score 5. - Simultaneous claims on the same resource or position: Handled by continuous 2D coordinates and elastic collision formulas. - Player elimination mid-round; turn order repair: Target tops ejected from the ring are cleared; turn rotation among attackers continues in fixed order. - Resource exhaustion: Not applicable. - Termination guarantee: Enforced by the non-zero probability of earning points each round (P≥0.20), capping total rounds to a finite distribution. [gap-fill] Hard 30-round limit triggers win by highest score. ## State representation - Persistent state: - `scores`: Array of K integers. - `target_top_pos`: `[x, y]` of stationary top (if any). - `round`: Integer counter. - Per-round ephemeral state: - `active_tops`: Array of structs: `[x, y, spin_time_remaining, status]`. - Observable information: Fully observable by all agents. ## Action space - `launch_top(power, target_x, target_y)`: - `power`: Float ∈[1.0,5.0]. - `target_x, target_y`: Floats within arena radius. ## Playability notes - Single-player-vs-AI: Highly natural physics/control game. Human can select aim coordinates and launch intensity against AI bots. - Group games (n>4): Plays seamlessly with K=2..6 agents taking turns attacking the central target top. - Physical-skill games: String winding tension and wrist-snap mechanics converted into stochastic launch power and Gaussian aim scatter. - What is lost: Tactile joy of carved wood and the hum of a gyroscopic top spinning on concrete. ## Implementation hints - Simple 2D geometry and standard scalar kinematics. - AI strategy balances high-power strikes (which risk landing outside the ring) against conservative central placements.

Download as JSON

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

Download JSON
Cite this page

Spinning Top (Greek Peg Top Contest) (Greece). (n.d.). Games of Countries. https://gamesofcountries.com/games/gr-greece/svoura

@misc{gamesofcountries-gr-greece-svoura,
  title = {Spinning Top (Greek Peg Top Contest) (Greece)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/gr-greece/svoura}
}