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

向听数计算bug report #24

Open
Preserver6166 opened this issue Mar 25, 2024 · 0 comments
Open

向听数计算bug report #24

Preserver6166 opened this issue Mar 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Preserver6166
Copy link

依赖:

io.github.ssttkkl
mahjong-utils-jvm
0.6.5

调用:
List tiles = Tile.Companion.parseTiles("1z1z1z2z2z2z3z3z3z4z4z4z4z"); // 13张牌
ShantenResult rs = ShantenKt.shanten(tiles);
System.out.println(rs.getShantenInfo().getShantenNum());

输出结果为0(听牌),但正确结果应该为1(一向听)
如果输入为"1z1z1z2z2z2z3z3z3z3z4z4z4z4z"(14张牌),输出结果也是0,但正确结果应该为1

@ssttkkl ssttkkl added the bug Something isn't working label May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants