npm install
start dev server:
npm start
generate production build:
npm run build
- ECS pattern implementation
- cached entity queries
- utility library: id generation, object lifecycle, events, math
- peer.js-based multiplayer
- tailwind for html ui
- webgl rendering engine
- chess game demo
create a .env file:
PEER_HOST="peer.example.com"
PEER_PORT=443
PEER_PATH="/peer"
STUN_URL="stun:stun.example.com"
TURN_URL="turn:turn.example.com"
TURN_USERNAME="username"
TURN_CREDENTIAL="password"