[1]WANG Yajie,QIAO Jilin,LIANG Kai,et al.Research on mahjong game based on prior knowledge and Monte Carlo simulation[J].CAAI Transactions on Intelligent Systems,2022,17(1):69-78.[doi:10.11992/tis.20210730]
Copy
CAAI Transactions on Intelligent Systems[ISSN 1673-4785/CN 23-1538/TP] Volume:
17
Number of periods:
2022 1
Page number:
69-78
Column:
学术论文—机器学习
Public date:
2022-01-05
- Title:
-
Research on mahjong game based on prior knowledge and Monte Carlo simulation
- Author(s):
-
WANG Yajie1; QIAO Jilin2; LIANG Kai2; XIE Yanyan2
-
1. Engineering Training Center, Shenyang Aerospace University, Shenyang 110136, China;
2. School of Computer Science, Shenyang Aerospace University, Shenyang 110136, China
-
- Keywords:
-
mahjong; game; prior knowledge; Monte Carlo; opponent’s hand; simulation; win by discard; win rate
- CLC:
-
TP18
- DOI:
-
10.11992/tis.20210730
- Abstract:
-
In view of the difficulty in designing game algorithms based on supervised learning due to the shortage of a unified platform and a large amount of card score data for inland mahjong, ,this paper designs a series of game algorithms that combine rules, experience and the Monte Carlo method for inland mahjong game. Firstly, the fold priority, effective number of draws and the eating priority are proposed for the discard module, draw module, and card eating module of the mahjong game, respectively. The mahjong AI knowledge system is improved, and the basic game algorithm Fanfou_ba and the optimized game algorithm Fanfou_op are designed. Secondly, the game algorithm Fanfou_op is proposed that reduces the probability of firing a shot by using the Monte Carlo method to simulate the waiting opponent’s hand. Finally, comparative experiments are conducted on these three kinds of game algorithms. The experimental results show that compared with Fanfou_ba, the Fanfou_op algorithm improves the win rate by 9.76%, and that compared with the Fanfou_op algorithm, the Fanfou_mc algorithm enhances win rate by 0.13% and reduces the shot rate by 0.47%, which proves that the improvement strategy proposed is feasible and effective.