Skip to main content

How is BBC fair?

Information about how BBC is provably fair

Bear Bull Crab (BBC) uses a provably fair system to ensure that game results cannot be manipulated.

Each game outcome is determined by a cryptographic seed that is committed before the game starts, guaranteeing fair and random results that players can independently verify.


How Provably Fair Works

  • Before each game, the server generates a random seed.

  • The server calculates a cryptographic hash of this seed and publishes the hash when the game starts.

  • The game outcome (Bull, Bear, or Crab) is determined using this seed.

  • After the game ends, the server reveals the original seed.

  • Players can verify that the game was fair by:

    • Confirming the hash of the revealed seed matches the pre-published hash.

    • Re-running the verification algorithm with the revealed seed to reproduce the same outcome.


Win Conditions

The final outcome is a number between 0 and 149. The winning result is determined as follows:

  • Bear
    Outcome < 70
    Payout:

  • Crab
    Outcome ≥ 70 and ≤ 79
    Payout: 14×

  • Bull
    Outcome > 79
    Payout:


Outcome Generation

The final outcome is generated using a seeded pseudo-random number generator (seedrandom). The server seed fully determines the result, making it reproducible and verifiable.

// Outcome is uniformly selected from the range (0–149)
const minPrice = 0;
const maxPrice = 149;
const priceRange = maxPrice - minPrice + 1;

// Create PRNG from server seed
const prng = seedrandom(serverSeed);

// Generate final outcome
const outcome = minPrice + Math.floor(prng() * priceRange);

Did this answer your question?