Announcing 3 Card Poker at DiceOnCrack.com!
Instead of bouncing dice off the blockchain, you can bounce cards! Each transaction is mingled with the secret of the day to produce a provably fair shuffled deck, using a hash based Fisher-Yates shuffle algorithm. You are given the top 3 cards, and that hand is then ranked. Payouts:
Royal Flush: 50 to 1
Straight Flush: 40 to 1
3 of a kind: 30 to 1
Straight: 6 to 1
Flush: 4 to 1
Pair: 1 to 1
(Straights are A-2-3 to Q-K-A)
All games are for 0.10 btc, and an amount greater than that will result in multiple games. Winnings are not gambled. Amount less than 0.10 will be wagered in entirety.
Play anytime you feel lucky. 3 Card Poker address: 1CracksLRtQMcTF4HXNrvPzRgvz7Qr6wNd
The shuffling algorithm explained:
The unshuffled deck begins with 52 cards in sequence. The sequence is Ace,2,3,4,5,6,7,8,9,10,J,Q,K for each suit, Hearts, Spades, Diamonds and Clubs.
When the hash seed is determined, the two leftmost hex character are taken from the hash. For the resulting hex byte to qualify it needs to be less than the quotient of (value / cards remaining) * cards remaining. This is to ensure an equal chance for every card to be selected. If the hex byte does not qualify, the next pair of characters from the hash is used.
Once a qualifying byte is found, card MOD( value / cards remaining) is moved to the end of the deck. This is done 52 times. When necessary, the process SHA256(Hash) is performed to keep the process going. Note that the first 3 cards moved would be cards selected for play.
Very cool