How are random numbers generated?

Game development with Board Game Arena Studio
Post Reply
User avatar
_nightraven_
Posts: 2
Joined: 21 March 2020, 04:16

How are random numbers generated?

Post by _nightraven_ »

Just curious if the randomness in games...such as dice rolls, etc. are pseudo-random numbers generated by computers or is taking advantage of something physical like random.org. They are using atmospheric noise to achieve more randomness. Was wondering if we are using any services to help with true randomness.
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: How are random numbers generated?

Post by Tisaac »

_nightraven_ wrote: 19 February 2021, 03:12 Just curious if the randomness in games...such as dice rolls, etc. are pseudo-random numbers generated by computers or is taking advantage of something physical like random.org. They are using atmospheric noise to achieve more randomness. Was wondering if we are using any services to help with true randomness.
It is using PRG that passed lot of statistical tests (I think Mersenne twister is currently used)
Post Reply

Return to “Developers”