Roll dice (eg Asphodice) and show outcomes https://rpg.bertieb.org/dice-roller/
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.
 
 
 
 
bertieb f1f6dd7217 Reverse legend and change colours on Reroll chart 3 years ago
src Reverse legend and change colours on Reroll chart 3 years ago
.gitignore Add gulp for automated builds & Boostrap for FE 3 years ago
README.md Add README 3 years ago
dice.ts Don't hard code number of dice/rolls 3 years ago
gulpfile.js Add watchify, browserify & other deps 3 years ago
package.json Add Chart.js & google-palette node deps, refactor 3 years ago
tsconfig.json Add basic frontend (jQuery+Bootstrap) stub 3 years ago

README.md

Dice Roller

This project simulates rolling dice and collecting results (like AnyDice).

It is mostly of interest to simulate the rolling of a particular kind of dice -- Asphodice -- which is not possible in AnyDice.

Installation

This package relies on node for package management and gulp for the build pipeline. npm install should install dependencies. From there, tsc will transpile from TypeScript to JavaScript; or gulp will start a BrowserSync instance for developing the frontend, running at http://localhost:3000/. npm test will run the test suite.