codebuddies / dungeonbuddies

Multi User Dungeon Coded by codebuddies slack members
MIT License
6 stars 3 forks source link

Implement Dice model #15

Closed tyberious-1 closed 5 years ago

tyberious-1 commented 5 years ago

Using dice notation xdy x is the number of dice y is the sides of the dice

rollingDiceFunc(x,y) to use the main dice functions

rollD20() function will roll a 1d20 dice.

angelocordon commented 5 years ago

Temporarily marking as blocked as #16 should be implemented in this PR and put in some basic unit testing 👍