Open-source contributions

Toy projects

  • Push/fold heads-up Texas Hold'em solver

    A Nash equilibrium solver for the 2-player Push/Fold (all-in or fold preflop) subgame of Texas Hold'em, written in Rust and compiled to WebAssembly. The game is solved via CFR+, a counterfactual regret minimization algorithm variant with good empirical performance. Precomputed tables of equities and matchup probabilities enable fast solutions.

  • Push/fold three-way Texas Hold'em solver

    A CFR+ approximation of the 3-player Push/Fold subgame of Texas Hold'em, written in Rust and compiled to WebAssembly. With three players CFR carries no convergence guarantee to a Nash equilibrium, so the solver reports NashConv (the summed best-response gaps) instead: a small value still certifies the profile is hard to exploit.

©2026 Ran Liu