Revealeit server hosting a single game between multiple players.
- Merger target code in master
- Create a tag named
x.x.x
- Push tag
- Go to deno deploy, and promote deployment to production via the deployment tab
Make sure traefik is running.
cd revealeit-backend
docker compose up -d
Server is only accepting Websocket connections, so you can't acces it using your browser.
Websocket url is: ws://revealeit-backend.njk.localhost:5000/
## Run unit tests
docker-compose up -d
docker-compose exec server deno test --allow-env
The game is conceived to be adaptable using the Rules
class.
But base rules are:
- A piece can only make a move inside its reveal area (to avoid bumping into unrevealed pieces)
- Reveal area can outrange the move distance
- Pieces spawn on the same spot relativly to the player origin