You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Omaha Hold'em, four hole card are dealt for players and five cards are dealt on the board.
It's evaluated the best five-cards made from three of five cards on the board and two of four hole cards.
I'm also willing to contribute and send PR.
But, what is the best interface for that?
There are some choices.
Let's say AhAsKhKs in hole cards and QhJhTh9h8h on the board.
Omaha would be a welcome addition for sure. My first thought would be to make it a ranker param.
let whole_hand = Hand::new_from_str("AhKhQhJhThQhJhTh9h8h").unwrap();
let rank = whole_hand.rank_omaha().unwrap();
Something like that. Hand is right now just a collection of cards that can be put together and ranked. Omaha has different requirements about what the possible combinations are.
I request the ranking an Omaha hands.
In Omaha Hold'em, four hole card are dealt for players and five cards are dealt on the board.
It's evaluated the best five-cards made from three of five cards on the board and two of four hole cards.
I'm also willing to contribute and send PR.
But, what is the best interface for that?
There are some choices.
Let's say AhAsKhKs in hole cards and QhJhTh9h8h on the board.
Example 1.
Example 2.
Example 3.
The text was updated successfully, but these errors were encountered: