0.1.3 • Published 3 months ago
dice-goblin v0.1.3
Dice Goblin
Dice rolling for the hordes!
This engine is a flexible dice parser, rolling engine, and statistical model for rolling dice.
import parseDice from 'dice-goblin';
// get a 20 sided dice
const dice = parseDice('1d20');
// roll the dice!
let value = dice.value();
Installation
dice-goblin is available from the npm registry:
$ npm install dice-goblin
This provides a parser and dice engine, and can be used to both analyze dice rolls, and simulate them
Features
- Robust Dice parser
- Statistical modeling for most dice
Contributing
Dice Goblin is under active development; collaboration guidelines and more details on how to help out are on the way!
Bugs / Feature Requests
Bugs and feature requests should be reported to the main repository, but this package is currently under development - I may not get to feature requests.