Shuffle & Random Number
For the RNG, it is enough to use any that passes the Diehard tests. For shuffling you have to prove that every final position is equally likely after the shuffle (or that every remaining card is equally likely to be dealt, depending on what you are doing). FY is as good as it gets.Quote: 777I'm working on a card shuffle algorithm using Fisher–Yates methods and a TBD random number generator method. Is there an industry or regulatory standard that one must follow regarding the card shuffling and random number?
If you are creating a virtual game (like VP or online version) that's all you need. If you are talking about something like the Ace/King/2-to-6 shufflers, a shuffle of a physical deck, that's a whole different story.
Quote: teliotFor the RNG, it is enough to use any that passes the Diehard tests. For shuffling you have to prove that every final position is equally likely after the shuffle (or that every remaining card is equally likely to be dealt, depending on what you are doing). FY is as good as it gets.
If you are creating a virtual game (like VP or online version) that's all you need. If you are talking about something like the Ace/King/2-to-6 shufflers, a shuffle of a physical deck, that's a whole different story.
I'll use the Mersenne Twister for PRNG (it passes the Diehard tests) for applications in physical shuffling machine, and game and simulation. Is Mersenne Twister commonly used by developers and accepted by regulatory agencies?
For my own internal simulation stuff, that's all I use.
Join the discussion
Log in or create a free account to reply to this thread.

