Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.12 KB

Better Dice

A simple synchronized dice roll service for online pen and paper players.

Getting Started

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

Preview of the better dice interface

Why?

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.

How?

For a minimal Javascript footprint, Server Sent Events (SSE) are used to synchronize dice roll results.

Backend is written in Rust with warp.