Formal Specification
Parish fair wheel spinning (Zwirbele / Chilbi-Glücksrad) — Formal Specification
Switzerland · dice-lots · Confidence: low
← Back to game pageImplementation 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 -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 (e.g. ), ticket purchase phase, and discrete uniform random winning draw are mathematically exact.
- **Player/agent count:** agents ().
- **Turn model:** Simultaneous ticket purchase phase, followed by discrete stochastic wheel resolution.
## Formal rules
R1. Setup: A wheel with distinct numbered sectors is initialized. Each round offers an indivisible prize item with value .
R2. Ticket Selection Phase:
- Each agent with budget submits purchase requests for a subset of unclaimed tickets .
- Ticket price is fixed at token.
- [gap-fill] If total requests exceed , tickets are allocated in a randomized fair lottery.
R3. The Spin & Outcome Resolution:
- Winning number is drawn from a discrete uniform distribution:
R4. Prize Award:
- Let be the agent holding ticket ().
- Agent receives the round prize item .
- All un-won tickets are consumed.
R5. Match Victory: After prize rounds, the agent with the highest aggregate net utility () 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 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 .
## State representation
- **Persistent state:** Agent budget balances , cumulative prize inventory, round index .
- **Per-round state:** Sector allocation map , winning sector , 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 .
## Playability notes
- **Single-player-vs-AI:** Operates as a portfolio allocation and expected-value optimization game.
- **Group games ():** 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 JSONCite 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}
}