BC.GAMEOfficial siteOfficial
Go to bc.gamebc.game

Provably Fair

Every BC Originals result can be checked with the server seed, the client seed and the nonce. Pick a game to see how its result is calculated.

Blackjack

Validate

The card sequence verification

1.The random seed from server side generates hash1 first, hash1 is the card sequence;

2.Use hash1 to generate hash2 and hash2 is public;

3.After the round is finished, the hash1 and the card sequence of the round will be public;

The single deck shuffling logic

Use seed for shuffling

The shuffling steps are as follows:

  1. Create a deck of cards named ß, the card is sequenced as spade A-K,heart A-K, club A-K and diamond A-K.
  2. Hash256 the seed to get the hash value, which will be used as the weight of the first card (spade A) in the card ß
  3. Delete the first bit of the hash value and add it back as the last character of the hash value (for example 54321 to 43215), the new hash value will be used as the weight of the second card of ß (Spades 2)
  4. Repeat step 2 to calculate the weight for all the card in ß
  5. Finally, shuffle ß according to the corresponding weights of the cards, from small to large. The reordered cards is the shuffled ß.

The shuffling logic for multiple decks

When multiple decks need to be shuffled:

  1. First shuffle the first deck and perform the single deck shuffle steps 2-4.
  2. Use the hash value of the first deck as the seed for the second deck, then shuffle the second deck by the performing the single deck shuffle steps 2-4.
  3. Use the hash value of the second deck as the seed for the third deck, then shuffle the second deck by the performing the single deck shuffle steps 2-4.
  4. By analogy, all the cards from the decks will have their weight, and finally put all cards together and perform the fourth step of the single deck shuffling logic for sorting.