Dice Command Parser
This library parses a simple dice roll command and produces a representation of the dice that should be rolled and its modifier.
Example input: d6
, 3d20
, d6 + 5
, or 2d20 - 4
.
This library parses a simple dice roll command and produces a representation of the dice that should be rolled and its modifier.
Example input: d6
, 3d20
, d6 + 5
, or 2d20 - 4
.