Skip to content

Wilfrick/dice-game-backend

Repository files navigation

dice-game-backend

This is the backend for a browser based multiplayer dice game, based on Perudo and Liar's Dice.

Written in Go 1.21 using websockets.

We chose these technologies to achieve our goals of creating a browser based game with two way communication that could handle a high degree of concurrency.

This is currently a work in progress and you can see a live demo here

Running Locally

To run the server, use go run main.go

To run the tests, use go test ./...

To play the game locally you will need to run the front end, which can be found here

The included config.json file can be used to set the port that the server runs on and the front end should accept the same config.json file.

Deployment

For systemd: dice-game-backend.service needs to be placed in ~/.config/systemd/user/dice-game-backend.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages