MahjongRepository / mahjong

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

Fix for issue #7 #9

Closed Enerccio closed 5 years ago

Enerccio commented 5 years ago

Added a way to specify aka dora in tile converter + unit tests

Enerccio commented 5 years ago

added it behind has_aka_dora=True parameter to making old code behave exactly like it did (since new aka dora variant has to shift non aka 5s from first position forward)

Nihisil commented 5 years ago

Looks good! Thanks for the contribution

Nihisil commented 5 years ago

And I have released new version https://pypi.org/project/mahjong/1.1.6/ Thanks for your help!