|
|
|
|
|
by johnfarrelldev
1126 days ago
|
|
I haven't completed or deployed it yet but I wrote a C# API to calculate your chance of winning a hand of poker based on all known cards at the table. All unknown cards are randomly assigned and it just loops a bunch, reasonably easy to implement and actually is reasonably fast. https://github.com/JohnFarrellDev/PokerMonteCarloAPI/ With the amount of possible outcomes Bayesian statistics just didn't seem reasonable to implement. Goes without saying this tool is still fairly basic, it shouldn't be used to inform how much to bet or when to fold as it doesn't take into account information such as how much your opponents are betting. |
|
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