Calculates the probability of rolling a value given a combination of dice. https://fwdekker.com/tools/dice/
Go to file
Florine W. Dekker 3f833ed302
Upgrade template to v3
2022-11-22 00:56:48 +01:00
src/main Upgrade template to v3 2022-11-22 00:56:48 +01:00
.editorconfig Add version number and best practices 2020-03-14 12:37:33 +01:00
.gitattributes Migrate to npm, use template package 2020-05-05 21:59:03 +02:00
.gitignore Migrate to npm, use template package 2020-05-05 21:59:03 +02:00
Gruntfile.js Add Goatcounter and relocate some resources 2021-04-22 12:59:21 +02:00
LICENSE Update repository URL 2022-02-28 17:13:50 +01:00
README.md Fix minor copying error in README 2021-11-28 17:47:12 +01:00
package-lock.json Upgrade template to v3 2022-11-22 00:56:48 +01:00
package.json Upgrade template to v3 2022-11-22 00:56:48 +01:00

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