9a8bf69
(#12 by @fu050409) RefactorDice
struct to useu32
instead ofi32
for thesides
field and it's result.82efd32
(#10 by @fu050409) Refactored the grammar to make it more scalable, universal, and easier to maintain.
-
8135065
(#6 by @fu050409) Support dice filter in grammar parsing.For example,
6d6k3
will roll 6 six-sided dice and keep the highest 3 results and6d6q3
will roll 6 six-sided dice and keep the lowest 3 results.