lkingsford / CubeRailDotGames

Other
5 stars 0 forks source link

CUBE RAIL DOT GAMES

This is the server for cuberail.games.

It is being programmed to be a generic server for boardgame.io games.

Development

Running for development

Requirements: Linux system with Docker and Docker Compose

docker-compose -f docker-compose.dev.yml up

Then, in Docker

npm i
npm run-script update-games
npm run-script start-dev

Adding games

Games must be in their own repository. Add the reference to the repository to [games.json], with the hash that is being deployed.

The requirements of that game repo are:

Presently, it's a little finicky. I recommend seeing app.ts and the index.html file in the emu-bay-railway-company-1 repo as a template.