16 lines
557 B
Rust
16 lines
557 B
Rust
/// Strongest draw hero holds (only meaningful before the river). Ordered weakest first.
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
pub enum Draw {
|
|
None,
|
|
/// Backdoor flush or straight (needs turn and river).
|
|
Backdoor,
|
|
/// Inside straight draw (4 outs in a full deck).
|
|
Gutshot,
|
|
/// Open-ended straight draw or double gutshot (8 outs in a full deck).
|
|
OpenEnded,
|
|
/// Four to a flush with a hole card of that suit.
|
|
Flush,
|
|
/// Flush draw plus straight draw, or flush draw plus pair.
|
|
Combo,
|
|
}
|