mort3za/ludo

Is dice number really random

mjavadhpour opened this issue · 2 comments

I play for 5 minutes and i don't get 6. I think the random function can be better to provide equal chance for all players. The computer have dice to 6 in 6 or 7 try but i don't get 6.

Random function in the project is a popular npm package. https://www.npmjs.com/package/mersenne-twister
Do you have a better solution?

No i don't have.