Hello, thanks for putting this together, I'm having lots fun playing with it!
I noticed an issue that I thought I should bring to your attention. It concerns the situation where a player has a 2nd chance and is resolving a 'flip3'.
From the rules: "Regardless of how many cards remain to flip, stop if the player can Flip 7 number cards, or the player busts."
If a player with a 2nd chance draws a duplicate card, they do not bust. So the expected behavior is to discard the 2nd chance and the drawn duplicate and continue flipping until 3 are flipped.
The behavior in this implementation is to stop flip3 as soon as the duplicate is drawn.
Right now it breaks the flip loop on any error, so I'd suggest conditionally breaking the loop instead.
Hello, thanks for putting this together, I'm having lots fun playing with it!
I noticed an issue that I thought I should bring to your attention. It concerns the situation where a player has a 2nd chance and is resolving a 'flip3'.
From the rules: "Regardless of how many cards remain to flip, stop if the player can Flip 7 number cards, or the player busts."
If a player with a 2nd chance draws a duplicate card, they do not bust. So the expected behavior is to discard the 2nd chance and the drawn duplicate and continue flipping until 3 are flipped.
The behavior in this implementation is to stop flip3 as soon as the duplicate is drawn.
Right now it breaks the flip loop on any error, so I'd suggest conditionally breaking the loop instead.