Computer Science Canada

cards trapping

Author:  magicman [ Mon Jan 10, 2005 9:04 am ]
Post subject:  cards trapping

i'm making blackjack and i need some help with coding. The coding that i'm looking for is how to get my cards only to show up once. please help

Author:  wtd [ Mon Jan 10, 2005 3:47 pm ]
Post subject: 

I would make the deck a collection (be it Vector, List, or simple array) if Cards. Then when youdeal a card out, be sure to not only put it in the hand of the right player, but remove it from the deck collection.


: