Provably Fair
Roraid never decides who wins on a whim. Every result is derived from numbers that were committed before anyone wagered, and you can reproduce the exact roll yourself.
1 · Commit
When a game is created, Roraid generates a random server seed and stores only its SHA-256 hash. Nobody — not the players, not the house — can see the raw seed, so nobody can guess the outcome in advance. The hash is public on the game itself.
2 · Play
Players join and wager pets. Each game is assigned a client seed and a nonce that increments for the number of participants.
3 · Reveal & Roll
When the game resolves, the raw server seed is revealed and combined as:
roll = SHA-256(serverSeed + ":" + clientSeed + ":" + nonce)
→ first 13 hex chars (52 bits) → number in [0, 1)That number picks the winning side or participant. Because the seed was hashed before anyone bet, the result was already locked in — no rigging is possible after the fact.
4 · Verify
Any player can reproduce a roll. Take a resolved game's revealed server seed, its client seed, and nonce, run the formula above, and confirm it matches the recorded outcome. If it matches, the game was fair.