4 releases
0.1.3 | May 22, 2024 |
---|---|
0.1.2 | Jan 18, 2024 |
0.1.1 | Jan 17, 2024 |
0.1.0 | Jan 17, 2024 |
#987 in Command line utilities
216 downloads per month
30KB
789 lines
iron-dice
A CLI die roller for every RPG enthusiast.
Usage
iron_dice
will yield the result of 3d6iron_dice -d "d20"
will throw and yield 1d20iron_dice -d "d100+40"
will throw and yield 1d100 and will add 40 to the resultiron_dice -d "5d6 sc6"
will throw 5d6 and for every 6 will count 1 successiron_dice -d "4d6 max3"
will throw 4d6 keeping the largest 3iron_dice -d "3d8 ex7"
will throw 3d8 and explode every die showing 7 or moreiron_dice -d "3d6" -t 5
will throw 3d6 5 times
Change log 0.1.3
- Added the die definition to output
Dependencies
~1.3–2MB
~36K SLoC