dice-goblin
v0.1.5
Published
dice rolling for the hordes
Downloads
4
Readme
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! If you have a bug or want a new feature, submit an issue on the GitHub repository.
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.