Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tile indices for man and sou are wrong #7

Open
Bevinsky opened this issue Oct 4, 2021 · 1 comment
Open

Tile indices for man and sou are wrong #7

Bevinsky opened this issue Oct 4, 2021 · 1 comment

Comments

@Bevinsky
Copy link

Bevinsky commented Oct 4, 2021

The tile indices for man tiles and sou tiles are swapped and do not match those contained in Tenhou logs. Here is an example agari of a round with an All Green (ryuuiisou) yakuman:

{'type': 'RON', 'player': 0, 'hand': ['6m0', '6m3', '8m0', '8m2', '8m3', 'gd0', 'gd2', 'gd3'], 'fu': 40, 'points': 32000, 'limit': 'yakuman', 'dora': ['2p1'], 'machi': [' 6m3'], 'melds': [{'fromPlayer': 1, 'called': 2, 'type': 'pon', 'tiles': ['4m0', '4m2', '4m3']}, {'fromPlayer': 1, 'called': 0, 'type': 'pon', 'tiles': ['3m0', '3m1', '3m3 ']}], 'closed': False, 'fromPlayer': 3, 'yakuman': ['ryuuiisou']}

Note that the hand contains man tiles and not sou tiles. This is impossible.

@ChitoKim
Copy link

yeah i guess it would work properly if you swap the suit indices for man and sou. the numbers look like a fine all green hand

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

No branches or pull requests

2 participants