Hi, I'd imagine that would add more to the random factor to the game. In USA Blackjack I just created a list, essentually an array, of cards from 0 to 51 and have the random generator pick one at random. That works, but if you shuffle the deck before randomly selecting a card the cards are in a different order from round to round that would make the random selection more realistic and more random per game. For example, in my Blackjack game element 0 is always the Ace of Clubs. If I shuffled the deck element 0 could be anything from the Ace of Clubs to the King of Spades.
On 11/25/10, Hayden Presley <[email protected]> wrote: > Hi, > Why would you want to shuffle a virtual deck of cards; why not just take a > random card each time, and loop through the deck to see if that card has > been atken? > > Best Regards, > Hayden --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
