blackjack problem with insertion sort and array
Author |
Message |
SpaceDude
|
Posted: Tue Jun 01, 2004 4:23 pm Post subject: blackjack problem with insertion sort and array |
|
|
hmm my teacher told me to make this assignment with ONLY insertion sort and arrays
and like only each card can be used only once
so hmm how can i make a blackjack game that includes insertion sort and array
like i don't wnat the code but i just want some ideas on how am i going to use to sort and array in the game |
|
|
|
|
|
Sponsor Sponsor
|
|
|
rhomer
|
Posted: Tue Jun 01, 2004 4:39 pm Post subject: (No subject) |
|
|
maybe make a boolean for each card
if the card is used then it = false |
|
|
|
|
|
SpaceDude
|
Posted: Tue Jun 01, 2004 7:27 pm Post subject: (No subject) |
|
|
ahh
but what about the insertion sort what would that do in the blackjack game?
also how should the code look sort of like for boolean in the blackjack?
like set boolean true, then set array, and then what should i do lol? thanks |
|
|
|
|
|
|
|