Calculates the probability of rolling a value given a combination of dice. https://fwdekker.com/tools/dice/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Florine W. Dekker 3f833ed302
Upgrade template to v3
4 months ago
src/main Upgrade template to v3 4 months ago
.editorconfig Add version number and best practices 3 years ago
.gitattributes Migrate to npm, use template package 3 years ago
.gitignore Migrate to npm, use template package 3 years ago
Gruntfile.js Add Goatcounter and relocate some resources 2 years ago
LICENSE Update repository URL 1 year ago
README.md Fix minor copying error in README 1 year ago
package-lock.json Upgrade template to v3 4 months ago
package.json Upgrade template to v3 4 months ago

README.md

Dice

Given a set of dice, calculates the probability density graph of each value that can be rolled.

Development

Requirements

Setting up

# Install dependencies (only needed once)
$> npm ci

Building

# Build the tool in `dist/` for development
$> npm run dev
# Same as above, but automatically rerun it whenever files are changed
$> npm run dev:server
# Build the tool in `dist/` for deployment
$> npm run deploy

Publishing

# Log in to npm
$> npm login
# Push to npm
$> npm publish --access public