Formal Specification
The Goat (Moldovan Leapfrog & Progressive Hurdle Game) — Formal Specification
Moldova · dexterity-small · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# De-a capra (Capra) — AI-optimized specification
## General idea
A traditional Moldovan progressive leapfrog and hurdle-vaulting game. One player bends forward at the waist assuming the role of the "Goat" (*Capra*). Other players sprint from a runway, place both hands on the Goat's back, and execute straddle vaults. As players clear rounds, the Goat's posture is progressively elevated across four tiers, culminating in a cap-stacking equilibrium challenge (*Capra cu căciuli*).
## Formal model
- **Abstraction taken:** 1D/2D vertical kinematic obstacle vaulting model. Jumpers execute run-ups, palm push-off impulses, and leg straddle angles against a parameterized hurdle height . Level 4 models discrete balance physics of stacked fleece caps.
- **Player/agent count:** 1 Goat agent (), Jumper agents (, with ).
- **Turn model:** Sequential individual jumper attempts within progressive difficulty tiers.
## Formal rules
R1. Setup & Starting Positions:
- Goat is anchored at .
- Runway start line is fixed at (Level 1).
- Tier level initialized to `level = 1`, `caps_on_back = 0`.
- Turn order queue .
- `foul_count` map initialized to 0.
R2. Progressive Height Levels:
- **Level 1 — Capra joasă (Low Goat):** Deep crouch, height .
- **Level 2 — Capra mijlocie (Medium Goat):** Waist bend hands-on-knees, height .
- **Level 3 — Capra înaltă (High Goat):** Standing neck bend, height .
- **Level 4 — Capra cu căciuli (Goat with Caps):** Height plus balanced cap stack.
R3. Vault Execution & Clearance:
- Active jumper submits `run_and_vault(approach_speed, push_thrust, leg_spread)`.
- Kinematic clearance is evaluated:
- Apex trajectory height . Must satisfy .
- Straddle width must exceed Goat shoulder width ().
- Landing stability roll: .
R4. Level 4 Cap Balancing:
- During Level 4, jumper must additionally submit `place_cap_balance()`.
- If placed cap falls or dislodges any existing caps in `caps_on_back`, attempt is judged a foul.
- If successful, `caps_on_back += 1`.
R5. Foul Resolution & Role Swap:
- A foul occurs if a jumper touches the Goat with feet/shins, knocks over the Goat, dislodges a cap, or falls on landing.
- **Immediate Role Transition:** The offending jumper immediately becomes the new Goat ().
- The former Goat joins the jumper queue at the starting line.
- `level` resets to 1, and `caps_on_back` resets to 0.
R6. Level Advancement & Match Victory:
- If all jumpers clear the active level without a foul:
- If `level < 4`: `level` increments by 1; runway distance increases by .
- If `level == 4` and all caps are stacked: Jumpers achieve collective **Grand Master Vault** victory, and round terminates.
- In tournament play across , the player who served fewest rounds as Goat is declared individual champion [gap-fill].
## Edge cases
- Tie at the end condition: If multiple players tie for fewest Goat assignments, sudden-death Level 3 high-vault competition breaks the tie [gap-fill].
- A player with no legal move: Jumpers execute sequential vault actions; Goat holds static isometric base.
- Repetition / cycles: Resetting to Level 1 upon fouls is bounded by maximum 10 role transitions per match [gap-fill].
- Simultaneous claims on the same position: Jumper attempts are strictly sequential.
- Elimination mid-round and turn-order repair: Players are not eliminated; roles rotate dynamically upon fouls.
- Resource exhaustion: Stacked cap count cannot exceed total jumpers .
- Termination guarantee: Because clearance difficulty strictly increases with level and each vault has a non-zero foul probability at higher tiers, either a foul occurs or Level 4 completes within bounded attempts ( vaults).
## State representation
- Persistent state:
- `goat_id`: Agent ID.
- `rounds_as_goat`: Map of Player ID integer.
- `round_number`: Integer .
- Per-vault ephemeral state:
- `level`: Integer .
- `caps_on_back`: Integer .
- `active_jumper_id`: Agent ID.
- `runway_distance`: Float meters .
- `last_vault_result`: Enum .
- Observable information: Fully observable obstacle height, cap stack height, and queue order.
## Action space
- `run_and_vault(speed, thrust, spread)`: Execute running straddle vault.
- `place_cap_balance()`: Balance cap during Level 4 flight.
- `hold_base_posture()`: Goat isometric support.
## Playability notes
- Single-player-vs-AI: Fun physics/platformer style sports game. Player calibrates sprint momentum, palm thrust timing, and leg straddle angles to clear towering obstacle heights without toppling the base.
- Group reduction: Reducible to 1 Goat and 2 Jumpers.
- Physical-skill games: Palm friction push-off, hip abduction flexibility, and delicate hat balancing under mid-air momentum are modeled via trajectory equations and balance thresholds.
- What is lost: The breathless thrill of clearing a tall friend's shoulders and the explosion of village laughter when sheepskin caps go tumbling across the grass.
## Implementation hints
1D/2D parabolic trajectory simulator with obstacle boundary collision checks. First milestone: build basic run-up and straddle clearance validation across heights before implementing Level 4 cap-stacking balance logic.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
The Goat (Moldovan Leapfrog & Progressive Hurdle Game) (Moldova). (n.d.). Games of Countries. https://gamesofcountries.com/games/md-moldova/capra
@misc{gamesofcountries-md-moldova-capra,
title = {The Goat (Moldovan Leapfrog & Progressive Hurdle Game) (Moldova)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/md-moldova/capra}
}