3fc29f728eb8f7a4f22490925121c29049df3172
- Replace socket.io relay with Colyseus 0.15 authoritative server - GameRoom with GameState schema (players, units, resources) - Pure TS services: CombatResolver, EconomyService, PathfindingService, UnitManager - POST /api/create-room → 4-char invite code - React/MUI LobbyScreen: Create (shows code + START GAME) / Join by code - ColyseusClient: joinOrCreate/join by room type = invite code - Nginx: static assets direct, all else proxied to Colyseus (WS upgrade) - Content-hashed JS bundles for Cloudflare cache-busting - 1-player lobbies: START GAME button bypasses 2-player wait
Restitution
- Somehow I deleted the og readme....
- Client WS library: https://github.com/heineiuo/isomorphic-ws
- FSM library: https://xstate.js.org/docs/packages/xstate-fsm/#api
Description
Languages
JavaScript
83.9%
TypeScript
14.4%
Python
1.4%
CSS
0.2%