🔒 Provably Fair

Verify every game result yourself. Our system uses cryptographic commitments to ensure fairness.

How It Works

🔐

1. Before the Game

The server generates a random seed and publishes its SHA-256 hash. This hash is stored in the database before any bets are placed.

🎲

2. During the Game

Each player receives tickets proportional to their bet. The winner is selected using SHA-256(server_seed:client_seed:game_id) — a deterministic, unmanipulable calculation.

3. After the Game

The server reveals the raw seed. Anyone can verify that the hash matches and recalculate the winning ticket independently.

The Algorithm

// Step 1: Generate combined hash

hash = SHA256(server_seed + ":" + client_seed + ":" + game_id)

// Step 2: Convert to 0-1 float

random_value = first_16_hex_chars(hash) / 0xFFFFFFFFFFFFFFFF

// Step 3: Calculate winning ticket

winning_ticket = floor(random_value × total_tickets)

// Step 4: Map ticket to player (weighted by bet size)

player = find_player_by_cumulative_tickets(winning_ticket)

Verify a Game

Recent Completed Games

No completed games yet.

Playfair Roulette uses a cryptographic commitment scheme. The server seed is generated using crypto.randomBytes(32)a cryptographically secure random number generator.

You can verify any completed game at any time. All source code is transparent and auditable.