https://github.com/noracodes/d20roll
A dice roller application written in Rust, supporting "d20 system" notation.
https://github.com/noracodes/d20roll
Last synced: 7 months ago
JSON representation
A dice roller application written in Rust, supporting "d20 system" notation.
- Host: GitHub
- URL: https://github.com/noracodes/d20roll
- Owner: NoraCodes
- License: other
- Created: 2018-01-08T04:45:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T11:24:20.000Z (almost 8 years ago)
- Last Synced: 2025-02-05T01:25:02.674Z (over 1 year ago)
- Language: Rust
- Size: 43 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# d20roll
A dice roller application written in Rust, supporting "d20 system" notation. Download it [here](https://github.com/leotindall/d20roll/releases/). ISC licensed.

## Operation
`NdM` rolls N dice with M sides. Integer arithmetic is supported (using D&D rounding); `1d20 + 2` will roll a single 20 sided die and add 2. Parentheses are supported for grouping, so `(2d20 + 4) / 2 - (1d4 * 2)` will resolve as expected.
## Compiling
Simply download and run `cargo build --release`. Your binary will be available at `./target/release/d20roll`.
You may need GTK+3 libraries for your system to do this; please refer to [this page](http://gtk-rs.org/docs/requirements.html). For Ubuntu, the appropriate package is `libgtk-3-dev`.