maverick.enums.Rank#

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

Card rank enumeration.

Represents the ranks of cards in a standard deck, with numeric values for comparison purposes. Ace is high (14).

TWO#

Rank value 2.

Type:

int

THREE#

Rank value 3.

Type:

int

FOUR#

Rank value 4.

Type:

int

FIVE#

Rank value 5.

Type:

int

SIX#

Rank value 6.

Type:

int

SEVEN#

Rank value 7.

Type:

int

EIGHT#

Rank value 8.

Type:

int

NINE#

Rank value 9.

Type:

int

TEN#

Rank value 10.

Type:

int

JACK#

Rank value 11.

Type:

int

QUEEN#

Rank value 12.

Type:

int

KING#

Rank value 13.

Type:

int

ACE#

Rank value 14 (high ace).

Type:

int

__init__(*args, **kwds)#

Attributes