Roll dice (eg Asphodice) and show outcomes https://rpg.bertieb.org/dice-roller/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
bertieb 3e187638c3 0.1.1 3 年前
src Move asphotheme.css to root dir 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 'gulp build' task which is not watchify'd 3 年前
package.json 0.1.1 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.