A 2 3 4 5 Straight Poker

Posted on  by 

Join GitHub today

  1. A 2 3 4 5 Straight Poker Set
  2. 2 3 Times 4 5
  3. Playing 2 5 Poker
  4. 1 3 A 5 4

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.

A 2 3 4 5 straight poker downloadSign up New issue

Have 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.
For cleanliness I also reduced the size of the for loop to what is necessary (from 14 to 11) and changed the value of the rank to what it is conventionally named in poker (as the top card).

A 2 3 4 5 Straight Poker

Playing 2 5 Poker

A 2 3 4 5 Straight Poker

1 3 A 5 4

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Coments are closed