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 1696f38ceb Add undefined check to avoid TS2532 3 年之前
src Add undefined check to avoid TS2532 3 年之前
.gitignore Add gulp for automated builds & Boostrap for FE 3 年之前
README.md Add README 3 年之前
dice.ts Don't hard code number of dice/rolls 3 年之前
gulpfile.js Add watchify, browserify & other deps 3 年之前
package.json Add Chart.js & google-palette node deps, refactor 3 年之前
tsconfig.json Add basic frontend (jQuery+Bootstrap) stub 3 年之前

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.