Shuffles a fresh deck, deals hole cards to N simultaneous hands, and returns pre-flop win/draw odds for each hand.
This is the first call in a new game — it replaces the combined effect of:
HedgeEmUtility.f_shuffle_deck (5-pass Fisher-Yates shuffle)STATUS_START → STATUS_HOLE transition in f_change_table_game_stateOdds engine (tactical): Monte Carlo simulation via poker-odds-calculator
(100,000 iterations). The strategic replacement is the UMA C++ math engine
deployed as an HTTP microservice (HEDGE-43).
The hand with the highest winPercentage is marked IN_PLAY_FAVOURITE;
all others are IN_PLAY_BETTING_STAGE_ACTIVE.
The remainingDeck array contains the 44 undealt cards — these are the
pool from which the flop, turn, and river will be drawn.
Supabase Auth JWT. Obtain via Supabase Auth sign-in.
Number of simultaneous hole card hands to deal (2–6, default 4)
2 <= x <= 64
Shuffled hands and pre-flop odds
Dealt hole card pairs. Each string is two concatenated card codes,
e.g. "AcKd" = Ace of clubs + King of diamonds.
See Card Notation.
["AcKd", "QsJs", "8h7c", "5d2c"]Pre-flop odds for each hand. Same shape as the handOdds array in
HedgeEmGameState — the game client renders these directly as betting panels.
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.
["2c", "3d", "4h", "5s"]