This is online daifugo game server.
NodeJS 20.x is assumed.
Clone this repository, run npm ci to install dependencies, then run npm start to start the server.
In order to play locally, clone the client side implementation and run it.
Running npm run test runs tests, including E2E.
- Edit
src/rooms/schema/**.ts - Run
npm run schema:build - Run
npm run schema:copyto copy the generated schema definitions to the frontend repository, assuming that the dfg repository is cloned at ../dfg - Increment the server and frontend protocol versions by one
You can run npm run docker:build to build a docker image. For running the server via docker, run npm run docker:start after a successful build.