A New Approach to Compute Deficiency Number of Mahjong Configurations.

Qichao Wang,Yang Zhou,Dongyi Zhu,Yongming Li
DOI: https://doi.org/10.1016/j.entcom.2022.100509
IF: 2.072
2022-01-01
Entertainment Computing
Abstract:Mahjong is a traditional Chinese tile-based game with long history, and now it is world-widely played in many different countries. An important issue on Mahjong topic is how many tiles the player needs to change minimally for the winning, i.e., the so-called deficiency number, which plays a significant role in AI development for Mahjong game. However, deficiency number cannot be easily computed due to a large amount of possible combinations of tiles. In this work, we propose an efficient algorithmic approach to compute the deficiency number of the tiles in players' hands with the assistance of the programming language Python. In order to evaluate the performance of the approach, we established more than 1.2 million test cases for various deficiency numbers. Finally, the experimental results show the efficiency of our approach.
What problem does this paper attempt to address?