Hi Hayden,

If you have a shuffled deck of cards, you just deal off of the deck and thus do 
not need to have fifty some if statements to see if you have picked that card 
before.  And it would be even more checks if you were playing with 2, 3, 4, 5 
or 6 decks of cards, right?  It is very easy to shuffle the deck and it just 
makes better programming sense to me.  I set up a true 52 card deck of cards in 
an array, pick a number, reduce down the array and pick again until you have 
picked the full deck away.  It has always worked out great in all of my card 
games.

BFN

    Jim

Experience is something you don't get until just after you need it.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA

----- Original Message -----
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


-----Original Message-----
From: gamers-boun...@audyssey.org [mailto:gamers-boun...@audyssey.org] On
Behalf Of Jim Kitchen
Sent: Thursday, November 25, 2010 5:55 AM
To: Charles Rivard
Subject: Re: [Audyssey] USA Blackjack 1.0 Released!

Hi Charles,

In my casino pack of games, in black jack you can choose to play with from 1
to 6 decks of cards.  And in both my black jack and draw poker games I first
build a true unshuffled deck and then shuffle it, or them.  So the games are
very much like what you would play in a casino etc.

BFN

    Jim

I am now playing with a full deck.

j...@kitchensinc.net
http://www.kitchensinc.net
(440) 286-6920
Chardon Ohio USA
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
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/gam...@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to