研究生: |
黃宥誠 Huang, Yu-Cheng |
---|---|
論文名稱: |
運用牌張間的關聯設計麻將程式 Using the Correlation Between Tiles to Design Mahjong Program |
指導教授: |
林順喜
Lin, Shun-Shii |
口試委員: |
吳毅成
Wu, I-Chen 顏士淨 Yen, Shi-Jim 陳志昌 Chen, Jr-Chang 周信宏 Chou, Hsin-Hung 林順喜 Lin, Shun-Shii |
口試日期: | 2023/07/20 |
學位類別: |
碩士 Master |
系所名稱: |
資訊工程學系 Department of Computer Science and Information Engineering |
論文出版年: | 2023 |
畢業學年度: | 111 |
語文別: | 中文 |
論文頁數: | 48 |
中文關鍵詞: | 不完全資訊遊戲 、麻將 、規則導向 |
英文關鍵詞: | Imperfect Information Games, Mahjong, Rule-based |
DOI URL: | http://doi.org/10.6345/NTNU202301490 |
論文種類: | 學術論文 |
相關次數: | 點閱:163 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
麻將是一個多人且不完全資訊的機率型對局遊戲。隨著時間的推移,在不同的地區發展出許多不同的遊玩規則,本篇論文以臺灣麻將做為研究主題。
本研究在分析手牌完成度時,以遞迴的方式把手牌中能成組的所有組合方式拆分出來,並且改進"A New Approach to Compute Deficiency Number of Mahjong Configurations"一文中的方法,提出一個能同時考慮序數牌與字牌且能快速計算臺灣十六張麻將手牌進胡數的方法。
本研究在捨牌的策略為進行手牌拆分後,檢視所有擁有最低進胡數的拆法,並將手牌分類為孤張、未完成組與完成組,接著評估所有孤張、未完成組、完成組之間的關聯,針對不同的情況,選擇捨棄孤張或是拆掉能擁有最多進張牌的搭子。關於防守的策略,參考「利用他家資訊模組來改良麻將程式」一文中的做法,我們提出分別針對刻子與順子做非需求度的計算,並提出潛在需求牌的想法。
Mahjong is a probability game with multi-player and incomplete information. With the passage of time, it has developed various rules and regulations in different countries. In this study we will focus on Taiwan Mahjong.
We use the recursive method to split a handcard into all possible combinations and use the result to analyze the completeness of the handcard. By improving the deficiency calculating algorithm proposed in "A New Approach to Compute Deficiency Number of Mahjong Configurations", we introduce a new method which can deal with the suits tiles as well as the honors tiles at the same time.
After splitting the handcard, we classify our handcard into isolated tiles, pseudo-melds and melds on the basis of the splitting result with the lowest deficiency number. We evaluate the correlation between isolated tiles, pseudo-melds and melds. According to different situation, we choose to discard a tile which belongs to isolated tiles or a tile which belongs to pseudo-melds that has maximum possibility to form melds. Referring to the idea proposed in "Using Other Players’ Information Models to Improve Mahjong Program", we propose a method to evaluate the defense weights for the triplet tiles and sequence tiles. With the information of discarded tiles from other players, we propose an approach to find out the potential demand tiles for each player.
S. Li, X. Yan, Let’s Play Mahjong, arXiv: 1903.03294v1, 2019.
X. Yan, Y. Li, S. Li, A Fast Algorithm for Computing the Deficiency Number of a Mahjong Hand, arXiv: 2108.06832, 2021.
Q. Wang, Y. Zhou, D. Zhu, Y. Li, A New Approach to Compute Deficiency Number of Mahjong Configurations, Entertainment Computing, Vol. 43, 100509, ISSN 1875-9521, 2022.
林猷琛,利用他家資訊模組來改良麻將程式,國立臺灣師範大學資工所碩士論文,2020。
林宗翰,利用棄牌資訊強化策略改良麻將程式,國立臺灣師範大學資工所碩士論文,2021。
陳均泓,利用強化特定牌型得分方法改良麻將程式,國立臺灣師範大學資工所碩士論文,2022。
J.-C. Chen, S.-C. Tang, I-C. Wu, Monte-Carlo Simulation for Mahjong, Journal of Information Science and Engineering, Vol. 38, No. 4, pp. 775-790, 2022.
莊立楷,麻將人工智慧之研究,國立交通大學資訊科學與工程研究所碩士論文,2015。
葉政翰,電腦麻將程式FatesGate的設計與實作,國立臺北大學資訊工程所碩士論文,2022。