Crate dicelib

Source
Expand description

The RPG Dice Rust crate. A combination command line dice roller and library for evaluating dice roll expressions.

Modules§

dice
Represents a Dice.
error
Errors that can occur in this crate.

Functions§

solve_dice_expression
Solves a dice expression string by rolling each dice in-place and then evaluating the resulting arithmetic expression.