Server required. Connects to a WebSocket server at localhost:3001. Cannot run on GitHub Pages.
Run npx ts-node tools/replication-server.ts locally, or deploy to Fly.io / Railway.
See host-contract.md for CE-11 replication protocol details.
Click canvas to issue move command to selected entity
Entities
Log
Protocol (CE-11) → init: full WorldState on connect → tick: CE-9 binary diff (base64) + commands → snapshot: full state every 20 ticks ← command: {entityId, intent, tickHint}
Grace window: ±3 ticks for late commands