Skip to main content
Formal Specification

Easter Egg Rolling — Formal Specification

Denmark · festival-ritual · Confidence: high

← Back to game page

Implementation 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 D, 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 R rounds. ## Formal rules R1. Setup: Each agent i begins with an inventory of K eggs (default K=3). A rolling slope of length L=20 m is initialized. R2. On agent i's turn, the agent chooses an aim angle θ∈[−30∘,+30∘] and initial release velocity v0∈[1.0,5.0] m/s. R3. [gap-fill] The final rest position (x,y) of the rolled egg is sampled as: x=v0⋅sin⁡(θ)+ϵx,y=v0⋅cos⁡(θ)+ϵy where ϵ∼𝒩(0,σ2) reflects irregular egg geometry. R4. **Target-Capture Resolution:** - If the roll trajectory intersects within collision radius rcoll=0.15 m of any resting target egg j, collision occurs. - [gap-fill] A collision check transfers ownership of egg j to agent i, awarding agent i +1 point. - If no collision occurs, egg i comes to rest at (x,y) and becomes a target for subsequent rollers. R5. **Durability Mode Check:** On each roll and collision, shell integrity S is updated: Snew=Sold−ΔS,ΔS∼Uniform(0.1,0.4) If S≤0, the egg is fractured and removed from active play. R6. [gap-fill] In Distance Mode, score for round r equals the y-coordinate of the rest position; highest y wins the round. R7. Match end: The game concludes when all eggs are won/broken or after a fixed round limit Rmax. 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 K and maximum rounds Rmax. - 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 (current+1)(modactive_players). - 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 Si,k, active player list. - Per-turn ephemeral state: Coordinates (x,y) of all resting eggs on the field, active player index, current aim parameters (θ,v0). - Observable information: Fully observable — all egg positions and score counts are public common knowledge. ## Action space - `roll_egg(theta, v0)`: Select aim angle θ∈[−30∘,30∘] and velocity v0∈[1.0,5.0]. - `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 JSON
Cite 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}
}