Welcome to the official Pokémon Forums!

Click here to review our official Rules & Guidelines.

Fix Random

Use a secure random generator for coin flips. It seems like you don't do this. Having 90% of my "manual" flips landing on tails isn't funny. The game is coin flip heavy so it's important that they are fair 50/50 flips, I can't imagine that any game dev would not use a secure random generator. But seems like you don't. I might be very unlucky but it seems very unlikely that the coin flip is truly random.

Comments

  • TheJeffers
    TheJeffers Member Posts: 1,491 ✭✭✭✭✭
    500 Agrees 1000 Comments 250 Likes 250 LOLs

    How do you know what kind of RNG the game uses? What sample size did you use to establish that the coin flips are not sufficiently random?

    Surely it's not one? It's not just you, right?

    Because there may indeed be something wrong with the RNG. But you will need better proof than "I lost most of my coin flips, RNG sux!"

  • Shadowbrine1
    Shadowbrine1 Member Posts: 171 ✭✭✭
    100 Comments 25 Likes 5 Answers 5 LOLs

    I am a begginer game developer and and I think I know what thay did wrong

    If thay did it the way I think thay did I know the problem

    If thay have It check between 1 and 2 rng tends to pick 1 over any other number

  • TheJeffers
    TheJeffers Member Posts: 1,491 ✭✭✭✭✭
    500 Agrees 1000 Comments 250 Likes 250 LOLs

    Again, it is possible that there is a genuine flaw in the RNG that needs to be addressed. But you need a bigger sample size to assess that. Or access to the game's code and the functions it uses to simulate randomness.

    Humans are really bad at recognising randomness, to the point that ironically they will think a rigged system that achieves a more even distribution of results is more random.

    I could toss a coin 1000 times in real life and get tails every time. That doesn't mean that the coin (or the physics of the universe) is necessarily rigged. In a truly random system, 100% of one result is a perfectly valid outcome.