Formal Specification
Egg collection race (Eierläset / Spring egg sprint) — Formal Specification
Switzerland · festival-ritual · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Eierleset — AI-optimized specification
## General idea
A dual-track asynchronous race game. Team (Egg Gatherers) optimizes shuttle sprinting, throw-vs-carry decisions, and fragile object catching across 100 discrete egg stations. Team (Distance Runners) paces a continuous cross-country progress bar. The match is a race against time between two fundamentally distinct physical task structures.
## Formal model
- **Abstraction taken:** The 100 egg stations along the street are modeled as a 1D coordinate array (, m). The overland cross-country course is modeled as a 1D continuous distance bar ( m).
- **Player/agent count:** 2 team agents (, ).
- **Turn model:** Synchronous real-time ticked execution ( seconds per tick).
## Formal rules
R1. Setup: 100 eggs placed at positions . Collected egg count . Runner position .
R2. Gatherer Action per Egg :
- Gatherer sprinter runs to in time .
- Choice of return mode:
1. `carry_back`: Sprinter runs back to in time . Egg safely added (). Probability of break .
2. `toss_to_catcher`: Sprinter throws egg from to catcher at .
- Time cost s (flight time).
- Success probability .
- If caught: Egg added ().
- If dropped: Egg breaks. Penalty time applied: gatherer must run to replacement pile and re-do station ( s).
R3. Runner Progress:
- At each tick, runner advances: .
R4. Victory Conditions:
- If while : Team (Gatherers / Spring) wins immediately.
- If while : Team (Runners / Winter) wins immediately.
R5. [gap-fill] Simultaneous Crossing: If the 100th egg is secured on the exact same tick that the runner crosses , Team (Spring) is awarded victory per traditional custom.
## Edge cases
- **Tie at the end condition:** Handled by R5 (Spring priority rule).
- **A player with no legal move:** Gatherer always chooses between `carry_back` and `toss`; runner continuously advances.
- **Repetition / cycles:** Bounded by monotonic egg accumulation () and runner distance progress ( m).
- **Simultaneous claims on the same resource or position:** Both teams operate on separate physical tracks.
- **Player elimination mid-round; turn order repair:** No mid-race eliminations.
- **Resource exhaustion:** Exactly 100 stations; race terminates on completion.
- **Termination guarantee:** Monotonically increasing and non-decreasing guarantee finite termination.
## State representation
- **Persistent state:** Match winner ID, final elapsed time.
- **Per-tick state:** Active egg index , collected egg counter , runner distance , active gatherer sub-state (sprinting, tossing, penalty).
- **Observable information:** Fully observable state. Both teams see the public egg count and runner progress bar .
## Action space
- `gather_egg(egg_id, mode)`: Mode .
- `set_runner_pace(speed_ratio)`: Float (pacing vs fatigue trade-off).
## Playability notes
- **Single-player-vs-AI:** Excellent optimization and risk-management challenge (computing the optimal threshold distance beyond which tossing becomes statistically superior to carrying).
- **Group games ():** Standard village team relay format.
- **Physical-skill games:** Shuttle sprinting stamina and aerial raw egg catching are abstracted into speed and catch probability formulas.
- **What is lost in the adaptation:** The splat of broken raw eggs on cobblestones, masked carnival dancers, and the smell of sizzling *Eiertätsch* omelettes.
## Implementation hints
- Implement tick loop at 2 Hz (0.5s timestep).
- Suggested first milestone: Implement deterministic carry-only baseline race before adding the stochastic toss-and-break penalty model.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Egg collection race (Eierläset / Spring egg sprint) (Switzerland). (n.d.). Games of Countries. https://gamesofcountries.com/games/ch-switzerland/eierleset
@misc{gamesofcountries-ch-switzerland-eierleset,
title = {Egg collection race (Eierläset / Spring egg sprint) (Switzerland)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/ch-switzerland/eierleset}
}