Varantha / Mahjong-ScoringTrainer

8 stars 1 forks source link

North seat wind not counted in yaku/han total #34

Closed John-Johns0n closed 1 year ago

John-Johns0n commented 1 year ago

Describe the bug The han count given by the app is incorrect: one of the two yakuhai sets in the hand (presumably north jikaze) is not counted

Expected behaviour Han total should be four (4), and not three (3)

Hand ID 2011010102gm-00b9-0000-45ccb2622

Screenshots The incorrect hand in the trainer, and the same hand in a known scoring calculator

Varantha commented 1 year ago

Hey, Thanks for logging this. I've removed this hand along with a few others. I've written a bit of code to test the hands against a Mahjong calculator so I'm hoping that should catch most of these :)