Formal Specification
La Calva — Formal Specification
Spain · dexterity-throw · Confidence: low
← Back to game pageImplementation 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 and contact altitude at target distance . The collision test checks whether the cylinder's bounding cylinder intersects the target arm before (ground plane).
- **Player/agent count:** 2 agents in singles (or 2 teams of 2 to 4 agents).
- **Turn model:** Sequential series of throws per agent (standard ).
## Formal rules
R1. Course setup: Target *calva* occupies position at distance from the throwing line. Target cross-section is defined by width and height range .
R2. Inning structure: Each agent performs throws, structured in 5 sets of 5 throws.
R3. Throw action: The active agent executes .
R4. Impact sampling: Actual trajectory is resolved with Gaussian angular dispersion .
R5. Hit scoring:
- If the trajectory impacts the upright arm ( and ) with altitude prior to impact: point (*calva buena*).
- If the trajectory impacts the ground () 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 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 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 .
- **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 () and decisive sudden-death resolver.
## State representation
- **Persistent state:** `score_A` (), `score_B` (), `throws_completed` (), `current_turn_agent` (A or B).
- **Per-throw ephemeral state:** `aim_vector` , `impact_coords` , `hit_valid` (bool).
- **Observable information:** Fully observable to all agents.
## Action space
- `throw_marro(arc_angle, azimuth_offset, power)`: Parameters `arc_angle` , `azimuth_offset` , `power` .
## 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: .
- **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 JSONCite 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}
}