Comments (4)
Hey @paulwalczewski and @Doaxan,
Yeah I must admit that the "unknown cards" feature was shoehorned in to the library after I had written most of it. It will perform the same number of iterations as if the cards are known, and just pick random cards for each iteration.
Fixing this properly (ie iterating through every possible hand) will require a big refactor of the logic. It's definitely possible, and I can look into it when I get some spare time.
from poker-odds.
Hi @Doaxan
Iterations seem to be limited by number of cards to be dealed:
For 3 cards (flop board) 1081 iterations will be performed,
For 4 (turn) - 46 interations
For 5 (river) - 1 iteration (always 100% or 0%..)
That doesn't seem to be affected by number of players at all.
So, if we have X people playing and we are on the river or turn (with unknown cards .... .... .... ).
it won't do proper simulations, hence it will give you wrong win/tie odds.
@cookpete, shouldn't it rather calculate against all possible players holdings, limited to "--Iterations" param?
Thanks.
from poker-odds.
It's worth noting that in it's current state, poker-odds
is still not far off the results from http://www.propokertools.com/simulations.
from poker-odds.
Hi @cookpete.
Yes, with flop stage it gives more or less acceptable results (gets bit worse with more players, couple % differences usually between simulations). But it gets pretty useless on turn or river :(
Whenever you get that spare time to look into it I would be really appreciated!
Thanks!
from poker-odds.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poker-odds.