lib.rs
DiceXp
Roll dice with standard RPG dice notation. DiceXp supports standard RPG dice notation, such as "1d20+3" or "3d6", where the number in front of the 'd' is the number of dice to roll and the number after the 'd' is the number of sides per die. You can use as many different kinds of dice as you like, such as "1d4+1d6+1d8-1d12". Arithmetic (+, -, *, /)
DiceForge
DiceForge is a Rust library for simulating dice rolls. It provides a simple and easy-to-use API for generating random dice rolls and calculating probabilities of different outcomes. Features. Supports standard dice notation (e.g. 1d6, 2d10, etc.) Add, subtract, or even multiply modifiers to rolls. Installation
Saikoro
396 downloads per month Used in appalachia. MIT/Apache. 79KB 2K SLoC 🎲 Saikoro. Saikoro is a library for evaluating dice rolls with a syntax similar to the Dice Notation used by many tabletop RPGs with a few (maybe) convenient extras thrown in. Expressions are treated as mathemical expressions where the D or d operator is used for rolling dice, and is a high-priority operator.
dicenotation
#25 in #dice. MIT/Apache. 10KB 202 lines. dicenotation-rs . dicenotation-rs is a Rust library aimed at parsing and rolling dices for Role-Playing games using Standard Dice Notation that bears inspiration from the dicenotation library.. Installation. Add the following to your Cargo.toml [dependencies] dicenotation = "0.1.0"License. This project is licensed under either of