Skip to main content
Formal Specification

Ring and shovel ball — Formal Specification

Belgium · dexterity-throw · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Beugelen — AI-optimized specification ## General idea A turn-based tactical ball-and-hoop game played on a 10×5 meter clay court with 4 heavy balls. Agents take turns pushing their assigned 4 kg balls with a wooden shovel (*sleger*) to pass through a central pivoted iron hoop for points (+2), or to deliberately strike opponent balls into the end ditch (+2) or backward through the hoop (+2). The first side to accumulate 30 points wins. ## Formal model - **Abstraction taken:** 2D rolling friction on hard loam, elastic collision among 4 heavy spheres, and hoop gate-crossing detection are modeled on a bounded continuous plane with discrete collision/scoring resolution. - **Player/agent count:** 2 opposing sides (TA,TB), each controlling 2 assigned balls (BA1,BA2 for TA; BB1,BB2 for TB). Total balls = 4. - **Turn model:** Strictly sequential, cyclic 4-ball rotation: BA1→BB1→BA2→BB2. ## Formal rules R1. **Court & Equipment Geometry:** - Court bounding box: X∈[−2.5,2.5]m, Y∈[0.0,10.0]m. - Pivot hoop gate is centered at (0.0,7.0), oriented parallel to the X-axis with opening width Whoop=0.30m. - Ditch zone (*greppel*) is the region Y≥9.5m. - Baseline re-entry point is (0.0,0.5m). R2. **Turn Rotation:** - Turn index t(mod4) selects the active ball bactive∈{BA1,BB1,BA2,BB2}. - The agent controlling bactive executes a push action from the ball's current resting position. R3. **Push Action & Contact Physics:** - An action is defined by (v,θ), applying initial velocity vector 𝐯0 to bactive. - Continuous physics simulates rolling with friction coefficient μ. - Ball-to-ball collisions resolve elastically, updating velocities and positions of all 4 balls. R4. **Scoring Events:** - **Forward Hoop Pass:** If a ball b∈Tk passes forward through the hoop opening along its trajectory, Tk is awarded +2 points. - **Opponent Ditch:** If a ball b∈Topp enters the ditch (Y≥9.5) as a result of the active turn, the active team Tk is awarded +2 points. - **Self Ditch Penalty:** If bactive∈Tk enters the ditch, the opponent team Topp is awarded +2 points. - **Backward Opponent Hoop:** If b∈Topp is pushed backward through the hoop, Tk is awarded +2 points. R5. **Ditch Re-entry:** - Any ball in the ditch is placed at the baseline spot (0.0,0.5) prior to its next turn. R6. **Victory Condition:** - Team scores update: Pk←Pk+ΔP. - The first team to reach Pk≥30 points wins the match immediately. - [gap-fill] If both teams simultaneously reach ≥30 in a single multi-event collision turn, the team with the strictly higher point total wins; if exactly tied at ≥30, play continues until a 2-point lead is established. ## Edge cases - **Tie at the end condition:** Handled by R6 (continue until 2-point lead if tied at ≥30). - **A player with no legal move:** Not applicable — pushing the ball from its current resting coordinates is always mechanically legal. - **Repetition / cycles:** Bounded by score accumulation: almost all interactive turns generate positive scoring events; [gap-fill] if 20 consecutive turns produce 0 score change, the player with the highest current score is declared winner. - **Simultaneous claims on the same resource:** Physics engine prevents co-location; balls bounce or displace on contact. - **Player elimination mid-round; turn order repair:** Not applicable — fixed 4-ball rotation throughout match. - **Resource exhaustion:** Balls and court are persistent and indestructible. - **Termination guarantee:** Guaranteed by monotonic score accumulation toward the 30-point threshold. ## State representation - **Persistent state:** Team scores (PA,PB∈[0,30]), active ball index t∈[0,3], consecutive scoreless turn counter. - **Per-ball state:** 4 ball records [(id,xi,yi,teami,in_ditchi)]. - **Observable information:** Fully observable game state. ## Action space - `push_ball(speed, angle)`: - `speed` ∈[0.5,8.0] m/s. - `angle` ∈[0,2π] push azimuth. ## Playability notes - **Single-player-vs-AI:** Natural as head-to-head match against an AI agent choosing between offensive hoop shots and defensive ditch-strikes. - **Group games (n>4):** Reduces directly to 2 agents (1 per team) controlling both team balls. - **Physical-skill games:** Execution variance parameterized as Δv∼𝒩(0,σv2), Δθ∼𝒩(0,σθ2). - **What is lost in the adaptation:** The physical sensation of guiding a 4 kg ball with a broad ash shovel, fine clay surface texture variations, and café camaraderie. ## Implementation hints - Implement hoop passage using 2D line segment intersection with orientation check (dot product of velocity with gate normal). - Discretize actions into 36 angles × 10 speed levels = 360 candidate pushes per turn. - Suggested first milestone: Build the 4-ball 2D collision engine and hoop-crossing scoring trigger (R4).

Download as JSON

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

Download JSON
Cite this page

Ring and shovel ball (Belgium). (n.d.). Games of Countries. https://gamesofcountries.com/games/be-belgium/beugelen

@misc{gamesofcountries-be-belgium-beugelen,
  title = {Ring and shovel ball (Belgium)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/be-belgium/beugelen}
}