for initiative!
 
 
Go to file
mat ess 84def6f0b3 Update readme and fix flake build 2023-08-13 18:05:42 -04:00
roll more housekeeping 2023-08-13 17:50:40 -04:00
tests more housekeeping 2023-08-13 17:50:40 -04:00
.envrc Initial commit 2023-08-09 21:02:53 -04:00
.gitignore Update readme and fix flake build 2023-08-13 18:05:42 -04:00
LICENSE.txt Initial commit 2023-08-09 21:02:53 -04:00
README.md Update readme and fix flake build 2023-08-13 18:05:42 -04:00
flake.lock Housekeeping 2023-08-13 14:40:33 -04:00
flake.nix Update readme and fix flake build 2023-08-13 18:05:42 -04:00
justfile more housekeeping 2023-08-13 17:50:40 -04:00
pyproject.toml housekeeping 2023-08-13 16:46:26 -04:00

README.md

roll

for initiative!

usage

$ roll 2d20
throwing 2d20:
1:	┆    8
2:	┆    6
total:	╰╶╶ 14

$ roll 5d4+2
throwing 5d4+2:
1:	┆    3
2:	┆    4
3:	┆    2
4:	┆    4
5:	┆    1
mod:	┆   +2
total:	╰╶╶ 16

$ roll # defaults to 1d20
throwing 1d20:
1:	┆   20
total:	╰╶╶ 20
critical hit!

$ roll advantage # or roll adv, roll a
throwing 2d20 with advantage:
1:	┆    3
2:	┆   14
total:	╰╶╶ 14

$ roll disadvantage # or roll dis, roll d
throwing 2d20 with disadvantage:
1:	┆    1
2:	┆   19
total:	╰╶╶╶ 1
critical miss!