Skip to main content
Formal Specification

La Calva — Formal Specification

Spain · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 2
# La calva — AI-optimized specification ## General idea A turn-based precision target game where agents heave a heavy steel cylinder (*marro*) across 15 meters toward an angled wooden block (*calva*). Scoring is binary per throw: a direct aerial strike on the upright arm yields 1 point, while any prior ground contact yields 0 points. Strategic decisions center on trajectory arc selection (steep high arc vs. direct flat drive) to balance aim accuracy against ground-skipping risk. ## Formal model - **Abstraction taken:** The 3D ballistic trajectory of the cylinder is abstracted into a 2D impact vector (x,z) and contact altitude h at target distance D=15.0 m. The collision test checks whether the cylinder's bounding cylinder intersects the target arm [hmin,hmax] before h≤0 (ground plane). - **Player/agent count:** 2 agents in singles (or 2 teams of 2 to 4 agents). - **Turn model:** Sequential series of M throws per agent (standard M=25). ## Formal rules R1. Course setup: Target *calva* occupies position (0,0) at distance 15.0 m from the throwing line. Target cross-section is defined by width W=0.08 m and height range Z∈[0.05,0.30] m. R2. Inning structure: Each agent performs M=25 throws, structured in 5 sets of 5 throws. R3. Throw action: The active agent executes throw(θelevation,ϕazimuth,power). R4. Impact sampling: Actual trajectory is resolved with Gaussian angular dispersion σ∝(1−skill). R5. Hit scoring: - If the trajectory impacts the upright arm (Z∈[0.05,0.30] and |X|≤W/2) with altitude h>0 prior to impact: +1 point (*calva buena*). - If the trajectory impacts the ground (h≤0) prior to or simultaneously with hitting the target: 0 points (*suelo* / *blanco*). - If the throw misses the target bounding box entirely: 0 points. R6. Team aggregation: Individual scores are summed into team totals. R7. [gap-fill] Tie-breaking: If tied after M throws, a sudden-death playoff is contested where each agent throws 1 marro per round until the tie is broken. R8. Win condition: The agent or team with the highest total points at the end of M throws (or after playoff) wins the match. ## Edge cases - **Tie at the end condition:** Resolved via 1-throw sudden-death rounds (R7). - **A player with no legal move:** Not applicable; throw action is always legal. - **Repetition / cycles:** Non-cyclical; bounded strictly by the fixed throw counter M→25. - **Simultaneous claims on the same resource or position:** Not applicable; strictly sequential throws. - **Player elimination mid-round:** Not applicable; fixed roster. - **Resource exhaustion:** Throw counter decreases monotonically to 0. - **Termination guarantee:** Guaranteed by finite throw budget (M=25) and decisive sudden-death resolver. ## State representation - **Persistent state:** `score_A` (0..25), `score_B` (0..25), `throws_completed` (0..25), `current_turn_agent` (A or B). - **Per-throw ephemeral state:** `aim_vector` (θ,ϕ,v), `impact_coords` (x,y,z), `hit_valid` (bool). - **Observable information:** Fully observable to all agents. ## Action space - `throw_marro(arc_angle, azimuth_offset, power)`: Parameters `arc_angle` ∈[25∘,65∘], `azimuth_offset` ∈[−5∘,+5∘], `power` ∈[0.8,1.2]. ## Playability notes - **Single-player-vs-AI:** Natural; human adjusts aim and arc parameters while AI executes parameterized trajectory samples. - **Group games (n>4):** Scales cleanly to any team size by summing sequential throws. - **Physical-skill games:** Core trade-off: High arc angles reduce horizontal ground-contact error but increase dispersion; low arc angles are tighter but risk ground touching. [gap-fill] Trajectory dispersion: σangle=0.04×(1−0.7×skill). - **What is lost in the adaptation:** Physical weight (2.5 kg steel) in hand and resonant metallic crack upon impact with oak wood. ## Implementation hints Very low complexity. Direct 2D/3D ballistic point-intersection math. First milestone: Implement ballistic hit check against 2D rectangular target, then layer in Gaussian dispersion and 25-throw match loop.

Download as JSON

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

Download JSON
Cite this page

La Calva (Spain). (n.d.). Games of Countries. https://gamesofcountries.com/games/es-spain/la-calva

@misc{gamesofcountries-es-spain-la-calva,
  title = {La Calva (Spain)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/es-spain/la-calva}
}