A simple synchronized dice roll service for online pen and paper players.
Install rust and its tooling if you didn't already.
Clone the repository and run cargo run --release
.
The default port is 3030
and can be changed to e.g. 4040
by passing the flag --port 4040
.
By default the service binds to 127.0.0.1
.
To bind the service to 0.0.0.0
, pass the flag --public
.
For a summary of commandline options, call the binary with the --help
flag.
cargo run --release -- --help
Recently i played my first round of online pen and paper. Most of the time the person rolling the dice shared the screen while rolling the dice to "proof" the result. Hence i wanted to provide a better solution for my group.
For a minimal Javascript footprint, Server Sent Events (SSE) are used to synchronize dice roll results.
Backend is written in Rust with warp.