/janet-dicer

Calculate simple dice rolls

MIT LicenseMIT

dice rolling

Roll 6 d20, get it's sum:

$ dicer 6d20
52

Roll a d20 6 times, keep 2 topmost results:

$ dicer 6d20k2
(20 18)

Roll a d4:

$ dicer 1d4
1

This is just another example for the excellent Janet peg module.