Skip to main content
Formal Specification

Parish fair wheel spinning (Zwirbele / Chilbi-Glücksrad) — Formal Specification

Switzerland · dice-lots · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 2
# Zwirbeln — AI-optimized specification ## General idea A discrete multi-agent lot-selection and prize-allocation game. Agents allocate discrete budget tokens to purchase tickets on an M-sector circular chance wheel. A rotational deceleration process selects a single winning sector uniformly at random, awarding an indivisible prize item to the ticket holder. ## Formal model - **Abstraction taken:** None required (`direct` fidelity). The wheel sectors S={1…M} (e.g. M=50), ticket purchase phase, and discrete uniform random winning draw are mathematically exact. - **Player/agent count:** N agents (2≤N≤50). - **Turn model:** Simultaneous ticket purchase phase, followed by discrete stochastic wheel resolution. ## Formal rules R1. Setup: A wheel with M=50 distinct numbered sectors {1…M} is initialized. Each round offers an indivisible prize item with value Vprize. R2. Ticket Selection Phase: - Each agent i with budget Bi submits purchase requests for a subset of unclaimed tickets Ti⊆{1…M}. - Ticket price is fixed at c=1.0 token. - [gap-fill] If total requests exceed M, tickets are allocated in a randomized fair lottery. R3. The Spin & Outcome Resolution: - Winning number w is drawn from a discrete uniform distribution: w∼Uniform({1,2…M}) R4. Prize Award: - Let k be the agent holding ticket w (w∈Tk). - Agent k receives the round prize item Vprize. - All un-won tickets are consumed. R5. Match Victory: After Rmax⁡=10 prize rounds, the agent with the highest aggregate net utility (∑Vwon−∑costs) wins the tournament. ## Edge cases - **Tie at the end condition:** [gap-fill] If two agents tie on net utility, the agent who won more individual rounds wins. - **A player with no legal move:** Purchasing 0 tickets (passing) is always legally available. - **Repetition / cycles:** Bounded strictly by Rmax⁡=10 rounds. - **Simultaneous claims on the same resource or position:** Simultaneous ticket bids on the same sector are resolved by R2 fair lottery. - **Player elimination mid-round; turn order repair:** If an agent exhausts budget, they may pass or remain inactive; remaining agents continue. - **Resource exhaustion:** Wheel sectors reset completely after each round. - **Termination guarantee:** Guaranteed by finite round cap Rmax⁡=10. ## State representation - **Persistent state:** Agent budget balances 𝐁∈ℝN, cumulative prize inventory, round index r∈[1,10]. - **Per-round state:** Sector allocation map A:{1…M}→{1…N}∪{∅}, winning sector w, round winner ID. - **Observable information:** Fully observable state. All ticket allocations, prices, and winning draws are public. ## Action space - `buy_tickets(ticket_indices)`: Array of integers ⊂{1…M}. ## Playability notes - **Single-player-vs-AI:** Operates as a portfolio allocation and expected-value optimization game. - **Group games (n>4):** Scales seamlessly to 50+ agents. - **Physical-skill games:** Not a physical skill game (discrete lot drawing). - **What is lost in the adaptation:** The physical clicking of the brass wheel pins, the smell of roasted sausages and alpine cheese, and festival crowd gasps. ## Implementation hints - Implement simple discrete uniform random integer drawer `random.randint(1, M)`. - Suggested first milestone: Implement the sector purchase ledger and uniform draw function before designing budget optimization agents.

Download as JSON

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

Download JSON
Cite this page

Parish fair wheel spinning (Zwirbele / Chilbi-Glücksrad) (Switzerland). (n.d.). Games of Countries. https://gamesofcountries.com/games/ch-switzerland/zwirbeln

@misc{gamesofcountries-ch-switzerland-zwirbeln,
  title = {Parish fair wheel spinning (Zwirbele / Chilbi-Glücksrad) (Switzerland)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ch-switzerland/zwirbeln}
}