@romaelzero/diceroller-js
DiceRollerJS: A lightweight JavaScript library for seamless dice rolling in games, simulations, and apps. Easy-to-use and customizable.
DiceRollerJS: A lightweight JavaScript library for seamless dice rolling in games, simulations, and apps. Easy-to-use and customizable.
Simulate a dice roll
Rolls dice according to RPG dice notation (e.g. 1d4, d6, 2d6+5, 1d20-1)