How the result is decided
One number from 0.00 to 100.00.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- Here the cursor is the word DICE.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- The number × 10,001, rounded down and divided by 100, is the roll.
Compare with Degen's verification code.
How the result is decided
One multiplier of at least 1.00. You win if it reaches your target.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- Here the cursor is the word LIMBO.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- The result is 0.99 ÷ the number, kept between 1 and 1,000,000 and cut (not rounded) to 2 decimals.
Compare with Degen's verification code.
How the result is decided
European wheel with one zero: a pocket from 0 to 36.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- Here the cursor is the word ROULETTE.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- The number × 37, rounded down, is the pocket.
Compare with Degen's verification code.
How the result is decided
Each flip is one number: below 0.5 is heads, otherwise tails.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Flip 1 uses cursor 0, flip 2 uses cursor 1, and so on.
Compare with Degen's verification code.
How the result is decided
One left-or-right bounce per row. The bucket is the number of left bounces.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Row N uses cursor N - 1. Below 0.5 is left, otherwise right.
- Bucket = number of lefts, so 0 means the ball never went left.
Compare with Degen's verification code.
How the result is decided
Mines are drawn one at a time from the 25 tiles that are still free.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Mine N uses cursor N - 1: number × tiles left, rounded down, picks one of the free tiles, which is then removed.
- Tiles are numbered 0 (top left) to 24 (bottom right).
Compare with Degen's verification code.
How the result is decided
Ten numbers are drawn without repeats from a pool of 40 to 80.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Cursors 0 to 9 each pick one of the numbers still left (number × numbers left, rounded down), which is then removed.
Compare with Degen's verification code.
How the result is decided
Some of the dragon's 20 fangs are bad. They are drawn like mines.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Fang N uses cursor N - 1 to pick one of the fang positions 0-19 still left.
- Degen's code maps each position to a place on screen (top or bottom row, counted from the nearer side).
Compare with Degen's verification code.
How the result is decided
Cars are placed on a 20-cell road. The chicken busts on the first car.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Cars: Easy 1, Medium 3, Hard 5, Degen 10. Car N uses cursor N - 1 to pick one of the cells 0-19 still free.
- The lowest car is where the chicken busts. Degen shows it as lane (cell + 1).
Compare with Degen's verification code.
How the result is decided
Stacks uses the same bust draw as Chicken, plus one landing column per step.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The cursor is 0 for the first number, 1 for the second, and so on.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Bust cells are drawn as in Chicken from cursors 0 to (bust count - 1). The lowest one is the bust block.
- Landing column for each step: the next cursors after the bust cursors, number × 4 rounded down (0-3).
Compare with Degen's verification code.
How the result is decided
Every card is drawn independently from all 52 (an unlimited deck).
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cursor 0 is your first card, 1 the dealer's face-up card, 2 your second card, 3 the dealer's hole card. Hits and dealer draws continue from cursor 4.
Compare with Degen's verification code.
How the result is decided
Two hands against one dealer. You may swap the second cards of the two hands.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cursor 0: hand 1 card 1. 1: hand 2 card 1. 2: dealer face-up. 3: hand 1 card 2. 4: hand 2 card 2. 5: dealer hole card.
- A switch swaps the cards at cursors 3 and 4.
Compare with Degen's verification code.
How the result is decided
You get one card, the dealer two. Cursor 3 is your next card.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cursor 0: your card. 1: dealer face-up. 2: dealer hole card. 3: your next card, which is the double-down card if you double first.
Compare with Degen's verification code.
How the result is decided
Player and banker hands with the standard third-card rules.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cursor 0: player card 1. 1: banker card 1. 2: player card 2. 3: banker card 2.
- An 8 or 9 on either side ends the hand. Otherwise the player draws on 0-5 and the banker follows the standard table. Third cards use cursor 4, then 5, only when drawn.
Compare with Degen's verification code.
How the result is decided
Baccarat where the second player and banker cards can be swapped.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cards are dealt as in Baccarat. A switch swaps the cards at cursors 2 and 3.
- Third cards use cursor 4, then 5, only when drawn.
Compare with Degen's verification code.
How the result is decided
One card each; the higher rank wins and aces are high.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cursor 0: your card. 1: the dealer's card.
- On a tie, if you go to war: cursors 2-4 are burned, 5 is your war card and 6 the dealer's.
Compare with Degen's verification code.
How the result is decided
Every draw is an independent card from all 52. The start card on the table is not part of the sequence.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Card at cursor N: number × 52, rounded down. Rank is that index mod 13 (A, 2 … K), suit is index ÷ 13 rounded down (hearts, diamonds, clubs, spades).
- Cursor 0 is the first card drawn after the bet (your first guess or skip), cursor 1 the next, and so on.
Compare with Degen's verification code.
How the result is decided
1 to 6 moles hide in 7 holes. Redraw games get a new board each round.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Each board draws as many holes as there are moles, without repeats, from holes 0-6.
- Fixed board: one board from cursors 0 to (moles - 1). Redraw: round R (from 0) uses cursors R × moles to R × moles + moles - 1.
- Holes are numbered 0 to 6, as in Degen's code.
Compare with Degen's verification code.
How the result is decided
The house throw for each round comes from one number.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Round N (from 0) uses cursor N, ties included.
- House throw: number × 3 rounded down: 0 rock, 1 paper, 2 scissors.
- Multiplier shown by Degen's code: 0.98 × 2 to the power of your wins so far.
Compare with Degen's verification code.
How the result is decided
The house fires shells at your fleet on a 6 × 6 grid. Hitting a new ship cell gives the shell back.
- Each number is HMAC-SHA512 with the server seed as the key and client seed : nonce : cursor as the message.
- The first 4 bytes of the hash give a number between 0 and 1: byte 1 / 256 + byte 2 / 256² + byte 3 / 256³ + byte 4 / 256⁴.
- Shell N (from 0) uses cursor N. Its cell is number × 36, rounded down (0-35).
- A new hit on a ship refunds the shell. Water and repeat hits use it up. The battle ends when shells run out or all 12 ship cells are hit.
- The multiplier adds Degen's payout lines for ships hit and sunk, scaled by (100 - edge) / 96.
Compare with Degen's verification code.
How the result is decided
Each round's server seed comes from a pre-made SHA-256 chain. It is combined with a Bitcoin block hash fixed in advance.
- The server seeds were made in advance as a SHA-256 chain: the SHA-256 of a round's seed is the previous round's seed.
- Before the round Degen shows the SHA-256 of the seed. That hash is also the previous round's seed.
- Compute HMAC-SHA256 with the server seed as the key and Bitcoin block hash 000000000000000000015fd8624ab0ba8f4901f22e44edb35426beb4680d6624 as the message.
- Read the first 8 hex characters as a number n. The crash point is 2^32 / (n + 1) × 0.99, at least 1, at most 1,000,000, rounded to the nearest 0.01.
Compare with Degen's Crash verification code.