Skip to content

Conversation

@umbralOptimatum
Copy link

Fixed calculation for Flags.YOU_HAD_LIMIT_TENPAI and Flags.YOU_REACHED_YAKUMAN_TENPAI. Instead of checking to exclude dead waits as intended, they were excluding waits without visible tiles on the table. I've fixed this and made them properly count concealed tiles in hand and red fives.

I also replaced some calls to deprecated protobuf methods that the Python library no longer supports.

Flags.YOU_HAD_LIMIT_TENPAI and Flags.YOU_REACHED_YAKUMAN_TENPAI were supposed to check that their waits weren't dead. Instead they required that at least one tile from the wait was already visible on the board.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant