Skip to main content

Format

Cards are represented as two-character strings: rank + suit.
AcKd  =  Ace of Clubs, King of Diamonds
QsJh  =  Queen of Spades, Jack of Hearts

Ranks

CharacterRank
AAce
KKing
QQueen
JJack
TTen
92Nine through Two

Suits

CharacterSuit
sSpades ♠
hHearts ♥
dDiamonds ♦
cClubs ♣

Examples

StringCard
AsAce of Spades
KhKing of Hearts
TdTen of Diamonds
2cTwo of Clubs

Hands and community cards

  • Hole hands: Two-card strings concatenated — e.g. "AcKd" (Ace of Clubs + King of Diamonds)
  • Community cards: Each card is a separate field (flopCard1, flopCard2, etc.)

In the game client

The game client (Phaser 3) maps card strings to card assets using the convention: {rank}{suit}.png — e.g. Ac.png, Kd.png. Asset filenames use lowercase suit: s, h, d, c.