Using the Random Number in A Different Way
Instead, let’s guess that there was a 64-bit number in play. There are a lot of different ways that you could do this, but one of the simplest approaches would be to simply use a formula like the following to help the determine the information:
Pos1 = RND modulo 50
Pos2 = (RND / 50) modulo 50
Pos3 = (RND / (50*50)) modulo 50
Pos4 = (RND / (50*50*50)) modulo 50
Pos5 = (RND / (50*50*50*50)) modulo 50
This makes each reel utilize part of the random number. There is no correlation between them. If the numbers are uniform, then it is an even chance to get any kind of game outcome.
Here’s how you break that apart and take advantage of it:
If you know those reel positions, calculating them becomes a breeze by calculating the end of a random number.
This formula is used for that:
RndEnd = pos1 + pos2*50 + pos3*50*50 + pos4*50*50*50 + pos5*50*50*50*50
This all may look really confusing. So, does this actually help you at all? It actually does quite a bit.
This removes so much of the work, because all you need to simulate is those numbers at the end. You can use this by simulating numbers that match this kind of pattern: RndEnd + X * 50^5
That ends up looking like this:
1 * 312500000 + RndEnd
2 * 312500000 + RndEnd
3 * 312500000 + RndEnd
Now, after this, out of the ridiculous possible range of values, 2^64, you’re left with nearly six billion. The latter can be completed in only sixty seconds, compared to the hundreds of years that the first would take.
Now you can predict future spins.
Now, the RNG that Alex exploited, as well as the exact method he used, may have not been identical to this, but this is supposed to give you some general information about how it could be done with a phone app in a crowded casino full of people without them being caught too often.
That’s how you beat the slots!