Skip to main content
Formal Specification

Egg Tapping (Egg Battles / Olu Kaujas) — Formal Specification

Latvia · festival-ritual · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 10
# Olu sišanās — AI-optimized specification ## General idea A traditional Easter one-on-one egg-tapping contest. Two participants select eggs and tap them tip-to-tip; the agent whose eggshell suffers structural fracture loses the duel and forfeits the egg, while the agent with the intact egg advances in the tournament bracket. ## Formal model - **Abstraction taken:** Microstructural eggshell calcium density, curvature geometry, and manual finger-cushioning are modeled as a stochastic fracture threshold duel. Each egg j possesses an intrinsic structural hardness Hj∼Weibull(k=3.5,λ=10.0) [gap-fill]. Agents make strategic decisions regarding egg selection from an inventory, tip orientation, grip coverage, and impact tapping velocity. - **Player/agent count:** 2 agents per bout; tournament brackets support N=2k competitors. - **Turn model:** Simultaneous parameter selection (egg choice, grip, role) followed by stochastic impact resolution. ## Formal rules R1. **Egg inventory and selection:** Each agent starts with a personal basket of Ecount=3 hard-boiled eggs with private sampled hardness values [gap-fill]. R2. **Tip orientation:** Bouts are fought tip-to-tip using the pointed tip (*snīpītis*) or blunt tip (*dibentiņš*). Pointed tips have +20% structural resilience due to tighter curvature radius [gap-fill]. R3. **Role and grip selection:** - One agent acts as the `holder` (stationary braced posture); the other acts as the `striker` (dynamic axial tap). Roles are determined by coin toss or alternation [gap-fill]. - Both agents choose grip exposure parameter g∈[0.1,0.5] (fraction of egg tip exposed between fingers): lower g increases finger cushioning protection by (1−g)⋅15%, but incurs a foul risk if g<0.15 [gap-fill]. R4. **Striking dynamics:** Striker chooses tap impulse I∈[1.0,5.0] N⋅s [gap-fill]. R5. **Fracture evaluation:** - Impact stress σholder=I⋅(1−cushionholder)+ϵ1. - Impact stress σstriker=I⋅(1−cushionstriker)+ϵ2, where ϵ∼𝒩(0,0.52) [gap-fill]. - An egg cracks if its induced stress σ≥Hj. R6. **Bout resolution:** - **Single fracture:** If one egg cracks and the other remains intact, the owner of the intact egg wins the bout and claims the cracked egg. - **Double fracture:** If both crack simultaneously, the bout is a draw and both eggs are discarded [gap-fill]. - **Double intact:** If neither cracks, the duel repeats with striker impulse increased by +1.0 N⋅s. R7. **Match/tournament termination:** Bouts proceed in a single-elimination bracket until one champion egg and undefeated player remains [gap-fill]. ## Edge cases - Tie at the end condition: in a tournament final, if both eggs fracture on the final tap, both players select a secondary egg from inventory to retap; if inventories are empty, declared a joint championship [gap-fill]. - A player with no legal move: an agent with 0 uncracked eggs is eliminated from the tournament bracket. - Repetition / cycles: bounded because impulse I increases monotonically on repeated intact taps until fracture stress exceeds Hj. - Simultaneous claims on the same resource or position: simultaneous stress evaluation resolves independently per egg fracture condition. - Player elimination mid-round: an eliminated player exits the bracket; surviving winners advance to the next tournament tier. - Resource exhaustion: egg supplies decrease monotonically with every fracture event until only 1 intact egg remains. - Termination guarantee: guaranteed by the strictly increasing force ladder and finite upper bound on physical eggshell strength. ## State representation - Persistent state: tournament bracket tree, player inventory lists, cumulative won eggs per player. - Per-turn ephemeral state: active duel player IDs, selected egg IDs, chosen grip parameters (g1,g2), chosen striker impulse I, calculated impact stresses, fracture results. - Observable information: - Public: bracket status, bout scores, visible egg tip orientation (pointed vs blunt), fracture outcomes. - Private / Hidden: exact numerical hardness values Hj of opponent eggs remain hidden. ## Action space - `select_egg(egg_id)`: choose which egg to field from personal inventory. - `set_grip(exposure)`: set tip exposure g∈[0.15,0.5]. - `strike(impulse)`: choose tap force I∈[1.0,5.0]. Precondition: agent is striker. ## Playability notes - Single-player-vs-AI: natural — human evaluates risk across multiple eggs against AI challengers in a tournament ladder. - Group games (n>4): natively organized as a multi-tier single-elimination tournament. - Physical-skill games: manual fingertip pressure and tactile shell inspection abstracted into grip parameters and sampled Weibull hardness distributions. - What is lost: visual examination of shell micro-cracks, tapping egg against front teeth to test acoustic resonance, and festive eating of cracked eggs. ## Implementation hints Low complexity. Simple probabilistic comparison function embedded inside a standard knockout tournament engine. First milestone: implement 1v1 bout fracture calculator with grip cushioning, then wrap in a tournament bracket generator.

Download as JSON

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

Download JSON
Cite this page

Egg Tapping (Egg Battles / Olu Kaujas) (Latvia). (n.d.). Games of Countries. https://gamesofcountries.com/games/lv-latvia/olu-sisanas

@misc{gamesofcountries-lv-latvia-olu-sisanas,
  title = {Egg Tapping (Egg Battles / Olu Kaujas) (Latvia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lv-latvia/olu-sisanas}
}