Formal Specification
Pass Through, Green Branch (The Golden Gate of Hungary) — Formal Specification
Hungary · singing-circle · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Bújj, bújj, zöld ág — AI-optimized specification
## General idea
A two-stage sequential drafting and team contest game where a procession of agents advances in a queue beneath an arm-arch that drops on fixed musical meter intervals to draft trapped agents into two competing teams via hidden token choices, culminating in a force-aggregation tug-of-war.
## Formal model
- **Abstraction taken:** The physical procession is modeled as a 1D circular queue shifting 1 node per metric tick across a 16-beat cycle. The gate drops at tick 16 [gap-fill]. The agent at position 0 is drafted to Team 1 or Team 2 based on a binary decision over masked token labels. After all agents are drafted, a deterministic strength sum resolves the tug-of-war.
- **Player/agent count:** 2 Gatekeepers (GK1, GK2), Processioners ().
- **Turn model:** Sequential discrete rounds in Phase 1 (Queue Drafting); simultaneous single-step resolution in Phase 2 (Tug-of-War).
## Formal rules
R1. Setup:
- Gatekeeper 1 secretly assigns itself token ; Gatekeeper 2 takes token .
- processioners are ordered in queue .
- Initial team sets: , .
R2. Procession Step:
- Song meter runs for beats. On each beat, rotates forward by 1 position.
- At beat 16, the agent occupying index is captured ().
R3. Secret Team Drafting:
- is removed from .
- Gatekeepers present the set of tokens to with gatekeeper ownership hidden.
- submits choice .
- If , joins ; else joins .
R4. Phase Loop: Steps R2–R3 repeat until .
R5. Phase 2 (Tug-of-War Evaluation):
- Each agent has an intrinsic pulling force [gap-fill].
- Total team forces: , .
- Net force .
R6. Win condition: If , Team 1 wins; if , Team 2 wins; if , the match is a draw [gap-fill].
## Edge cases
- Tie at the end condition: If , the tug-of-war is declared a draw [gap-fill].
- A player with no legal move: Not applicable; queue movement is automatic and token choice is a mandatory binary selection.
- Repetition / cycles: Exactly drafting cycles occur; infinite loops are structurally impossible.
- Simultaneous claims on the same resource or position: The queue structure is strictly sequential; index 0 holds exactly one unique agent per capture tick.
- Player elimination mid-round; turn order repair: Captured players transition into team rosters rather than being eliminated; queue shrinks cleanly.
- Resource exhaustion (pieces, tokens, space, time): The queue drains monotonically to 0.
- Termination guarantee: Queue length decreases by 1 on every 16-beat cycle, terminating in exactly cycles, followed by instantaneous Phase 2 calculation.
## State representation
- Persistent state: `queue: list[int]`, `team_1: list[int]`, `team_2: list[int]`, `gatekeeper_tokens: dict[int, str]`, `agent_forces: dict[int, float]`.
- Per-cycle ephemeral state: `cycle_beat: int (1..16)`, `trapped_id: int`, `selected_choice: str`.
- Observable information: Queue order and team headcounts are public. The mapping from token symbol to gatekeeper identity is private until Phase 2 reveal.
## Action space
- `choose_allegiance(token: str)`: Binary action executed by the trapped agent.
## Playability notes
- Single-player-vs-AI: Human as a processioner trying to deduce gatekeeper tokens or time queue position.
- Group games (n>4): Easily supports 6 to 25 agents without computational scaling issues.
- Physical-skill games: Physical rhythmic stepping and muscular chain traction are abstracted into queue indexing and strength sums.
- What is lost in the adaptation: Melody chanting, vocal harmonization, and tactile bodily gripping in the human chain.
## Implementation hints
Very low complexity. Simple queue processing script with deterministic reduction. First milestone: Implement 8-agent queue rotation, verify balanced or randomized drafting, and compute final force differentials.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Pass Through, Green Branch (The Golden Gate of Hungary) (Hungary). (n.d.). Games of Countries. https://gamesofcountries.com/games/hu-hungary/bujj-bujj-zold-ag
@misc{gamesofcountries-hu-hungary-bujj-bujj-zold-ag,
title = {Pass Through, Green Branch (The Golden Gate of Hungary) (Hungary)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/hu-hungary/bujj-bujj-zold-ag}
}