PyPokerEngine icon indicating copy to clipboard operation
PyPokerEngine copied to clipboard

Hand_evaluator preventing emulator from working

Open dmkaner opened this issue 6 years ago • 0 comments

When using the emulator code given in the Readme and error is thrown in the hand_evaluator.py file being:

IndexError: list index out of range

with

hole_flg = ranks[1] << 4 | ranks[0]

It seems this is happening at the end of the emulator's job and the ranks list is empty. It is happening in both python 3.5 and python 2.7. Is the code given in the readme perhaps a little off and is using the emulator incorrectly or is the emulator not properly functioning?

Thanks!

dmkaner avatar Jun 30 '20 02:06 dmkaner