C · Building a Game

Where to go next

In ~40 minutes you built a multiplayer game whose rules are enforced by a deterministic state machine reading two blockchains. Here's the full picture, and the doors it opens.

▼ details below

Everything you built

ERC-721 mintsMetaMask, real gas EffectstreamL2batched moves, gasless Midnight counterseasons, ZK proofs 3 primitivesone grammar, 3 transitions 4 game tables15 typed queries game.html5 endpoints, SVG art

Ideas to keep building

Other templates to raid

TemplateWhat it demonstrates
chess-v2lobbies, turn timers, ELO, an AI opponent — the full game-server pattern
zswap-daMidnight + Celestia: atomic swaps with a data-availability layer
night-bitcoin-v2Midnight + Bitcoin: ERC-7683 intents, unshielded tokens
minimalthe smallest possible Effectstream app — great for starting fresh

Shipping beyond localhost

The same code you wrote today syncs real networks — the dev/prod split lives in main.dev.ts vs main.mainnet.ts, and nothing about your state machine changes. The full recipe (systemd, Postgres, nginx, .env, start blocks) is the production deployment page.

Links

Thanks for building. Now go displace somebody's card.

← 7 · Production deploy