On Sun, May 21, 2006 at 10:43:47PM -0300, Dinho Mania wrote: > I just downloaded pokersource and have begun looking through the code. I am > trying to create a web-based Poker Equity Calculator that allows for > comparison of hand distributions. If you have ever used PokerStove, you > know what I mean(88+ vs. AKs vs. A10-AQ). I essentially want to create a > version of PokerStove for more poker variants, like Omaha, etc. For now, my > questions are... > > Does any code in pokersource do this type loosely defined comparison? To me > it looks like the Eval functions only make single comparisons(8c8h vs > AdAh). Does that mean I have to enumerate all of the combinations?(seems > too costly). Are there any well known tricks for doing this?: > > Oh, and if someone has already created this application and can point it to > me, then great. Otherwise, I will go ahead and try to create something that > can be freely used among the poker community. I want to focus more on the > UI and frontend, so if someone want to work with me to get the back-end > evaluator working, that would be great to. My hope is that I can just plug > into something that is already in the pokersource tree, but I cannot find > exactly what I need.
I'm sure it has been done a hundred times, but it'd be a good introduction to pokersource. There's a funtion (Hand_EVAL_N in C) that tells you the score of each hand. Then all you have to do is create all possible hand combinations, or run sufficiently high number of simulations to determine the odds. Balazs _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
