endplay.types.card

Classes:

Card([name, suit, rank])

Immutabale class representing a card with suit and rank read-only attributes

class endplay.types.card.Card(name: Optional[str] = None, *, suit: Optional[Denom] = None, rank: Optional[Rank] = None)

Bases: object

Immutabale class representing a card with suit and rank read-only attributes

Variables:
  • suit (Denom) – The suit of the card

  • rank (Rank) – The rank of the card

Attributes:

rank

suit

rank: Rank
suit: Denom