All-In Poker Flips Provably Fair Verification & Rules
All-In Poker Flips is a Provably Fair block-chain based Texas Hold'em Poker betting game where you go all-in pre-flop with a hand of your choice against any hand you choose.
What Provably Fair means is that there is no way we can cheat you by shuffling the deck in our favor. The shuffle of the deck is completely random and you can verify that after the completion of the game.
To achieve a Provably Fair
All-In Poker Flips the following technique is used :
When you order an
All-in Poker Flip bet we generate a random secret that is used to shuffle the deck. Obviously we can not reveal the secret before the deck is shuffled because this will allow you to know in advance the outcome of the game. Therefore, we scramble the secret in a special technique called hashing using SHA256 cryptographic algorithm and present the hashed secret in the Bet Status page. The only way to reproduce the hashed secret is by hashing the original secret. Later on, after the game is over, we will reveal the original secret used, and you will be able to hash it yourself and verify that the result is identical to the hashed secret presented to you before the game. This will prove that we did indeed used the secret that was designated to your bet.
To ensure that we don't know in advance the outcome of the game, we add another random value which is not in our control, and that is the transaction ID of your bet transfer, as it appears in the block chain.
The 5 community cards (Flop, Turn and River) are then determined as follows :
We create a string that includes your bet transfer transaction ID followed by the number of the bet in the transaction followed by the original secret. If your bet transfer transaction includes a single bet, the number of the bet is 1, otherwise if you send multiple bets in the same transaction the bet number is the index number of the bet output in the transaction where the first bet gets the number 1 and all non bets outputs are not counted. We hash the string result using SHA512 cryptographic algorithm. The result is a long random string with 128 characters. Each pair of characters represents a card. The first character in each pair is the card rank and the second character is the card suit.
We take the card rank character as an Hexadecimal Digit and convert it to a decimal number. We then add 1 to that number. The result is the card rank, where 1 is an ace, 2 - 10 is the equivalent ranked card, 11 is a Jack, 12 is a Queen and 13 is a King. If the number comes out higher than 13, we ignore the card and move on to the next one.
Next we take the card suit character as an Hexadecimal Digit and convert it to a decimal number. We divide that number by 4 and discard all digits after the decimal point. If the result is 0 the suit is Spade, if it is 1 the suit is Heart, if it is 2 the suit is Diamond and if it is 3 the suit is Club.
If the card is already out in one of the hands or the community cards, we ignore it and move to the next card.
In the unlikely event where the 5 community cards could not be determined from the deck string due to too many duplicated cards, we hash the deck string again using SHA512 and repeat the process until all 5 community cards are determined.
As an example,
take a look at this bet :
We create a string that includes your bet transfer transaction ID followed by the number of the bet in the transaction (in this case it is 1) followed by the original secret : d405b0ba959b171165d59c5ed827726f408e6d3e9880de3a6f401a686b09fc3510e0bb83d3ec788
fd147bd9374946bf75ebb6865e7e81c5ca6919b9c5d7f096e0
We then hash it using SHA512 cryptographic algorithm and the result is the string deck : 6f0673e902934a136fab077e0aac0ae999de400b0da0a89681d9a6023d886d079885447400f6519
e2d5975eca80454c743849f2f5cbcbe8a26f6d96e8bc41c9d
First card is "6f". '6' is the card rank as an Hexadecimal Digit. We convert it to a decimal number and add 1. The result is 7 which is the card rank. 'f' is the card suit as an Hexadecimal Digit. We convert it to a decimal number, divide it by 4 and discard all digits after the decimal point. The result is 3, which represents the Club suit. The first card is therefore 7 of Club.
Second card is "06", which is A of Heart.
Third card is "73", which is 8 of Spade.
Fourth card is "e9". The card rank is 'e'. We convert it to a decimal number and add 1. The result is 15. Since there is no such card it is ignored and we move on to the next card "02", which is Ace of Spade. Since this card is already out from the deck (we hold it), it is skipped as well and we move on to the next card "93" which is Ten of Spade.
The final card is "4a" which is 5 of Diamond.
We have a pair Aces against a pair of Queens, and go on to win the bet.
Additional Notes :
- Your bet will confirm as soon as the bet transfer is received and the cards will be dealt as soon as there is 1 confirmation in the block chain for your bet transfer. Under certain conditions the cards will be dealt instantly with 0 confirmation for established qualified clients.
- In case of a win we will deduct from the payout amount a fee to cover the charges made by the network to transfer your winnings. The fee amount is 0.0001 BTC, 0.001 LTC, 0.001 DRK or 1 DOGE, depends on the coin used for betting. Note that this fee is not charged for any of our sport bets, it is only applicable to Direct Dice and All-In Poker Flips bets. If you combine them with a sport bet in a Toto ~ Parlay, no fee will be charged.