Skip to main content
POST
Deal hands

Authorizations

Authorization
string
header
required

Supabase Auth JWT. Obtain via Supabase Auth sign-in.

Body

application/json
numberOfHands
integer
default:4

Number of simultaneous hole card hands to deal (2–6, default 4)

Required range: 2 <= x <= 6
Example:

4

Response

Shuffled hands and pre-flop odds

hands
string[]

Dealt hole card pairs. Each string is two concatenated card codes, e.g. "AcKd" = Ace of clubs + King of diamonds. See Card Notation.

Example:
handOdds
object[]

Pre-flop odds for each hand. Same shape as the handOdds array in HedgeEmGameState — the game client renders these directly as betting panels.

remainingDeck
string[]

The 44 cards not yet in play. The flop (3 cards), turn (1), and river (1) will be drawn from this pool when the game advances.

Example: