A game-theory solver for six-handed Pot-Limit Omaha
A Rust solver and study app for 6-max PLO, built milestone by milestone, from an exact rules engine to a library of exactly solved flops that grows in the background.
- Exact library flops
- Over 2,100 since 15 Nov
- Roadmap
- M1-M15 done, M16-M17 under way
- Preflop hand classes
- 16,432
- Library spots
- 83
- Rust
- TypeScript
- React
- Python
Pot-Limit Omaha deals four hole cards instead of hold’em’s two, so the game is far larger: there are 16,432 strategically different starting hands. This project is a 6-max PLO analysis platform, built toward a mathematically sound game-theoretic solver with a modern study interface.
What it does so far #
- Foundation (M1-M2). An exact rules engine, a table-driven Omaha hand evaluator, exact and Monte Carlo equity, and the solver: vector-form CFR (counterfactual regret minimisation), CFR+ and Discounted CFR with exact card removal, validated on Kuhn poker and Leduc hold’em, where the answers are known. Each solve reports its exploitability: how much a perfect opponent could win against it.
- Postflop (M3-M4, M7-M8). Exact heads-up turns, node locking (fixing one player’s play at chosen spots), off-tree bet sizes, abstracted heads-up flops measured in the real game, and multiway river and turn spots.
- Preflop (M5-M6, M14). Blueprints by Monte Carlo CFR over whole hands, covering all 16,432 preflop hand classes: heads-up, a six-handed blueprint on a restricted tree, and tables of three to five players.
- Hand-history analysis (M7, M9, M14). PokerStars-style hand histories import into the app. A file of up to 5,000 hands is checked against the blueprints preflop, and every flop the hero played can be solved in a batch, with the EV given up at each decision.
- Tournaments (M12-M13). The big-blind ante, exact ICM (the Independent Chip Model, which turns chip stacks into prize equity), per-seat stacks, and blueprints and solves with ICM payoffs.
- A pre-solved library (M10-M15). 83 standard spots, from heads-up and 6-max cash to tournament bubbles and final tables, each solved on a set of representative flops. Library flops are solved exactly (the full game, every turn and river card) to within 0.5% of the pot, and stored at the flop level: about 0.2 MB instead of 500 MB. Any turn you pick is solved again exactly in seconds.
- Speed and scale (M16-M17). Exact solves are 1.33 times faster after the evaluator work, and Discounted CFR with restarts needs 12-20% fewer iterations to reach 0.5% of the pot. Regrets and strategy sums are now stored in 16 bits, which halves the RAM a deep heads-up flop needs, from 4.66 GB to 2.33 GB, with the same convergence. A background builder adds exact flops one at a time, pausing whenever I solve something myself: over 2,100 since 15 November.
- A second bet menu (M17). A 33% flop bet beside the pot-sized one. All of the first 20 flops checked reached 0.5% of the pot, and the small bet was worth 0.15% (heads-up) to 0.38% (6-max) of the pot to the raiser on average.
How it’s built #
A Rust workspace of nine crates, from cards, pot-limit rules and equity through game trees, the CFR and Monte Carlo CFR solvers and a compact solution store, to a command-line tool and a local HTTP server. The server’s JSON API drives a React and TypeScript study interface. An independent Python reference implementation supplies test vectors. Every milestone ends with a report of what was built, measured and tested, and what is still missing.
Honest limits #
- With three or more players, CFR carries no Nash guarantee, so multiway results are labelled that way. The distance from equilibrium (NashConv) is measured exactly for two or three players with modest ranges on the river and turn, but not on multiway flops, which bucket later streets.
- Blueprints are approximations of an abstracted game. Their exploitability in the real game can’t be measured here.
- Exact library flops use the blueprint’s ranges, sampled to 1,000 hands per side, and turns and rivers keep a single pot-sized bet. Two sizes there would need 5-12 GB per flop, more than the laptop spares.
- Each spot covers 30 or 100 representative flops, weighted by the share of all 22,100 flops each stands for. There are 1,755 strategically different flops, so coverage is the largest gap.
Next #
Let the builder finish rolling out the second bet menu, then compare the main lines’ 30 flops the same way. A third flop size (33%, 66% or pot) follows if those flops support it.