Roll dice (eg Asphodice) and show outcomes https://rpg.bertieb.org/dice-roller/
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789
  1. import { Asphodice } from "./asphodice";
  2. let asphodice: Asphodice = new Asphodice();
  3. let number: number = 4;
  4. for (let i = 0; i < 10; i++) {
  5. console.log("--------------------");
  6. console.log("Rolling", number, asphodice);
  7. console.log(asphodice.roll(4));
  8. }