CLI dice rolling application written in Rust
Go to file
Alina Marquardt 63de697d3f Add README 2023-04-04 18:20:12 +02:00
src backup recovery 2023-04-04 15:43:46 +00:00
.gitignore backup recovery 2023-04-04 15:43:46 +00:00
Cargo.toml backup recovery 2023-04-04 15:43:46 +00:00
README.md Add README 2023-04-04 18:20:12 +02:00

README.md

Rust dice-roller

A CLI application that rolls arbitrary combinations of dice and sums up their values.

  • dice-roller takes no command line arguments
  • the syntax for rolling dice is <number>d<sides> e.g. rolling three 20-sided dice would be 3d20
  • you can combine any amount of different dice. 1d20 4d4 would roll one 20-sided die and four 4-sided dice
  • the separator doesn't matter. You can write 1d20+4d4 or 1d20,4d4 etc. as long as you don't use d or a number as a separator
  • up and down arrows let you quickly go through your roll history to reroll a certain combination or tweak it slightly