Formal Specification
Egg-and-Spoon Races — Formal Specification
Cyprus · dexterity-small · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Avgodromies — AI-optimized specification
## General idea
A simultaneous discrete-time race simulation where agents control acceleration against an accumulating dynamic balance instability metric. Higher forward velocities generate higher destabilizing oscillations; if cumulative wobble exceeds a spoon-containment threshold, the egg drops, requiring stationary ticks to retrieve and reset before moving forward.
## Formal model
- **Abstraction taken:** 1D linear track of length (e.g. meters). Micro-balancing of the wrist/jaw is modeled as a 1D continuous stability state (wobble index), updated via stochastic differential transitions conditioned on agent speed choice.
- **Player/agent count:** racing agents (), where .
- **Turn model:** Simultaneous tick-based simulation. All agents submit speed/stabilization actions simultaneously each tick.
## Formal rules
R1. **Initial State:** Track distance . For each agent : position , wobble index , egg state , and recovery timer .
R2. **Action Selection:** Each tick, an agent with chooses an action :
- : Advance , Wobble update .
- : Advance , Wobble update .
- : Advance , Wobble update .
R3. **Wobble Clamping & Drop Threshold:**
- Update wobble: .
- If (critical threshold):
- .
- .
- (agent must spend 3 recovery ticks picking up the egg) [gap-fill].
- No advance occurs on this tick ().
- Otherwise: .
R4. **Recovery Dynamics:**
- If : Agent's only legal action is `retrieve_egg()`.
- Recovery timer decrements: .
- When : , , and agent resumes from .
R5. **Finish Condition:**
- The race finishes at the end of the tick where at least one agent satisfies and .
- The winner is the agent with largest .
R6. [gap-fill] If multiple agents cross simultaneously with balanced eggs, the agent with lower wobble index wins the tiebreaker.
R7. [gap-fill] A maximum race limit ticks guarantees termination; if reached without crossing , the agent with largest wins.
## Edge cases
- **Tie at the end condition:** Broken by lowest wobble index in R6; exact ties share victory.
- **A player with no legal move:** Balanced agents have 3 movement options; dropped agents have `retrieve_egg()`.
- **Repetition / cycles:** Positions are non-decreasing; dropping the egg only delays advancement without reversing progress.
- **Simultaneous claims on the same resource or position:** Parallel independent lanes — no collision or blocking between agents.
- **Player elimination mid-round:** Not applicable — all agents race until finish line or timeout.
- **Resource exhaustion:** Eggs cannot be permanently broken in standard mode; wobble resets upon recovery.
- **Termination guarantee:** Guaranteed because increases with and in R7 bounds total elapsed ticks.
## State representation
- **Persistent state:** Distance , agent roster size .
- **Per-tick state:** For each agent : position , wobble , egg status , recovery counter , tick counter .
- **Observable information:** Fully observable — all positions, wobble meters, and egg states are public knowledge.
## Action space
- `move(speed_mode)`: Valid when , with .
- `retrieve_egg()`: Valid and required when .
## Playability notes
- **Single-player-vs-AI:** Excellent risk-management balancing game where player regulates speed throttle to stay just below the wobble threshold.
- **Group games ():** Scales seamlessly to agents due to decoupled parallel lanes.
- **Physical-skill games:** Physical vestibular and motor stabilization is mapped to the internal wobble accumulator .
- **What is lost:** The micro-tactile feel of a wooden spoon handle and physical egg rotation is collapsed into scalar variable .
## Implementation hints
Treat agent policy optimization as a classic optimal control problem (or Markov Decision Process) with a stochastic penalty zone at . The optimal policy switches between `SPRINT` and `SLOW_STABILIZE` based on current . First milestone: implement single-agent wobble accumulator and test threshold triggers before running multi-agent races.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Egg-and-Spoon Races (Cyprus). (n.d.). Games of Countries. https://gamesofcountries.com/games/cy-cyprus/avgodromies
@misc{gamesofcountries-cy-cyprus-avgodromies,
title = {Egg-and-Spoon Races (Cyprus)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/cy-cyprus/avgodromies}
}