Skip to main content

Card & notation reference

Card notation

Cards are represented as 2-character strings: rank then suit. This is the same encoding used by research bots (ACPC, Slumbot).

PartValues
rank2 3 4 5 6 7 8 9 T J Q K A
suits spades · h hearts · d diamonds · c clubs

Examples: As = ace of spades, Td = ten of diamonds, 9c = nine of clubs, Kh = king of hearts.

Board length by street

The board field in an ActionRequest always has a length that matches the current street:

StreetBoard length
preflop0
flop3
turn4
river5

Street enum

The street field is one of four string values:

preflop | flop | turn | river

Streets progress in this order within a hand. A new hand always starts at preflop.