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

向听数计算的一些问题 #30

Open
zyr17 opened this issue Apr 11, 2022 · 1 comment
Open

向听数计算的一些问题 #30

zyr17 opened this issue Apr 11, 2022 · 1 comment

Comments

@zyr17
Copy link
Contributor

zyr17 commented Apr 11, 2022

在测试向听数计算的时候,我发现部分向听数计算可能不正确,例子是245568m245568p77s。normal_round_to_win算得的向和数为4,实际上为2向听。

查看代码后发现,在计算每个花色的搭子和面子时,由于万饼都是0面3搭或1面0搭,默认都选择了0面3搭最后搭子超载导致多算了一个向听。这里可能需要针对情况枚举或者搜索一下选择哪种。因为不清楚syanten.dat中这两组数字是怎么算出来的所以不太清楚应该怎么改。。

@Agony5757
Copy link
Owner

我帮你问问这个模块的作者。如果有问题应该也是syanten.dat里面的问题,可能不用动代码。

这一块不是我做的,暂时还不确定是哪里的问题

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