Skip to main content

Arena Configuration

Arenas are configured under the auction/ directory as individual YAML (.yml) files. They control the flow, timing, pricing multipliers, and prize pools of an auction session.


Example Arena Config

id: "arena1"
name: "Golden Mystery Arena"
thinking-time: 15
bid-time: 30
base-price: 100
min-items: 5
max-items: 8
multipliers:
- 2.0
- 1.5
- 1.3
- 1.1
- 1.0
events:
- "reveal_all_common"
- "reveal_one_type_random"
- "reveal_one_size_random"
- "reveal_three_types"
- "reveal_two_sizes"
rewards:
- id: "golden_ticket"
amount: 3
- id: "magic_dust"
amount: 5
- id: "lucky_charm"
amount: 2
- id: "coal_lump"
amount: 3

Configuration Properties

FieldTypeDefaultDescription
idStringRequiredUnique identifier for the arena. Must match the filename.
nameStringRequiredDisplay name of the arena.
thinking-timeInteger15Preview countdown duration in seconds.
bid-timeInteger30Bidding phase duration in seconds before timeout (defaults bid to $1).
base-priceDouble100.0Base price floor used for BIN calculations if only one player bids.
min-itemsInteger5Minimum number of items selected from the reward pool to populate the preview chest.
max-itemsInteger8Maximum number of items selected from the reward pool.
multipliersList of DoublesList of multipliers for each round. The size of this list determines the number of rounds in the game. Multipliers are clamped between 1.0 and 10.0 at runtime.
eventsList of StringsA list of round event config IDs. Shuffled deterministically at the start of the session.
rewardsListList of custom items and their maximum quantities in the pool.
start-eventsInteger0Number of events to execute at the start of Round 1 before the preview opens.