Roll dice (eg Asphodice) and show outcomes https://rpg.bertieb.org/dice-roller/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
259 B

  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. }