poker
PokerMonteCarloAPI
poker | PokerMonteCarloAPI | |
---|---|---|
2 | 1 | |
5 | 1 | |
- | - | |
0.0 | 5.1 | |
over 2 years ago | about 1 year ago | |
Haskell | C# | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
poker
-
The Law of Large Numbers, or Why It Is a Bad Idea to Go to the Casino
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
-
Looking for review: base Poker library
The reason for excluding a 7-card evaluator is threefold - I have no imminent need for it (yet), I want to do so but haven't done it, and I'm hoping to accommodate ghais' work here: https://github.com/ghais/poker. I'm not sure whether he's active though, since it's been a couple of weeks since I posted an issue. If you have work you'd like to include please ping me, or we can discuss what architectural work would be required. I do, however, think that a 7-card evaluator might be best kept as a separate package. One reason is because the naming for an evaluator might heavily conflict with other applications. On the other hand, it would be easier to maintain in a single library - I'm very open to the discussion.
PokerMonteCarloAPI
-
The Law of Large Numbers, or Why It Is a Bad Idea to Go to the Casino
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.
What are some alternatives?
TexasSolver - 🚀 A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
openmc - OpenMC Monte Carlo Code
pytudes - Python programs, usually short, of considerable difficulty, to perfect particular skills.