Formal Specification
Easter Egg Rolling — Formal Specification
Denmark · festival-ritual · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 5
# Trille æg — AI-optimized specification
## General idea
A traditional spring/Easter egg-rolling competition where players release dyed hardboiled eggs down an incline. Depending on the chosen mode, agents compete to achieve maximum distance, collide with and capture target eggs on the field, or preserve shell integrity across successive rolls.
## Formal model
- **Abstraction taken:** The continuous 3D physics of egg rolling (wobble, mass eccentricity, grass friction, and shell fractures) is abstracted into a 2D trajectory model with an aim angle , roll distance , and a stochastic collision/breakage resolver.
- **Player/agent count:** 2 to 20 agents (individual turn rotation).
- **Turn model:** Strictly sequential turns in fixed rotation order over rounds.
## Formal rules
R1. Setup: Each agent begins with an inventory of eggs (default ). A rolling slope of length is initialized.
R2. On agent 's turn, the agent chooses an aim angle and initial release velocity .
R3. [gap-fill] The final rest position of the rolled egg is sampled as:
where reflects irregular egg geometry.
R4. **Target-Capture Resolution:**
- If the roll trajectory intersects within collision radius of any resting target egg , collision occurs.
- [gap-fill] A collision check transfers ownership of egg to agent , awarding agent point.
- If no collision occurs, egg comes to rest at and becomes a target for subsequent rollers.
R5. **Durability Mode Check:** On each roll and collision, shell integrity is updated:
If , the egg is fractured and removed from active play.
R6. [gap-fill] In Distance Mode, score for round equals the -coordinate of the rest position; highest wins the round.
R7. Match end: The game concludes when all eggs are won/broken or after a fixed round limit . The agent with the highest egg count / score wins.
## Edge cases
- Tie at the end condition: If two agents have equal points/eggs at the end of the round limit, a sudden-death single roll distance contest resolves the tie [gap-fill].
- A player with no legal move: If an agent runs out of eggs in Target-Capture mode, they are eliminated from active rolling and score is tallied [gap-fill].
- Repetition / cycles: Bounded strictly by egg inventory and maximum rounds .
- Simultaneous claims on the same resource or position: Not applicable; turns are strictly sequential.
- Player elimination mid-round; turn order repair: When an agent loses all eggs, they are skipped in turn rotation; index shifts to .
- Resource exhaustion: When all eggs on the slope are captured or broken, remaining agents roll fresh eggs from their inventory.
- Termination guarantee: Monotonically guaranteed by round counter increment and finite egg inventory.
## State representation
- Persistent state: Scores per player, egg inventories per player, shell integrity values , active player list.
- Per-turn ephemeral state: Coordinates of all resting eggs on the field, active player index, current aim parameters .
- Observable information: Fully observable — all egg positions and score counts are public common knowledge.
## Action space
- `roll_egg(theta, v0)`: Select aim angle and velocity .
- `select_mode(mode)`: Choose game mode (`DISTANCE`, `TARGET_CAPTURE`, `DURABILITY`).
## Playability notes
- Single-player-vs-AI: Natural; player competes against AI bots in target-aiming or distance optimization.
- Group games: Scales seamlessly up to 20 agents due to sequential turn queue.
- Physical-skill games: Motor skill of hand-rolling is mapped to choosing optimal velocity and angle under stochastic noise parameters.
- What is lost: The tactile pleasure of egg crafting, physical lawn topography, and the visual beauty of dyed shells.
## Implementation hints
Extremely simple 2D point-geometry system. Milestone 1: Implement Target-Capture mode with 2D circle collision detection against static resting points. Milestone 2: Add stochastic deviation and shell fracture degradation logic.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Easter Egg Rolling (Denmark). (n.d.). Games of Countries. https://gamesofcountries.com/games/dk-denmark/trille-aeg
@misc{gamesofcountries-dk-denmark-trille-aeg,
title = {Easter Egg Rolling (Denmark)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/dk-denmark/trille-aeg}
}