Add README

main
Alina Marquardt 2023-04-04 18:20:12 +02:00
parent d7d8b9dab9
commit 63de697d3f
1 changed files with 8 additions and 0 deletions

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# 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