You have to use "__", for unknown cards:
>>> from pokereval import PokerEval
>>> pe =PokerEval ()
>>> pe.poker_eval(game='holdem', pockets=[ ["Ah", "Ad"], ["Kh", "Ks"] ],
>>> board=["__", "__", "__", "__", "__"] )
{'info': (1712304, 0, 1), 'eval': [{'scoop': 1399204, 'ev': 819, 'tiehi': 7923,
'loselo': 0, 'winlo': 0, 'tielo': 0, 'losehi': 305177, 'winhi': 1399204},
{'scoop': 305177, 'ev': 180, 'tiehi': 7923, 'loselo': 0, 'winlo': 0, 'tielo':
0, 'losehi': 1399204, 'winhi': 305177}]}
--
poker_eval does not evaluate any iterations
https://bugs.launchpad.net/bugs/508585
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs