Contributing¶
Prerequisites¶
- Node.js 20+ (the server requires Node.js 22 — see Software)
- Git configured with your GitHub account
Setup¶
Install dependencies for each package:
Running locally¶
# Start the Colyseus game server
cd server && npm run dev
# Start the Phaser 3 client (in a separate terminal)
cd client && npm run dev
Check server/package.json and client/package.json for exact script names. Remember the build order: the shared package must be built before the server or client can import its types.
Branch strategy¶
Never push directly to main.