/standardice

Standard RPG dice rolling

Primary LanguageJavaScript

Standard Dice

usage require('standardice')

Standard RPG dice rolling

roller.basicParse("2d6")
roller.basicTotal("2d6")
roller.hitsByTN([{sides:10},{sides:10},{sides:10},{sides:10},{sides:10}], 7)

See the file test.js for some examples and see what the output looks like.

Plenty of work to do.

Copyright 2013 Darel Finkbeiner, BSD License

Copy, clone, steal, extend, etc.