Case battles
Server seed + EOS block- Checked
- 2,676
- Verified
- 2,581
- Waiting
- 0
- Missed
- 95
- Under review
- 0
- Last verified
- 8 min ago
How CSBattle works, explained simply CSBattle provably fair: how it works, and we tested it
| Game | Method | Checked | Verified | Waiting | Not publicly verifiable | Missed | Under review | Last verified |
|---|---|---|---|---|---|---|---|---|
| Case battlesSampled 1 in 4 | Server seed + EOS block | 2,676 | 2,581 | 0 | 0 | 95 | 0 | 8 min ago |
| DoubleSampled 1 in 20 | Server seed + EOS block | 1,750 | 1,712 | 0 | 0 | 38 | 0 | 4 min ago |
| CoinflipSampled 1 in 2 | Server seed + EOS block | 254 | 254 | 0 | 0 | 0 | 0 | 9 h ago |
| Solo gamesCounted 1 in 50 | Player seed | 8,459 | Not publicly verifiableCases, Upgrader, Mines, Tower, Plinko, Keno and 21 run on a seed pair only the player sees before the bet. We count one bet in 50 and store nothing. | |||||
| All games | 13,139 | 4,547 | 0 | 8,459 | 133 | 0 | 4 min ago | |
Cases, Upgrader, Mines, Tower, Plinko, Keno and 21 run on a seed pair only the player sees before the bet. We count one bet in 50 and store nothing.
Times are relative to the last update (22:02). We never store every round, only a random sample per game. Solo games are counted, not stored.
8,592 rounds in the last 7 days on CSBattle. None of these mean a result was wrong. They are rounds we couldn't see, or can't see yet.
The last 30 sampled rounds. Open a row to see its receipt and check it yourself.
Every result is made from two numbers. For the game to be fair, the casino must not be able to change the first one and must not be able to pick the second one.
Before the round, the casino writes a secret number on a note and puts it on the table in a sealed envelope. You can't read it. But it is locked in: they can't swap the note later without you noticing.
Online: the envelope is the hash of the casino's server seed, a fingerprint of the secret that is shown before the round.
The second number has to come from outside. Like tomorrow's lottery draw on TV: nobody knows it today and the casino can't choose it. Or it is a number you pick yourself and lay on the table before the round, like cutting the deck before the cards are dealt.
Online: a block on a public blockchain that doesn't exist yet, or your own client seed, which you can see and change before you play.
The result comes from both numbers mixed together, with a recipe everybody knows. After the round the envelope is opened. If the note inside is the one that was sealed and the recipe gives the same result again, nobody cheated.
Online: the casino reveals its server seed. Anyone can hash it, look the block up and redo the maths.
That is what this page checks on every sampled round: the envelope was on the table before the outside number existed, the opened note is the one that was sealed, and the recipe gives the result the site showed.
Before the round, the site shows a SHA-256 hash of its secret server seed. We save that hash with the time we saw it.
The site names a future block on the EOS blockchain. Nobody knows its id in advance, the site included. We look the block up on the chain ourselves.
After the round the site shows the seed. Hashing it must give the hash we saved.
We feed the seed, the block id and the round numbers into the site's own formula. The result must match the one the site showed.
Here nothing is sealed before the round. Once the bets are in, the casino asks an outside referee, random.org, to roll. The referee writes the roll on a slip together with the round it is for, the time and a running ticket number, and signs it. The casino can't fake that signature.
We check the signature, that the slip is for this round and was written after the bets closed, that the slips right before and after it belong to other rounds (so nobody rolled twice and kept the nicer one), and that the game showed what the slip says.
Before the first game, the casino sealed ten million envelopes in one go. Each envelope carries the fingerprint of the next one in the stack, so none can be swapped later. Every game opens one. The second number is the same for every game: a Bitcoin block that was picked in public after the stack was sealed.
We check that the note a game opens matches the fingerprint the game before it showed, which was on the table before anyone bet, and that the crash point comes out of the recipe.
Each game has a sample rate, for example 1 in 4 battles. Which rounds get picked is decided from the round's id with a key only we hold, the moment the round appears and before any result exists. So we can't choose the rounds that look good, and a site can't tell which rounds we check. Sample rates are listed per game in each site tab.
What each game uses, where the site publishes its code, and what we can't check.
Code published: CSBattle prints its verification code for every game on its fairness page and runs it in your browser. We use the same code. Open CSBattle fairness page
What we can't check: Solo games: only the player sees the sealed hash before the bet.
How CSBattle works, explained simply CSBattle provably fair: how it works, and we tested it
A way for a site to prove it didn't change a result after you bet. Think of a sealed envelope: before the round the site puts its secret number on the table, sealed (online that is a hash of its seed). A second number comes from somewhere the site can't control, like a public blockchain or your own seed. Afterwards the envelope is opened, and anyone can re-run the maths and get the same result.
Our collector watches each site and picks a random sample of rounds on every game. For those rounds it saves the sealed seed and the promised EOS block before the result exists. We never store every round. After the reveal we hash the seed, look the block up on the public chain and re-run the site's own formula. If all three match, the round is verified. This page refreshes with new results every hour.
No. CSBattle, Packy.gg and Rain.gg seal a seed and mix it with a public EOS block. Clash.gg works differently: for case battles and Double it lets random.org draw after the bets are in, and random.org signs the draw with the round's id, the time and a running serial number. We check that signature, that the draw was made after bets closed and that the draws next to it belong to other rounds. Clash.gg Crash runs on a chain of seeds that was fixed long ago: each game's seed must hash to the seed of the game before.
Solo games run on a seed pair tied to the player: only the player sees the sealed hash before the bet. Without that hash on record first, nobody else can say the seed wasn't swapped, so only the player can verify them, in the account's fairness page.
One of the checks didn't match on the first run. That isn't proof of anything yet. We re-run it, compare it with the site's published formula and confirm by hand. Then we mark it verified or explain what went wrong.
No. We only read data that any logged-out visitor can see. We never log in, deposit or bet.
No. Provably fair shows a result wasn't changed after bets. It says nothing about the house edge, withdrawals or how a site is run.