maverick.enums.HandType#

class maverick.enums.HandType(*values)[source]#

Poker hand type enumeration.

Represents the different types of poker hands, from weakest to strongest.

HIGH_CARD#

Highest card wins, no pairs or better.

Type:

str

PAIR#

Two cards of the same rank.

Type:

str

TWO_PAIR#

Two different pairs.

Type:

str

THREE_OF_A_KIND#

Three cards of the same rank.

Type:

str

STRAIGHT#

Five cards in sequence, not all the same suit.

Type:

str

FLUSH#

Five cards of the same suit, not in sequence.

Type:

str

FULL_HOUSE#

Three of a kind plus a pair.

Type:

str

FOUR_OF_A_KIND#

Four cards of the same rank.

Type:

str

STRAIGHT_FLUSH#

Five cards in sequence, all of the same suit.

Type:

str

ROYAL_FLUSH#

Ace, King, Queen, Jack, Ten, all of the same suit (best hand).

Type:

str

__init__(*args, **kwds)#

Attributes