OK, I looked at your code. What a mess.
Instead of trying to ferret out the problems, I ran it, and looked at the decks post-shuffle.
After shuffling, the deck was composed of the following cards:
18 10
26 2
24 3
24 4
24 5
24 6
24 7
24 8
24 9
28 A
24 J
24 K
24 Q
The missing 6 tens are easy to account for. Your text string for the deck is missing one ten. Multiply that by 6 decks and you get 6 missing tens.
But, your shuffle also mangles other card counts, adding 2 twos and 4 Aces to the deck. I'm sure the rest of your code is similarly bug-laden.
Next time you come up with an "Advanced" strategy that disagrees with the experts, consider that your coding might be the culprit.
P.S. Now I see why you called the shuffling subroutine "suffer". :laugh:
Instead of trying to ferret out the problems, I ran it, and looked at the decks post-shuffle.
After shuffling, the deck was composed of the following cards:
18 10
26 2
24 3
24 4
24 5
24 6
24 7
24 8
24 9
28 A
24 J
24 K
24 Q
The missing 6 tens are easy to account for. Your text string for the deck is missing one ten. Multiply that by 6 decks and you get 6 missing tens.
But, your shuffle also mangles other card counts, adding 2 twos and 4 Aces to the deck. I'm sure the rest of your code is similarly bug-laden.
Next time you come up with an "Advanced" strategy that disagrees with the experts, consider that your coding might be the culprit.
P.S. Now I see why you called the shuffling subroutine "suffer". :laugh: