Hold the Line: Tower Defense Kit with Paths, Towers, Waves and a 10-Wave Map
README.md
towerDefenseKit.match
The game's match, run by MatchFlow (1.4.0 or later). A tower defense match is a MatchFlow waves match: a counted-down build break before every wave (callWave cuts it short for the early bonus), a defeat when the lives run out (endRound("defeat")), a victory when the last wave is cleared, and Play again (start()).
place(rules)puts the match in a scene build (towerDefenseKit.apibuildcalls it);settings(rules)is the MatchFlow table it uses.find()returns the MatchFlow component on theTDMatchentity.state()is the flow as this machine shows it:phase(ready,build,wave,won,lost),wave,waves,nextInandround. The HUD, the wave preview, the playtest bot and the layout check read it.