Page 1 of 1
Hey BGA
Posted: 19 September 2023, 19:02
by Spudster
Your dice algorithm is predictable. When I roll three 6's; there is over a 85% to finish three 6's with a roll of a 2 and a 1. Predictable. You should fix your predictable randomness.
Re: Hey BGA
Posted: 19 September 2023, 19:52
by Remkar
Spudster wrote: ↑19 September 2023, 19:02
Your dice algorithm is predictable. When I roll three 6's; there is over a 85% to finish three 6's with a roll of a 2 and a 1. Predictable. You should fix your predictable randomness.
This is GREAT news!
As you probably know with your interest and obvious knowledge of statistics, BGA doesn't have it's own dice algorithm.
Instead, it uses PHP's "random_int" function which was designed to be cryptographically secure (i.e., NOT predictable in any way so that it can be used for security hashes and whatnot). Seeing as around 80% of websites utilize PHP in some form, this is a MAJOR discovery!!!
Please submit your findings to
https://www.php.net/ and bask in the glory of helping out the entire internet!*
*Unless you're just falling prey to confirmation bias and illusory correlations and you actually don't know more than all the programmers and statisticians that created and have already tested PHP's "random_int" function. That seems unlikely, though, I definitely think you're onto something!