Log inGet started
World

Hold the Line: Tower Defense Kit with Paths, Towers, Waves and a 10-Wave Map

README.md

towerDefenseKit.playtest

A bot that plays a tower defense game through the same requests a player's clicks send (build, upgrade, sell), so a map maker can check balance without playing by hand. run({ skill = "decent" | "careless", speed = 3 }) plays the game in the current scene to its end and reports the result, lives left, kills, leaks, towers and a line per wave. A map is balanced when the decent player just wins and the careless one loses. Run it in play on the deciding machine.

Run it with nothing else busy in the engine (no other clients in play, no captures or test runs beside it). The bot plays at speed x time, so every frame covers speed times more game time, and turretsKit's bullet, shell and missile towers fire at most once per frame: long frames cost them shots, and a loaded engine makes a map look harder than it is for a player at normal speed. Lower speed (1 or 2) when frames run long.