Skip to content

Conversation

@Apricot-S
Copy link
Collaborator

player_wind and round_wind may be None.

valued_tiles = [HAKU, HATSU, CHUN, config.player_wind, config.round_wind]
win_groups = HandCalculator._find_win_groups(win_tile, hand, opened_melds)
for win_group in win_groups:
cost = None
error = None
hand_yaku = []
han = 0
fu_details, fu = FuCalculator.calculate_fu(hand, win_tile, win_group, config, valued_tiles, melds)

@Apricot-S Apricot-S requested a review from Nihisil January 25, 2026 09:33
@Apricot-S Apricot-S added the bug label Jan 25, 2026
@Apricot-S Apricot-S self-assigned this Jan 25, 2026
@Nihisil Nihisil merged commit 4c1dc0d into MahjongRepository:master Jan 26, 2026
10 checks passed
@Apricot-S Apricot-S deleted the fix/args-type branch January 26, 2026 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants