Skip to main content
Formal Specification

The Golden Gate Is Open (Czech Archway Game) — Formal Specification

Czechia · singing-circle · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 1
# Zlatá brána otevřená — AI-optimized specification ## General idea A two-phase group game consisting of a rhythmic queue-traversal trapping phase followed by a team strength-pulling phase. A line of agents advances through an archway during a fixed-syllable chant; upon the final syllable, the trapped agent makes a binary team choice. Once all agents are divided, a tug-of-war decides the winning side. ## Formal model - **Abstraction taken:** The walking line is modeled as a FIFO queue of agent IDs moving across a 1D index line with the Gate positioned at index 0. The concluding tug-of-war is modeled as a force-summation scalar contest with Gaussian effort noise. - **Player/agent count:** N agents (G1,G2 as Gatekeepers; A1…AN−2 as Line Agents, N≥6, standard N=10). - **Turn model:** Phase 1: Sequential FIFO procession ticks. Phase 2: Simultaneous collective force contest. ## Formal rules R1. Setup: Gatekeepers G1,G2 establish secret identities I1=Gold, I2=Silver. Line agents A1…AN−2 form queue Q. Team rosters Tgold={G1}, Tsilver={G2}. R2. Chanting & Queue advance: - Song duration Tsong=16 discrete beats. - Each beat shifts the front agent of Q through the gate index (position 0). - Speed pacing: The queue advances 1 agent per beat. - At beat 16, the agent occupying position 0 is marked `TRAPPED`. R3. Team Allegiance Decision: - Trapped agent Atrapped receives binary prompt: choose `GOLD` or `SILVER`. - Choice is resolved: if `GOLD`, Atrapped is appended to Tgold; if `SILVER`, to Tsilver. - Atrapped is permanently removed from queue Q. R4. Phase 1 Loop: - Steps R2–R3 repeat until |Q|=0 (all line agents allocated). R5. Phase 2 Tug-of-War (*Přetahovaná*): - Team force is computed: Fgold=∑a∈Tgold(strengtha+ϵa),ϵa∼𝒩(0,0.12) Fsilver=∑a∈Tsilver(strengtha+ϵa),ϵa∼𝒩(0,0.12) - Tug distance displacement Δx=α⋅(Fgold−Fsilver). R6. Win condition: - If Δx>0: Team Gold wins the game. - If Δx<0: Team Silver wins the game. - [gap-fill] If Δx==0: Decided by sudden-death 1v1 contest between G1 and G2. ## Edge cases - Tie at the end condition: Equal force in tug-of-war resolved by R6 gatekeeper sudden-death trial. - A player with no legal move: Addressed by binary allegiance choice `GOLD` vs. `SILVER`. - Repetition / cycles: Phase 1 queue strictly decrements by 1 agent every 16 beats; Phase 2 executes in 1 resolution step. - Simultaneous claims on the same resource: Trapping uniquely selects the single agent at index 0 on beat 16. - Player elimination mid-round: Disconnected agent removed from queue/team; force sum adapts naturally. - Resource exhaustion: Queue monotonically drains to 0. - Termination guarantee: Provably terminates after exactly N−2 chant cycles and 1 tug-of-war evaluation. ## State representation - Persistent state: `teams: dict[str, list[int]]`, `queue: list[int]`, `phase: {QUEUE_TRAP, TUG_OF_WAR}`. - Ephemeral cycle state: `beat_counter: int`, `currently_trapped_id: int`. - Observable information: - Private: Gatekeeper assigned identities during choice prompt. - Public: Queue order, visible team compositions, and tug-of-war results. ## Action space - `select_allegiance(choice: {GOLD, SILVER})`: Executed by trapped agent. - `commit_tug_force(effort: float)`: Parameter ∈[0.0,1.0]. ## Playability notes - Single-player-vs-AI: Natural; human plays as a line agent making secret allegiance choices and pulling in tug-of-war. - Group games (n>4): Scales naturally from 6 to 30 agents. - Physical-skill games: Group singing pace and collective isometric rope pull are mapped to queue mechanics and force summation. - What is lost: Physical arm archway geometry and the visceral strain of human chain pulling. ## Implementation hints Low complexity. The two-phase pipeline (deterministic FIFO queue drainage followed by scalar force comparison) is extremely clean to implement. First milestone: 6 agents dividing into teams and resolving the tug-of-war.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

The Golden Gate Is Open (Czech Archway Game) (Czechia). (n.d.). Games of Countries. https://gamesofcountries.com/games/cz-czechia/zlata-brana

@misc{gamesofcountries-cz-czechia-zlata-brana,
  title = {The Golden Gate Is Open (Czech Archway Game) (Czechia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/cz-czechia/zlata-brana}
}