Daniel gave me a good idea for how to implement this: since the need is so specific, just special-case it in the straight-finding function. (Probably a good idea to write a poker-specific wrapper for that and then have best_straights call it.) If there's an ace present, check for 2-low straights and combine it with them.
Daniel gave me a good idea for how to implement this: since the need is so specific, just special-case it in the straight-finding function. (Probably a good idea to write a poker-specific wrapper for that and then have best_straights call it.) If there's an ace present, check for 2-low straights and combine it with them.