lycan-city / werewolf-brain

Werewolf game logic in a well documented npm package.
12 stars 11 forks source link

fix: first card is now random. #92

Closed vetom closed 5 years ago

vetom commented 5 years ago

The function getRandom(0, 1) always returned 1 as it was equivalent to Math.floor(Math.random() * Math.floor(0)) + 1, now is fixed.