MahjongRepository / mahjong

Implementation of riichi mahjong related stuff (hand cost, shanten, agari end, etc.)
MIT License
377 stars 38 forks source link

OptionalRules import error #12

Closed ting830812 closed 5 years ago

ting830812 commented 5 years ago

Hi,

Just let you know that when I use pip install mahjong, I will get version 1.1.6 which is not including OptionalRules in mahjong.hand_calculating.hand_config. Therefore, the example code of open set in readme.rst cannot be executed with options=OptionalRules(has_open_tanyao=True).

Thanks

Nihisil commented 5 years ago

Thank you for the report! I have released 1.1.7 with OptionalRules class.