簡易檢索 / 詳目顯示

研究生: 白聖群
論文名稱: 八層三角殺棋的勝負問題之研究
On the Study of 8 Layer Triangular Nim
指導教授: 林順喜
Lin, Shun-Shii
學位類別: 碩士
Master
系所名稱: 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2009
畢業學年度: 97
語文別: 中文
論文頁數: 73
中文關鍵詞: 人工智慧三角殺棋
英文關鍵詞: artificial intelligence, Triangular Nim
論文種類: 學術論文
相關次數: 點閱:128下載:14
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 電腦棋類遊戲在人工智慧領域中是很重要的。而三角殺棋部份,自從許舜欽教授在1985年研究出七層三角殺棋結果後。三角殺棋更多層數的結果,就沒有任何相關文獻了。
      在本論文中,我們使用CPU為AMD Athlon64 X2 4000+ 2.1GHz,記憶體為8G Byte的個人電腦,花費約十四個小時半的時間,證明了兩種規則的八層三角殺棋皆為先手勝。
      我們除了找到八層三角殺棋的結果,也提出了一些解三角殺棋勝負時,可以加快搜尋勝負速度的方法。雖然研究過程中花費許多時間在倒推法上,但我們也研究出來所有先前求出的盤面是可以運用到之後要求解的三角殺棋。並且提出了一個管理記憶體的方式,使得在求解三角殺棋的過程中,盤面資訊狀態可以儲存,這樣就可以利用較少量記憶體來解八層三角殺棋,而不必動用到虛擬記憶體。

    Computer chess games are very important in the field of artificial intelligence. There is no research results on Triangular Nim in higher dimensions Since Professor Shun-Chin Hsu solved 7 layer triangular Nim in 1985.
    In this thesis, a personal computer equipped with AMD Athlon64 X2 4000+ 2.1GHz CPU and 8 GBytes RAM is utilized to conduct our experiments. Thus, it spends 14.5 hours and gets the results that two kinds of 8 layer Triangular Nim are a first-player win.
    In addition, we find some skills for improving the performance of our programs. We can save the sub-problem results and reuse these results for solving Triangular Nim in higher dimensions. A memory management scheme is also proposed to reduce the memory requirements which can avoid the virtual memory swapping.

    第一章 諸論 1 第一節 前言 1 第二節 研究動機 3 第三節 論文架構 4 第二章 相關文獻及基礎理論 5 第一節 相關研究成果 5 第二節 Game Tree 直接展開 7 第三節 倒推法 8 第四節 可行著手集合的產生 11 第三章 如何解八層三角殺棋? 15 第一節 Divide-and-Conquer 15 第二節 搜尋必勝著手 20 第三節 壓縮盤面狀態資料結構 31 第四節 改進倒推法的記憶體管理 35 第五節 倒推法的修改 39 第四章 其它改進策略 41 第一節 尋找所有必勝可行著手 41 第二節 刪除不需要的記憶體區塊 44 第三節 三角殺棋盤面編碼的改進 45 第四節 子盤面的重複利用 47 第五章 結論與未來研究方向 50 第一節 結論 50 第二節 未來研究方向 51 附錄A 程式原始碼 52 附錄B 八層三角殺棋可行著手編碼表 61 參考著作 66

    [1] Charles L. Bouton,“Nim, A Game with a Complete Mathematical Theory",The Annals of Mathematics, 2nd Ser., Vol. 3, No. 1/4. (1901 - 1902), pp. 35-39.
    [2]“Wikipedia",網址:http://en.wikipedia.org/wiki/Nim
    [3] Alan Tucker,“Applied Combinatorics",John Wiley & Sons; 3rd edition,June 1994.
    [4] 群想網路科技,“CYC遊戲大聯盟",網址;http://cyc165.cycgame.com/cyc/cgi-bin/manual.php?i=manG&game=Nim
    [5] 白啟光,“數學嘉年華之數學遊戲" Nim,網址;http://xserve.math.nctu.edu.tw/people/cpai/carnival/game/202.htm
    [6] 許舜欽,“三角殺棋的電腦解法及其實現”,電腦季刊,第16 卷,第4 期,pp.15-23, Dec. 1982.
    [7] 許舜欽,“利用電腦探討七層三角殺棋的勝負問題”,Proc. of 1985 NCS,pp. 798-802,Dec. 1985.
    [8] 巫光楨,“尤怪之家之三角棋解析",網址;http://home.educities.edu.tw/oddest/math222.htm
    [9] 謝曜安,“電腦暗棋之設計及實作”,國立臺灣師範大學資訊工程研究所碩士論文,2008。
    [10] 方裕欽,“UCT算法的適用性及改進策略研究-以黑白棋為例”,國立臺灣師範大學資訊工程研究所碩士論文,2008。

    下載圖示
    QR CODE