Shipped modules
Three complete games covering the genre space — copy the closest one. Every template ships with matchmaking, invite lobbies, scripted bots, escrow and settlement, for free.
src/templates/tap-duel.ts
The arena flashes after a hidden seeded delay — first tap takes the round, early taps hand it away. The hello-world of FORGE, and the module the playground runs in your browser.
Demonstrates — Seeded randomness · hidden state via view() · transient events
2 playersFirst to 5
Play it nowsrc/templates/grid-battle.ts
7×7 board, point-symmetric procedural cover, 3 HP. Step to an adjacent cell or fire along a clear lane; slow players auto-pass the turn. Chess-clock pressure without a chess engine.
Demonstrates — Turn timers on ticks · input validation as rules · fair proc-gen
2 players3 HP each
on the relaysrc/templates/score-rush.ts
45 seconds, one shared board of weighted cells, up to four wallets. First claim scores it; stale cells decay and respawn. Ties split the pot by the on-chain split table.
Demonstrates — N-player rooms · contested shared state · splitBps settlement
2–4 players45 seconds
on the relayRegister your module in src/templates/index.ts and the whole engine — rooms, lobbies, bots, stakes and settlement — applies to it automatically.