Example site at: https://teemukoivisto.github.io/realtime-multiplayer-in-html5/
Based on:
- http:https://buildnewgames.com/real-time-multiplayer/
- https://github.com/underscorediscovery/realtime-multiplayer-in-html5
- https://github.com/arjanfrans/realtime-multiplayer-in-html5
You need Node.js >= 16 and pnpm >=7 installed globally: npm i -g pnpm
pnpm i
cp ./packages/server/.env-example ./packages/server/.env && cp ./packages/client/.env-example ./packages/client/.env
pnpm start
or runpnpm gm
pnpm ser
pnpm cli
in individual terminals