node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

standardice

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.