Rufasu wrote: ↑16 June 2024, 16:55
Are we assuming that the program is right?
In fact, PHP's random generator had many problems.
Are you still using the latest PHP generators and programming properly?
Creating random numbers is very difficult.
We should not assume that our programs are correct, but we should examine them carefully to make sure that we are doing the right thing.
Have you seen this in the FAQ?
https://boardgamearena.com/faq?anchor=f ... ing_random
Creating random numbers is a solved problem. Your everyday activities on your computer and phone rely on random number generators working properly every day.
Perhaps you are thinking of PHP's "rand()", which isn't cryptographically secure (but would still, frankly, be perfectly fine to roll the dice in no-stakes board gaming). BGA doesn't use that, it uses random_int() which
is cryptographically secure. And if you don't trust CSPRNGs I hope you don't have your money in a bank account.
The Settler Man wrote: ↑16 June 2024, 18:20
I am fairly new to the bga online platform but from what I see is 11's and 4's roll way more often than they should. EVEN 2'S and 12's are vastly more represented than they should be. A 2 and 12 should only on average be rolled 1 time each in 36 rolls. Games offen have these rolled 2-3 times or more in bga.
No, you are wrong. As has been explained many times, humans are terrible at determining whether a random distribution is truly random by feel.
The Settler Man wrote: ↑16 June 2024, 18:20
The problem with generating a truly random number is you need a way to randomly generate a random number for your algorithm so that it generates a unique number. I watched a video once about a powerball gambling generator that used the pressure of the weather(if I remember correctly) in a given place that was always changing to generate the powerball numbers.
Yes, you are talking about the seed. For
cryptographically secure RNGs (which again, isn't really necessary for this purpose, but BGA uses that anyway), the seed needs to be secret (and thus, random). BGA uses a cryptographically secure function, so atmospheric noise or something along those lines is used to generate the seed.