Hey guys,
I have the "Create a deck of Cards, perform perfect shuffle, and return to original order" - hw assignment, and it all works great!
The only thing I'm looking for advice on is how to make my card 'number' assignments a little more automated. Right now the program is pretty dynamic based upon how large of a Decksize you use, except when it comes to assigning numbers. Posted working code is below, any insight on how to make it a little cleaner would be much appreciated!
I would regard value for counting and sequence of significance during play separately. I know card games where numbers below 10 do not count at all, I know games where numbers below 9 are not part of the deck, I heard of card games where the 9 of trump suit is "high" (changed sequence of significance). So it depends on the kind of card game how you may "picture" it in C++. Just for fun here a clip from Swiss Television of 1967 explaining "Jass" I grasp almost nothing (just that only three ways to shuffle are allowed), unknown wording, no ordinary playing cards (frensch face) -- https://www.youtube.com/watch?v=PryRCcilAP8