簡易檢索 / 詳目顯示

研究生: 吳俊緯
Wu, Chun-Wei
論文名稱: 電腦麻將程式MahJongDaXia的設計與實作
The Design and Implementation of Mahjong Program MahJongDaXia
指導教授: 林順喜
Lin, Shun-Shii
學位類別: 碩士
Master
系所名稱: 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2016
畢業學年度: 104
語文別: 中文
論文頁數: 63
中文關鍵詞: 電腦對局麻將機率
英文關鍵詞: artificial intelligence, mahjong, imperfect information game
DOI URL: https://doi.org/10.6345/NTNU202203589
論文種類: 學術論文
相關次數: 點閱:130下載:27
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 電腦麻將程式MahJongDaXia的設計與實作

    吳俊緯

    在人工智慧的電腦對局領域中,麻將是一個相當特別的項目,由於多玩家、不完全資訊及機率性三個要素使得其他項目的搜尋演算法在麻將中變得難以實現,也因為其困難與價值,使得國內外有許多優秀的人才投入這個領域。
    在本論文所研發的程式MahJongDaXia,用純規則導向的架構與純機率性的審局方式達到所期望「正確的捨牌」。在文中將探討過去各電腦麻將程式的架構及應用技術,並詳述MahJongDaXia的程式結構,所採用的7個規則來做為決策函式的核心,說明這些規則對於特殊牌型的處理,關於開發過程對於使用的結構的改進原因及優劣。MahJongDaXia為一個從無到有的電腦麻將程式,開發實踐尚短,也在TAAI 2015、TCGA 2016與ICGA2016競爭中取得銀牌,未來會以程式完善為目標改進。

    The Design and Implementation of Mahjong Program MahJongDaXia

    by

    Chun-Wei Wu

    In the field of artificial intelligence in computer game programming, Mahjong is a very special item. Due to three factors: the multiplayer, incomplete information, and probabilistic outcomes, the conventional search algorithms used in other items become impractical in Mahjong. But also because of its difficulty and value, there are a lot of researchers promoting this area in recent years.
    In this thesis, we introduce our program MahJongDaXia that uses the rule-oriented approach and the probability computation to achieve the desired "correct choice". We investigate the structures and technologies of previous MahJong programs and MahJongDaXia in detail. We describe the 7 rules that are used by MahJongDaXia to be the core of its decision functions, how to process the special card patterns by rules, and the pros and cons of these technologies used in different versions of our program. Although it does not have very long development time, it stood out from competitions in TAAI 2015, TCGA 2016, and ICGA 2016 and got the silver medals. We will be continuing to improve the program in the future.

    摘 要 i ABSTRACT ii 致謝 iii 目錄 iv 第一章 緒論 1 1.1研究背景 1 1.2研究目的 3 1.3論文架構 8 第二章 台灣麻將 9 2.1台灣麻將簡介 9 2.2比賽規則簡介 12 2.3相關文獻探討 13 2.4電腦麻將程式設計方向 17 第三章 程式實作 19 3.1標記 21 3.2拆分 24 3.3牌型物件 30 3.4整合 33 3.5機率 36 3.6比較 39 3.7吃碰槓策略 46 第四章 實驗與成果 49 第五章 結論與展望 53 附錄 56 參考文獻 63

    [1] 林典餘,麻將人工智慧之研究。2008,國立交通大學研究所碩士論文。
    [2] 沈庭瑋,電腦麻將程式TaKe的設計與實作,2014,國立臺灣師範大學資工所碩士論文。
    [3] 陳新颺,電腦麻將程式ThousandWind的設計與實作,2013,國立臺灣師範大學資工所碩士論文。
    [4] 郭桐甫,電腦台灣麻將程式設計與實作,2016,第六屆電腦對局研討會。
    [5] 莊凱閔、陳玥汝,電腦麻將演算法及相關議題之研究,2007,第十二屆人工智慧與應用研討會。
    [6] 莊立愷,唐士傑,麻將人工智慧之研究,2015,第二十屆人工智慧與應用研討會
    [7] 曾海洋,蒙地卡羅麻將程式設計與實作,2015,第五屆電腦對局研討會。
    [8] Wan Jing Loh, AI Mahjong, 2009. http://cs229.stanford.edu/proj2009/Loh.pdf

    下載圖示
    QR CODE