TinyGames · how it works

Bulwark

Six cities, three batteries, and shells that take time to arrive. You are not aiming at what falls — you are aiming at where it will be.

Draft. It is built, compiled and tested like every other game, and it is not on the hub: "draft": true in build/games.json keeps it off the cards, out of the sitemap and without a readme page until the rules are real. Take the flag off when it is worth playing.

How it is put together

intercept.ts is the rules and touches nothing - no canvas, no engine, no storage. bulwark.ts is everything that draws or listens. The split is what makes the hard half testable: node test-intercept.js runs against the shipped, minified JavaScript rather than the source, which is how a minification fault gets caught.

Every screen except the run itself belongs to the shared shell, so this game has one scene of its own, play. The menu, the pause card, the game-over screen and the high-score table come from src/shared/scenes.ts and look and behave the same here as in the other twenty.

Still to do