This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
bertieb
/
dice-roller
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
0
Releases
5
Wiki
Activity
Browse Source
Don't hard code number of dice/rolls
tags/v0.1.3
bertieb
3 years ago
parent
8c3d35fd3c
commit
2fc974aa3a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dice.ts
+ 1
- 1
dice.ts
View File
@@ -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
));
}
Write
Preview
Loading…
Cancel
Save