-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andre Allavena wrote: > Hello, > > I was playing around with the poker-eval library, and I was trying > to evaluate probabilities without knowing my opponents cards. > > Later, I'd like to interface from some ruby code, but for now, I > was happy to just play around from the command line. > > I've tried the pokenum script with various options for the wild > cards (somewhere, the python code mentions 255 or __ as a wild > card, but it does not seem to work). > > > ./pokenum Ah Kh - __ __ -- As Ks Qs > > is rejected. > > > I've also tried the following: #!/usr/bin/env python > > import pokereval as PokerEval > > def main(): print """Trying the poker eval thing""" y = > PokerEval.PokerEval() r= y.poker_eval(game = "holdem", pockets = > [["Ac", "As"],['__','__' ]], board = ['2s', '4h', '6d']) print r > main() > > > The results are not what I'm expecting. The first player is given a > 100% probability of winnings. That's not right. > > > Thanks for the help. > > André > Hi,
You will find examples in the test.py file in pypoker-eval. Some lines do what you want. Indeed, the C version does not implement the desired feature, it was added to the python wrapping. Enjoy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIP8qJ8dLMyEl6F20RAioZAKC4Tw4bAFenHZQBaF7lIeqfHQ+QrgCfduO9 AmhPZamwz0F5uG8Qb0PkVM8= =G876 -----END PGP SIGNATURE-----
begin:vcard fn:Loic Dachary n:Dachary;Loic org:pokersource adr:;;12 bd Magenta;Paris;;75010;France email;internet:[EMAIL PROTECTED] title:Senior Developer tel;work:+33 9 51 18 43 38 tel;fax:+33 1 70 61 58 79 x-mozilla-html:FALSE url:http://dachary.org/ version:2.1 end:vcard
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
