Releases: MahjongRepository/mahjong
Releases · MahjongRepository/mahjong
v1.2.1
Features
- Adjust warning configs. Thanks @0num4 for contribution in PR #46
Chores
- Fix type in the test name. Thanks @kianmeng for contribution in PR #45
- Remove Python 3.6 support
- Move wiki files to md files for easier diffs
v1.2.0
This release contains many improvements and bug fixes. The new version was tested over millions of real hanchans and many bugs were fixed.
Incompatibility highlight:
- Python 2 support was dropped
- Changes in interfaces, please refer
doc/example.py
for usage examples. For example now all four tiles should be in hand tiles when you have kan melds.
v1.1.11
- Speed up performance a bit
- Add support for Python 3.9
v1.1.10
- Add japanese yaku names
- Fix an issue with not correct ryuuiisou detection
- Allow to print aka dora in
TilesConverter.to_one_line_string()
method ("0" symbol)
- Add support for Python 3.8
v1.1.9
- Add
TilesConverter.one_line_string_to_136_array()
and TilesConverter.one_line_string_to_34_array()
methods
v1.1.8
- Fix an issue with incorrect daburu chuuren poutou calculations
- Allow passing '0' as a red five to tiles converter
v1.1.7
- Introduce OptionalRules hand configuration
v1.1.6
- Fix a bug when hatsu yaku was added to the hand instead of chun
- Fix a bug where kokushi wasn't combined with tenhou/renhou/chihou
- Add English names to all yaku
- Add support of python 2.7
- Add a way to pass aka dora to tile converter
v1.1.5
- Allow to disable chiitoitsu or kokushi in shanten calculator
v1.1.4
Add is_terminal() and is_dora_indicator_for_terminal() functions to the utils.py