Roll dice (eg Asphodice) and show outcomes https://rpg.bertieb.org/dice-roller/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
bertieb 0546dc14d6 refactor: more ResultProperties sig updating 3 år sedan
src refactor: more ResultProperties sig updating 3 år sedan
.gitignore Add gulp for automated builds & Boostrap for FE 3 år sedan
README.md Add README 3 år sedan
dice.ts Don't hard code number of dice/rolls 3 år sedan
gulpfile.js Fix watched build bug 3 år sedan
package.json v0.2.0 Roll multiple Asphodice 3 år sedan
tsconfig.json Add basic frontend (jQuery+Bootstrap) stub 3 år sedan

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.