Skip to content

Hand_evaluator preventing emulator from working #75

@dmkaner

Description

@dmkaner

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions