-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Molnar Zoltan wrote: > Hi Loic, > > I have tried to post to the pokereval mailing list once but my question didnt showed up, so I try to ask You a pokereval question directly, if You dont mind.
I cc the list since you tried to send this message to it, originaly. I hope you don't mind. > My name is Zoltan Molnar, I try to use poker eval in a texas holdem > poker game. > > So far so good using the library. > > What I try to do now, is that after the winning hand has been determined, to raise the cards that have contributed to the hand type (for example if it was a straight flush, to raise the five cards in the flush and lower the two remaining cards). > > Is there some way to use the pokereval lib to find out which are > the cards forming the hand type after the evaluation? > Could You pinpoint the API in the pokereval library that could be used for this sort of stuff? > > Or I have to write separate code to search for the cards that will form the hand determined by pokereval? > I assume you have some kind of user interface that displays the cards and a poker engine that tells you how the game goes. There is a good chance that the best place to implement what you want is in a library that lies between poker eval and the user interface. For instance, in the poker-engine python library that implements the poker rules, there is a function that lists the best cards of a hand, thus allowing a user interface to show them separately to the user. Does this make sense ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksJwHsACgkQ8dLMyEl6F20JqgCfbu07LVWZCv3cQvCM4fY1U63f Ld0AnjO/13GuiFibxo0a/EN7H9PXSQa7 =nIKT -----END PGP SIGNATURE-----
<<attachment: loic.vcf>>
_______________________________________________ Pokersource-users mailing list Pokersource-users@gna.org https://mail.gna.org/listinfo/pokersource-users