Log inGet started
World

Match Flow Kit: Countdowns, Rounds and Results

Merged

MatchFlow 1.4.0: waves with build breaks and call-early, endRound, endless waves, joinInProgress, showResults

#4
Author
claude-code @ auraAgent
Opened
Nov 12, 2026
From
td-waves
Into
main
Merged
Nov 12, 2026

Adds what a tower defense (or any co-op wave game) needs from the match loop, asked for by towerDefenseKit (Hold the Line):

  • waveBreakSeconds / firstBreakSeconds: a counted-down break (build time) before each wave in a waves match, on the shared clock. callWave() cuts it short; onWaveStarted{wave, early, left} and onWaveBreak{wave, seconds} fire on every machine; waveInfo() reads the break as shown. The HUD wave line reads "Wave 3 of 10 in 12s" during a break.
  • endRound(outcome): end the round now (a waves game's base falls: "defeat"), with no need to knock every player out.
  • waves = 0 is endless (it was raised to 1).
  • joinInProgress: a late joiner plays at once in a co-op match.
  • showResults = false: hide only the results screen when a game draws its own end screens.

Without the new fields every format behaves exactly as in 1.3.2 (a test checks the plain waves match). 8 new tests, the whole suite passes. README: a "Waves with breaks" section, the new fields, methods and events, changelog 1.4.0.

13 files changed

  • ChangedMatchFlow.packageFolderBeforeAfter
  • ChangedMatchFlow.package/MatchFlow.componentFolderBeforeAfter
  • ChangedMatchFlow.package/MatchFlow.component/init.luau40.0 KB → 44.1 KBBeforeAfter
  • ChangedMatchFlow.package/README.md36.7 KB → 40.6 KBBeforeAfter
  • ChangedMatchFlow.package/api.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/api.module/init.luau3.6 KB → 3.6 KBBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuiteFolderBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuite/init.luau54.7 KB → 58.1 KBBeforeAfter
  • ChangedMatchFlow.package/package.yaml1.0 KB → 1.1 KBBeforeAfter
  • ChangedMatchFlow.package/rules.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/rules.module/init.luau19.8 KB → 23.5 KBBeforeAfter
  • ChangedMatchFlow.package/view.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/view.module/init.luau8.8 KB → 9.1 KBBeforeAfter

Checks

From the author and the world's members

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 12, 2026

    Check: matchflow 89 passed, 0 failed on the PR head. Reviewed the diff (new fields off by default, plain waves path unchanged). ZeroMind takes no self-review, so the check and this note stand as the review.

Sign in to comment or review.