Skip to main content
Formal Specification

El Juego del Huevo (egg-throwing and egg-knocking betting game) — Formal Specification

Puerto Rico · gambling-stake · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: directGap-fills: 1
# El Juego del Huevo — AI-optimized specification ## General idea A two-form betting game built around egg hardness and throwing accuracy: buried-egg target-throwing against a monetary stake, and direct egg-vs-egg knocking with a cockfight-style win-both-eggs stake structure. One of the more mechanically complete entries in this Puerto Rico batch. ## Formal model - **Abstraction taken:** an egg's "hardness" (a real physical property the source treats as variable and biddable — guinea-fowl eggs are explicitly prized as harder) is modeled as a numeric durability stat rather than simulated shell physics. - **Player/agent count:** buried-egg form supports 1 operator + any number of throwers (reducible to a 1-vs-1 operator/thrower core); egg-knocking form is strictly 2 players. - **Turn model:** sequential — each throw or knock is a discrete resolved action. ## Formal rules R1. **Buried-egg form setup**: an egg with a durability stat is "buried" (a target object with a break-threshold); a stake value is set; a stone-price is set as a function of the stake tier (attested: higher stakes cost more per attempt). R2. A thrower pays the stone-price to attempt one throw. R3. The throw resolves as an accuracy-vs-target skill check; on success, the egg's durability is reduced (or, simplified, the egg breaks outright on any successful hit, since the source does not describe partial damage, only intact-vs-broken). R4. If the egg breaks, the throwing player who broke it wins the staked money; a new egg is buried and R1-R3 repeat. R5. If the egg survives a throw, the operator keeps the stone-price paid and offers another attempt (by the same or a different thrower) at R2. R6. **Egg-knocking form**: two players each supply one egg with a durability stat (hidden from the opponent, per the attested pre-game foot-testing behavior suggesting players privately assess but do not necessarily reveal their egg's true hardness). R7. The two eggs' tips are knocked together repeatedly ("poquito a poco"); each knock is an opposed durability check. R8. The first egg to crack loses; the surviving egg's owner wins both eggs, or the agreed stake if one was set (attested: an explicit side-bet is optional, falling back to "winner keeps both eggs" if no money stake was agreed). ## Edge cases - Tie at end: [gap-fill] simultaneous cracking on the same knock (R7) is not attested; this spec treats it as a rare draw requiring a replay with fresh eggs. - A player with no legal move: not applicable in either form, an attempt/knock is always available while eggs/stones remain. - Repetition/cycles: the buried-egg form (R2-R5) could in principle repeat indefinitely against a very hard egg; this is attested as realistic ("a veces... varias veces lo rompía") and not treated as a bug — the operator profits from repeated stone sales regardless of outcome, which is itself the attested business model. - Simultaneous claims: not applicable, sequential resolution in both forms. - Player elimination: not applicable. - Resource exhaustion: a thrower who runs out of money to buy stones is implicitly out of the buried-egg form; not explicitly stated but a natural consequence of R2's payment requirement. - Termination guarantee: the buried-egg form terminates whenever a break occurs (R4), which given nonzero break-probability per throw and unlimited attempts is guaranteed with probability 1 over unbounded attempts, though not bounded in attempt-count; the egg-knocking form terminates in a bounded number of knocks since durability strictly decreases each successful knock. ## State representation Persistent state: buried egg's current durability, current stake value, current stone-price. Per-attempt ephemeral state: the throw/knock resolution outcome. Egg-knocking form has one information asymmetry: each player's true egg-durability value may be privately estimated (via the attested foot-test) but is not necessarily disclosed to the opponent before play. ## Action space - `buy_stone_and_throw()`: buried-egg form, consumes the stone-price, resolves an accuracy check against the buried egg's durability. - `knock()`: egg-knocking form, resolves an opposed durability check between the two players' eggs. - `foot_test_own_egg()`: optional pre-game action (egg-knocking form) letting a player privately sample their own egg's durability before committing it to play (attested behavior, informational only, no game-state effect beyond the acting player's own knowledge). ## Playability notes - Single-player-vs-AI: natural for both forms — buried-egg form as a solo throwing minigame against an AI-run "house"/operator; egg-knocking form as a direct 1v1 duel against an AI opponent. - Group games (n>4): the buried-egg form scales naturally to any number of throwers competing for the same buried egg/stake; the egg-knocking form is inherently 1v1 but could run as a single-elimination bracket among more players. - Physical-skill games: buried-egg form's throw is a straightforward accuracy skill check; egg-knocking form has no physical-skill component beyond egg selection, being purely a durability comparison once eggs are chosen. - What is lost: nothing structurally significant is lost — this is one of the more completely attested games in the Puerto Rico batch; the main simplification is treating egg "durability" as a single hidden numeric stat rather than simulating real shell mechanics. ## Implementation hints The buried-egg form is essentially a pay-per-attempt skill-based betting minigame (a carnival-game pattern); the egg-knocking form is essentially a hidden-stat 1v1 duel resolved by a single comparison, close in spirit to a coin-flip duel weighted by each egg's durability stat. Both are straightforward to implement; the interesting design question left open by the source is exactly how "durability" should degrade across repeated non-breaking attempts in the buried-egg form (flat break-probability per throw vs. cumulative wear) — treat as a tunable parameter.

Download as JSON

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

Download JSON
Cite this page

El Juego del Huevo (egg-throwing and egg-knocking betting game) (Puerto Rico). (n.d.). Games of Countries. https://gamesofcountries.com/games/pr-puerto-rico/juego-del-huevo

@misc{gamesofcountries-pr-puerto-rico-juego-del-huevo,
  title = {El Juego del Huevo (egg-throwing and egg-knocking betting game) (Puerto Rico)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/pr-puerto-rico/juego-del-huevo}
}