Skip to content

simple website to roll dice in an online pen and paper session

Notifications You must be signed in to change notification settings

0xSbock/better-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

simple website to roll dice in an online pen and paper session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published