Rasmus Suonio

A No-Limit Hold’em solver, from heads-up flops to tournament push/fold

A Rust solver and browser study app for No-Limit Hold’em, for two to ten players, that labels how each answer was computed and how far it is from equilibrium.

Building Since Nov 2026
Players per table
2 to 10
Roadmap
Phase 5 of 7 done
Automated tests
249, all passing
Push/fold vs a dealt simulation
Within 0.0062 bb a hand
  • Rust
  • TypeScript
  • React
  • Python

No-Limit Hold’em is the poker most people know: two hole cards each, five shared cards and bets of any size. This project is a solver and study app for it, built for real table set-ups (two to ten players, any stacks, blinds, antes, straddles, rake and tournament payouts) and built to say plainly how good each answer is. It is a companion to my Pot-Limit Omaha solver.

What it does so far #

The roadmap has seven phases, and five are done.

  1. Core engine. Cards, ranges, four hand evaluators and a no-limit rules engine with side pots, straddles and tiered rake. The evaluators agree on all 133,784,560 seven-card hands, and every test run plays 40,000 random hands against an independent settlement check.
  2. Solver. CFR (counterfactual regret minimisation: the strategy plays against itself many times and shifts towards the moves it regrets not making), in its Discounted, CFR+ and Linear forms. It reproduces the known values of two toy poker games and measures exploitability exactly: how much a perfect opponent could win against the strategy, as a share of the pot.
  3. Browser app. A local server and a React interface with range, board and bet-size editors, a convergence chart and a strategy explorer. The acceptance test was a 3-bet-pot flop of 2.26 million nodes, solved from the browser to 0.498% of the pot, then explored, saved and reopened.
  4. Advanced solving. Node locking (fixing one player’s play at chosen spots and solving the rest against it), exploit reports, preflop all-in charts, three-way turn and river solves, bucketed three-way flops and whole-hand preflop blueprints for two to six players. Its heads-up push/fold charts match a published chart on 162 values to within 0.10 big blinds.
  5. Tournaments. ICM (the Independent Chip Model, which turns chip stacks into shares of the prize pool), bubble factors, presets for sit & go, final-table, satellite and Spin formats, a labelled bounty model, and push/fold solves for a whole table of two to ten players.

Checking the answers #

Every fast path has a slow reference it is tested against, and the reference is checked against an independent Python implementation. ICM equities match 62 reference cases to within one part in a hundred billion.

Push/fold at a full table was checked against a simulation that deals every hand from one deck. Every player’s value is now within 0.0062 big blinds a hand of the dealt game, on 4 to 10 million simulated hands per table. The first version was off by up to 0.038 big blinds, because it ignored that folded hands are weaker than random.

Every result also says how it was computed. Heads-up solves report exploitability. With three or more players an equilibrium guarantees nothing, so those results report NashConv (the total that all players could gain by switching to their best responses) under a “multiway CFR approximation” label. Blueprints are marked as approximations of a simplified game, with no exploitability figure. Nothing is called GTO (game-theory optimal) unless the method supports it.

Limits #

  • Three-way flops are still rough. Their measured NashConv is about 10% of the pot on a small study flop after 37,632 sampled runouts.
  • Push/fold allows at most three players all in, and folded cards are not yet removed from the deck for the board. That leaves the blinds about 0.005 big blinds a hand off at six to ten players.
  • ICM looks at one hand at a time and covers push/fold only. The raise trees and the postflop solver still count chips.
  • Saved full flops are big: 816 MB for one single-raised-pot flop. Timings come from a busy machine and are pessimistic.

How it’s built #

A Rust workspace of 11 crates, from cards and rules through the solvers to a command-line tool and a local HTTP server. The only outside Rust dependencies are serde, serde_json and rayon. The browser app is React and TypeScript. All randomness flows from explicit seeds, so results do not depend on thread scheduling, and 249 automated tests pass.

Next on the roadmap: hand-history import and review, and special games such as bomb pots, double-board pots and the 7-2 game.