cards trapping
Author |
Message |
magicman

|
Posted: 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 |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
wtd
|
Posted: Mon Jan 10, 2005 3:47 pm Post subject: (No 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. |
|
|
|
|
 |
|
|