Jimboom7 / AlphaJong

A Mahjong AI for Mahjong Soul
GNU General Public License v3.0
395 stars 56 forks source link

Kita call destroys a tenpai hand. #64

Closed cbrt729 closed 2 years ago

cbrt729 commented 2 years ago

The log is below. I used a manually built user-script from the call-improvements branch.

##### OWN TURN #####
Debug String: 9m|33p233556s22447z6s|||||2z|6z|0,0,0|3|2|52
Right Player Tenpai Chance: 0.1%, Expected Hand Value: 3027
Left Player Tenpai Chance: 0.1%, Expected Hand Value: 2018
Strategy: Chiitoitsu
##### OWN TURN #####
Debug String: 9m|33p2335566s2247z4p|||||2z|6z|0,0,0|3|2|51
Right Player Tenpai Chance: 0.1%, Expected Hand Value: 3355
Left Player Tenpai Chance: 0.1%, Expected Hand Value: 2236
Strategy: Chiitoitsu
##### OWN TURN #####
Debug String: 9m|334p2335566s2271z|||||2z|6z|0,0,0|3|2|50
Right Player Tenpai Chance: 0.1%, Expected Hand Value: 3718
Left Player Tenpai Chance: 0.1%, Expected Hand Value: 2479
Strategy: Chiitoitsu
Would fold this hand above 176.40 danger for 4p discard.
Tile Priorities:
Overall: Value Open: <1000> Closed Value: <4800> Riichi Value: <8100> Shanten: <1>
🀜: 4p: Priority: <249.108> Efficiency: <0.103> Yaku Open: <0.000> Yaku Closed: <2.000> Dora: <2.000> Waits: <0.000> Danger: <0.00>
🀑: 2s: Priority: <248.494> Efficiency: <0.103> Yaku Open: <0.000> Yaku Closed: <2.000> Dora: <2.000> Waits: <0.000> Danger: <0.00>
🀄: 7z: Priority: <247.620> Efficiency: <0.102> Yaku Open: <0.000> Yaku Closed: <2.000> Dora: <2.000> Waits: <0.000> Danger: <0.00>
Discard: 4p
Jimboom7 commented 2 years ago

Is there a general strategy when it is better to keep the north tiles in the hand instead of calling kita? Sorry, I don't know much about 3 player mahjong.

cbrt729 commented 2 years ago

If the north tiles form a triple or pair and the first hand is close to tenpai, not calling kita would be considered. At least with the double riichi hand as above, it seems to be a better choice to keep them.