Closed ctm closed 4 years ago
It looks like the issue is that after we shuffle the muck back into the deck, we don't actually zero out the muck. So, under light testing, where we only hit the muck once, this never is an issue. However, if we ever have to go to the muck more than once, we start duplicating cards.
The above is from code inspection. I'll actually do a little testing, then fix it.
Actually, we do zero out the muck after shuffling it in. So, that wasn't the bug. I may need to poke around in the JSONB logs to figure out what happened.
Oh, my. I wasn't clearing the muck at the beginning of the hand. Fixed and deployed.
Additionally:
I've saved my text log of the hand to a local file. I should also be able to spelunk through the JSONB logs.