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.
 
 
 
 

10 lines
264 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(number));
  8. }