Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
Release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihisil committed May 22, 2022
1 parent 475da63 commit 2847132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def print_hand_result(hand_result):
####################################################################


tiles = TilesConverter.string_to_136_array(man='22244466677788')
tiles = TilesConverter.string_to_136_array(man='222244466677788')
win_tile = TilesConverter.string_to_136_array(man='7')[0]
melds = [
Meld(Meld.KAN, TilesConverter.string_to_136_array(man='2222'), False)
Expand All @@ -79,7 +79,7 @@ def print_hand_result(hand_result):
TilesConverter.string_to_136_array(man='1')[0],
]

config = HandConfig(is_riichi=True, options=OptionalRules(kazoe=HandConfig.KAZOE_SANBAIMAN))
config = HandConfig(is_riichi=True, options=OptionalRules(kazoe_limit=HandConfig.KAZOE_SANBAIMAN))
result = calculator.estimate_hand_value(tiles, win_tile, melds, dora_indicators, config)
print_hand_result(result)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"mahjong.hand_calculating.yaku_list",
"mahjong.hand_calculating.yaku_list.yakuman",
],
version="1.2.0.dev7",
version="1.2.0",
description="Mahjong hands calculation",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 2847132

Please sign in to comment.