Match Flow Kit: Countdowns, Rounds and Results
README.md
matchflow
Tests for the MatchFlow kit, run with tools.use("tests", "run", { suite = "matchflow" }) in edit mode. They cover:
- the full lifecycle (waiting → lobby → countdown → play → results → break → next round) and the defaults;
- the end rule and winner of every format;
- late joiners and leavers, a leaver rejoining under a new id taking back their own row, tied standings, and reports outside play being ignored;
- the countdown frame maths;
- that every countdown style, results kind × look, HUD (for every format) and lobby renders without hitting its error fallback;
- that every HUD layout moves its top panels clear of on-screen touch buttons (with a stubbed
touchControls.layout()).
They don't cover networking. Snapshot sync and host migration were checked by hand in play, as described in the package README.