BitPlay Club, a popular and provably fair Bitcoin lottery based on the Bitcoin blockchain recently expanded their product offering with a new and innovating game of roulette. Just like the lottery games offered by BitPlay Club their roulette game, which is a European version of roulette, is played with Bitcoin and is provably fair thanks to their use of the Bitcoin blockchain.
Playing this game of roulette is a bit different than what most gamblers are used to with online casinos. Fortunately it’s actually quite simple if you follow these steps:
- Choose your bet.
- Send Bitcoin to the address associated with that bet. Your bet (transaction)Â will play in the same block that has been included into.
- Wait for the result. Bets play approximately every 10 minutes. Exact time depends on the time of block generation on the Bitcoin blockhain. The result is calculated via the formula below.
- Collect your winnings! If your bet won, your bet and prize would be sent to the same Bitcoin address you made a bet with.
Provably fair Roulette
Over the years the BitPlay Club management noticed a huge increase in online gambling and also noticed roulette being one of the most popular online casino games. However, they also noticed quite a bit of distrust in online casino sites. According to BitPlay Club they want you to be absolutely sure that the games you play are safe, secure and most of all fair. By offering a provably fair version of roulette the player can verify if the game he or she played was fair by following a few simple steps based on information from blockchain.com. That information can be entered at the BitPlay Club fairness calculator or your own calculator or Excel sheet if you don’t want to use a tool from BitPlay Club.
How does this calculation work? It’s actually quite simple:
- First take the hash of the block with your transaction, height of this block, its time of generation and the hash of the previous block.
- Stick all this data together and encode it to the MD5 hash algorithm. Received hash value is being encoded into Crc32 hash algorithm.
- Calculate the remainder in division by 37.
- The number received after step 3 is the winning number.
Example
First we have to find some data of our transaction:
Block hash of our transaction: 00000000000000000cbb49e808da731aeb1246035e26881a734fc1307a9a9577
Height of this block: 376594
Time of generation: 2015-09-29 00:22:51
Hash of the previous block: 0000000000000000069d9bef981a97a9066a5574e9d5148b533b4e0719838443
Once we have all that information we can enter it into the formula:
(
crc32(
md5(
        roulette +
        md5(0000000000000000069d9bef981a97a9066a5574e9d5148b533b4e0719838443) +
        md5(376594) + md5(2015-09-29 00:22:51 UTC) +
        md5(00000000000000000cbb49e808da731aeb1246035e26881a734fc1307a9a9577)
)
) MOD 37
) = 6
As shown in the calculation above the remainder equals 6, making 6 the winning number!
Bet types and payouts
Now we known that the game of roulette is indeed provably fair it’s time to find out about bet types and payouts. BitPlay Club allows you to place the following bets:
Bet Name | Payout | Description |
---|---|---|
Straight bet | 35:1 | The chip is placed on the corresponding number on the table that you think will come up. Bet on 0 (zero) is also possible. Your bet wins if the number you've chosen comes up. |
Split bet | 17:1 | The chip is placed on the edge between two adjacent numbers on the table. The bet with 0 (Zero) and any other number of the first row is also possible. You win if either number comes up. |
Street bet | 11:1 | The chip should be placed outside the line at the edge of the row. You get a payout if one of the numbers in the street bet comes up. |
Trio | 11:1 | The bet on three numbers where 0 (Zero) is included is called Trio. There are two variants of such bet: 0, 1, 2 and 0, 2, 3. You get a payout if one of the numbers in the street bet comes up. |
Corner bet | 8:1 | The chip should be positioned at the corner of four numbers, usually in the middle making sure that part of the chip is on each number. The bet wins if any of the four numbers comes up. |
Basket | 8:1 | As in case with Trio, there is a seperate bet on four numbers which includes 0 (Zero). The bet wins if any of the four numbers comes up. |
Line bet | 5:1 | The chip is placed on the intersection between the two rows of three numbers each. Such bet wins if any of the six numbers on these 2 lines comes up. |
Column bet | 2:1 | Every column on the table has 12 numbers. The chip is placed on the field "2 to 1" and features all numbers in this column (without Zero). There are only 3 variants of such bet. |
Dozen bet | 2:1 | The chip can be placed on "1st 12", "2nd 12"and "3rd 12". Each features 12 numbers. The bet wins if any of these 12 numbers comes up. |
Red or Black | 1:1 | The chip is placed on either Red or Black field. You win if the winning number color matches the color of your bet. 0 (Zero) doesn't have any color, so in case 0 (Zero) comes up, you lose. |
Even or Odd | 1:1 | The chip is placed on either Even or Odd field. You win if the winning number belongs to the category you bet on. 0 (Zero) doesn't participate in this bet so in case 0 (Zero) comes up, you lose. |
Low or High | 1:1 | The table is divided into 2 groups, the 1-18 (Low) and 19-36 (High) numbers. If the number matches your category you win. If 0 (Zero) comes up, you lose. |