card_string

The definition of a card.

card

The definition of a card.

Type: string

Format: Rank followed by suit.

Rank Options:

  • "A": Ace

  • "K": King

  • "Q": Queen

  • "J": Jack

  • "T": Ten

  • "9": Nine

  • "8": Eight

  • ...

  • "2": Two

Suit Options:

  • "h": Hearts

  • "s": Spades

  • "d": Diamonds

  • "c": Clubs

Example:

Ace of spades

"As"

Last updated