What is this? I have 4 snakes and 4 bricks.
This is an interesting, and understandably a bit frustrating, consequence of the way I have coded the game to interpret straights. I will expand.
My code for determining the best hand takes the rules of poker seriously. Starting with these axioms:
- A 2 3 4 5 is a five high straight, therefore K A 2 3 4 is a four high straight
- We should always use the highest straight possible, since in a poker game you would always want to play your strongest hand
- A straight is a straight. There is no differentiation between a straight of one length over another
So in your situation, the game sees that you have two straight flushes, <A 2> (a Two high straight flush) and <A> (a Ace high straight flush) and picks the better of the two for your hand.
This can be mitigated with the Cat's Eye bauble, which allows all placed cards to be considered part of the played hand.