Преглед изворни кода

Don't hard code number of dice/rolls

tags/v0.1.3
bertieb пре 3 година
родитељ
комит
2fc974aa3a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      dice.ts

+ 1
- 1
dice.ts Прегледај датотеку

@@ -5,5 +5,5 @@ let number: number = 4;
for (let i = 0; i < 10; i++) {
console.log("--------------------");
console.log("Rolling", number, asphodice);
console.log(asphodice.roll(4));
console.log(asphodice.roll(number));
}

Loading…
Откажи
Сачувај