Crate dicelib

Source
Expand description

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

Modules§

  • Represents a Dice.
  • Errors that can occur in this crate.

Functions§

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