Skip to main content

Format

Cards are represented as two-character strings: rank + suit.

Ranks

Suits

Examples

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.