Skip to content

向听数计算bug report #24

@Preserver6166

Description

@Preserver6166

依赖:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions