-
在测试向听数计算的时候,我发现部分向听数计算可能不正确,例子是245568m245568p77s。`normal_round_to_win`算得的向和数为4,实际上为2向听。
查看代码后发现,在计算每个花色的搭子和面子时,由于万饼都是0面3搭或1面0搭,默认都选择了0面3搭最后搭子超载导致多算了一个向听。这里可能需要针对情况枚举或者搜索一下选择哪种。因为不清楚`syanten.dat`中这两…
zyr17 updated
2 years ago
-
Hi, I'm the developer of [Mortal](https://github.com/Equim-chan/Mortal), an open source mahjong AI. I've been looking for a way to properly integrate mahjong-cpp into Mortal because, for a long time, …
-
When I give the same hand in https://pystyle.info/apps/mahjong-nanikiru-simulator and the C++ code, there're slight differences in win prob, tenpai probs, and expected value, which I think the result …
-
input: `6777888p2367s11z`
got result: `3向聴`
should be: `1向聴`
in this case, draw 1/4/5/8s then discard 6p gets a Ready Hand/ richii.
-
i create a folder named build/ in mahjong-cpp/src/sample
and i entered build/ using cmake ..
error as followed
```shell
/mahjong-cpp/src/mahjong/types/hand.hpp:12:10: fatal error: 'mahjong/bitutil…
KyL0N updated
2 years ago