Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
The lowest straight flush is A-2-3-4-5. Players usually consider the highest straight flush to be 9-10-J-Q-K, although technically, a royal flush is still a straight flush also – and is the highest.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A 2 3 4 5 Straight Poker Set
commented Sep 27, 2018
I work right now on a solution for my other problem and found this issue in your code too. Wright me if you want to see my solution. I can come with a full solution for the hand evaluator ;) |
commented Sep 28, 2018
I have corrected your code in kind of youre Style. |
2 3 Times 4 5
commented Mar 20, 2019
Hi, it would be very helpful, if you can share your solution. |
commented May 20, 2019
I fixed this on my branch if you're interested. The change is in hand_evaluator.py; Change the function __search_straight to: I just copied the A bit to the 1 bit, and adapted the for loop to start at 1. |