Technical

[Randomness] What is Player Seed?

What is The Player Seed?

The Player Seed is a unique identifier assigned to each player upon registration. It provides a simple yet effective method to enhance randomness in the card dealing process. While these words are randomly generated, players have the flexibility to edit their Player Seed inside the game like the example below.

Basepoker Player Seed edit

The Role of The Player Seed in Card Dealing

The Player Seed plays a crucial role in the fairness and randomness of the card dealing process. Here’s how it works:

  1. Combination with the Hand Seed: Each hand of poker on our platform begins with the generation of a Hand Seed. The Hand Seed is a hash of the Hand Input, a combination of various game parameters, including the Daily Seed, Game Type, Chip Type, Game Format, Table Number, and Hand Number, hashed together to ensure security and integrity.
  2. Applying the Fisher-Yates Shuffle Algorithm: To generate the hole cards for each player, we combine the Hand Seed with the Player Seed. This combined seed is then processed using the Fisher-Yates Shuffle Algorithm, a well-known open-source method for producing a uniformly random permutation of a finite set — in this case, a deck of cards.
  3. Generation of Hole Cards: The result of the Fisher-Yates Shuffle Algorithm is a unique and random distribution of hole cards for each player, ensuring that every hand dealt is fair and unbiased. See Below.
Basepoker hole cards generation

Why the Player Seed Matters

The use of the Player Seed offers several significant advantages:

  1. Enhanced Randomness: By combining the Hand Seed with the Player Seed, we add an extra layer of randomness to the card dealing process. This makes it impossible to predict or manipulate the outcome of any hand.
  2. Transparency and Trust: Players can edit their Player Seed at any time, giving them control over their unique identifier. This transparency fosters trust, as players can be confident that their seed is unique and not influenced by any external factors.
  3. Security: The Player Seed, when combined with the Hand Seed, creates a complex input for the shuffle algorithm. This complexity further enhances the security and integrity of the card dealing process while providing players ability to verify the integrity.

Now you understand the Player Seed. Let’s get into other parts! Here is the list of different parts of our randomness system.