▣
module · drop-in viewer
rules
Battle Zone Zero's constants (palette, tank, shell, enemy and wave tuning), its live state (phase, score, hi-score, lives, wave, hull) and its rules. Every slice requires `game.rules`, reads tuning from it and changes game state only through its functions (`startGame`, `damage`,…
by·posted 2d ago
What it does
rules
Battle Zone Zero's constants (palette, tank, shell, enemy and wave tuning), its live state (phase, score, hi-score, lives, wave, hull) and its rules. Every slice requires game.rules, reads tuning from it and changes game state only through its functions (startGame, damage, beginWave, clearWave, addScore, registerTank...). Rules.on(event, fn) subscribes to game events; the list is at the top of init.luau.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.