If you would prefer a simple explanation of provably fair and why it’s important and you don’t care too much for specifics or details, you should definitely stop reading here and go check out this article.

For those of you that are seekers of knowledge and power, I will walk you through the process that happens every time you click that bet button. Starting at the first step of the provably fair hash string being created using the combination of the server seed + client seed + nonce.

  1. Combine [server_seed:client_seed:nonce] to get the provably fair hash string.
    1. This can be verified using a third party SHA-256 hashing tool.
    2. You must enter the combination in the correct order seperated by a colon. (See images)
    3. You have to change your seed pair before you can see the server seed that was used on previous games. You can this on the bet details screen as well.

2. Then take the first 8 characters from the hash string of the combination and convert them to an int32 value, 2 characters at a time. (See images below)

a. This means that we need to convert the hash string from having letters and numbers to a string of just numbers.

b. This step is necessary because we need to work in numbers rather than letters to get a numbered dice roll.

c. Third Party hex to decimal converter.

3. For the final step we divide the converted values by 0x100000000, multiply it by 10001 and divide it by 100 so that the resulting number will always be within the 0-100 range of the Classic Dice game.

a. The formula looks like this…..

      0.027343750    (7 / (256 ^ 1))
+    0.003097534    (203 / (256 ^ 2))
+    0.000004351    (73 / (256 ^ 3))
+    0.000000051    (221 / (256 ^ 4))
=    0.030445687     (* 10001 / 100)
=    3.044873157

The final result for this round of Classic Dice is 3.04. I know this is a lot to take in and seems very complicated but our servers handle all this math the instant you click the bet button. I can’t help but imagine a Craps dealer in a physical casino being required to perform these functions every time a player rolled the dice.

In Conclusion, I hope this walkthrough has helped you to better understand the process that is used to generate the rolls for BC.Game’s fun and exciting Classic Dice. Be sure to check out the other detailed walkthroughs and explanations of our other games.