Formal Specification
Open, O Rose! (Egyptian Singing Ring Game) — Formal Specification
Egypt · singing-circle · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Fatahi Ya Warda — AI-optimized specification
## General idea
A rhythmic circle coordination and impulse-control game. Participant agents execute synchronized state transitions (Expand, Contract) following periodic musical verse ticks until a sudden Leader cue (`FREEZE` or `DROP`) triggers an instantaneous reaction check where moving or delaying results in elimination.
## Formal model
- **Abstraction taken:** Musical lyrical rhythm is mapped to a discrete discrete state machine: `EXPAND`, `CONTRACT`, `CLIMAX_SIGNAL`. Participant reaction is modeled as reaction time latency and post-freeze posture stability metric .
- **Player/agent count:** 1 Leader vs. Participants (reduced 2-agent model: 1 Leader vs 1 Participant).
- **Turn model:** Synchronous discrete ticks (100ms per tick).
## Formal rules
R1. State Cycle:
- Phase 1 (Verse): Ticks 0..15: Circle expands (radius increases ).
- Phase 2 (Chorus): Ticks 16..30: Circle contracts (radius decreases ).
- Phase 3 (Climax Cue): At a stochastic tick , Leader emits signal `CUE ∈ {FREEZE, DROP}`.
R2. Participant Reaction Check:
- Upon `CUE` emission, each Participant must submit `act(CUE_MATCH)` within threshold window ticks (300ms).
- If Participant latency , agent commits a `TIMING_FAULT` and is eliminated.
R3. Freeze Stability (if CUE == FREEZE):
- For 10 post-cue ticks, Participant must remain in `STILL` state.
- Posture stability per tick: where .
- If , agent breaks posture (`WOBBLE_FAULT`) and is eliminated.
R4. Leader Provocation:
- Leader can execute `PROVOKE(target_id)` during the freeze window, increasing on that target.
R5. Scoring & Survival:
- Surviving the freeze window without faults awards points to the Participant.
- Eliminating a Participant awards points to the Leader.
R6. [gap-fill] Match Termination: Game consists of 5 verse-climax cycles. Agent with the highest score (or last surviving Participant) wins.
## Edge cases
- Tie at the end condition: If multiple participants survive all 5 cycles with equal points, a rapid sudden-death freeze round is conducted.
- A player with no legal move: Matching action primitives are always available.
- Repetition / cycles: Bounded by the 5-cycle match limit (R6).
- Simultaneous claims on the same resource or position: Actions are processed independently per participant agent.
- Player elimination mid-round; turn order repair: Eliminated agents become observers; surviving agents continue the next cycle.
- Resource exhaustion (pieces, tokens, space, time): Cycles strictly terminate at 5.
- Termination guarantee: Guaranteed by the finite 5-cycle match cap.
## State representation
- Persistent state:
- `agent_scores`: map of `agent_id` to integer.
- `surviving_agents`: set of `agent_id`.
- `cycle_number`: integer in `1..5`.
- Per-tick state:
- `song_phase`: `EXPAND | CONTRACT | CUE_EMITTED | FREEZE_WINDOW`.
- `active_cue`: `NONE | FREEZE | DROP`.
- `stability_levels`: map of `agent_id` to float .
- `tick_counter`: integer.
- Observable information: Song phase and public cues are observable by all agents.
## Action space
- Leader: `emit_cue(type)`, `provoke(target_id)`.
- Participant: `sync_move()`, `react_cue(type)`, `hold_still()`.
## Playability notes
- Single-player-vs-AI: Engine-ready; play as human Participant testing reaction speed and impulse resistance against AI Leader.
- Group games (n>4): Parameterizes cleanly for arbitrary group sizes .
- Physical-skill games: Motor freeze control and auditory reaction time are formalized as discrete latency and stability decay.
- What is lost in adaptation: The choral harmony of singing voices and physical hand contact in the circle.
## Implementation hints
Lightweight state machine with reaction timer and Gaussian perturbation. First milestone: implement verse state machine and reaction-time threshold validator before adding leader provocation.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Open, O Rose! (Egyptian Singing Ring Game) (Egypt). (n.d.). Games of Countries. https://gamesofcountries.com/games/eg-egypt/fatah-ya-warda
@misc{gamesofcountries-eg-egypt-fatah-ya-warda,
title = {Open, O Rose! (Egyptian Singing Ring Game) (Egypt)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/eg-egypt/fatah-ya-warda}
}