Hacker News new | past | comments | ask | show | jobs | submit login

I wrote a Haskell version that includes two components:

A very efficient function to rank a set of Texas Hold’em hands.

A Monte Carlo situation that gives you the probability of winning each hand from any known amount of information.

It is available here: https://github.com/ghais/poker




Not sure if you guys are aware but there are solvers existing (most of which are proprietary) that actually give optimal strategies with every possible hands given a betting pattern. They are used extensively as study tools by professional players.


Can you link to some projects? Ideally also Haskell or also functional?


I use GTO+ which is proprietary.

I just tried this one which works like a charm (just run the exe from the zip in github releases ; even comes pre-loaded with a wide amount of preflop ranges, which seem to come from a previous solve) : https://github.com/bupticybee/TexasSolver

Searching with "poker solver haskell" only seem to show very immature projects.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: