Generate bulk game data
Generates N complete pre-calculated game states — each containing all 4 stages (HOLE, FLOP, TURN, RIVER) with odds already computed for every hand.
This is the REST replacement for the legacy C# SOAP method
f_get_bulk_gamestate_list (hedgeem_asp_webservice). The JS client’s static
coreData[] and three_handed_game_data[] arrays in coredata.js were
originally generated by that SOAP endpoint — this endpoint replaces it.
Pipeline per game (mirrors HedgeEmTable.f_shuffle_deal_and_calculate_odds):
- Shuffle deck and deal hole cards + board cards
- Calculate pre-flop odds (Monte Carlo)
- Calculate flop odds (Monte Carlo)
- Calculate turn odds (Monte Carlo)
- Deterministic river evaluation
- Apply house margin chain to each stage
- Determine status flags (winner, favourite, cant-lose, best-rtp)
- Populate best-five-cards and hand descriptions (flop onwards)
Limits: numberOfGames is capped at 200 per request.
For 50 games of 3 hands the response is ~300 KB.
Authorizations
Supabase Auth JWT. Obtain via Supabase Auth sign-in.
Body
How many games to generate (1–200, default 50)
1 <= x <= 20010
Hands per game — 3 or 4 (default 3)
3, 4 3
House RTP target — must be > 0 and < 1 exclusive (default 0.97)
0 < x < 10.97
Response
Pre-calculated game states
Pre-calculated game states, one per requested game
Actual count of games returned
10
Hands per game (echoed from request)
3
RTP used for house margin calculations (echoed from request)
0.97
ISO 8601 timestamp of when this batch was generated
"2026-03-24T12:00:00.000Z"