🧪 Tournament Simulator

End-to-end driver for visually verifying every operator-facing surface (dashboard, control, display, player, dealer, summary) through a full tournament lifecycle. Pick a variant, run the phases, click through to each surface in a new tab between phases to check visuals. Creates real DB rows in your current org — use the Cleanup button at the bottom when you're done.

1. Pick a variant

Current tournament state

Tournament
Status
Entries
0
Players in
0
Level
Pool
$0

Phases (run in order)

1Setup: create tournament + pre-reg players

Creates the tournament from the selected variant config + paired display, then registers the initial wave of players (before doors open).

2Late reg: add players in waves

Each click adds the specified number of new entries (mimics the late-reg wave that builds over the first hour).

3Start the tournament

Flips status to active + starts the clock at Level 1.

4Mid-game busts

Eliminates players in stack-weighted random order. Each click busts the specified count one at a time so you can flip between surfaces and watch them update.

5Advance to bubble + final table

Auto-busts until the field reaches the configured threshold so you can spot-check bubble banner + final-table chrome.

6End the tournament

Busts the remaining players one-by-one (records final standings) + flips status to completed. The /summary view becomes meaningful after this.

🗑 Cleanup

Soft-deletes the simulated tournament + display. Recommended after every run — your real production data shouldn't get polluted with sim runs.

Log

Pick a variant + click "Run setup" to begin.

📊 Run report (integrity checks)

Each phase runs six checks: audit (events fired vs manifest), money (per-row transaction cents match variant config), players (live_state ↔ roster ↔ transactions agree), positions (busted positions form a contiguous descending set), console (no uncaught errors since last phase), payload (sampled event bodies have required fields). Hover any pill for detail.

No phases verified yet. Run setup to begin.

Visual checklist

Tick each item as you verify it on the corresponding surface. The list adapts to the variant's enabled features.