THE DARKEST CASINO

Fairness verifier

Check any bet yourself

Paste the seeds from a finished bet and this page recomputes the result. The maths runs in your browser; nothing you enter is sent anywhere.

Case ids:

For a lobby, the client seed is the list of seated players and the nonce is the lobby number. Both are shown by the Fairness button under the lobby.

Cards are dealt player, dealer, player, dealer. Every later card (hits, doubles, splits, then the dealer) is the next one in the list.

Each guess or skip reveals the next card in the list.

How a result is made

One stream per bet

Block b of a bet is HMAC-SHA256(server seed, "client seed:nonce:b"). Blocks are numbered from 0 and only computed as far as the game needs.

Bytes to numbers

Each 32-byte block gives eight numbers between 0 and 1. A number is four bytes: b0/256 + b1/256² + b2/256³ + b3/256⁴.

Numbers to outcomes

Dice multiplies by 10,001 and rounds down to hundredths; roulette multiplies by 37; cards by 52; cases by 100,000 tickets. Mines and Towers pick distinct tiles from the remaining ones.