1、 摘 要 程序使用面向对象的 QT 库的 C+语言,开发于可以同时运行于 Linux 和 Windows 环境下的游戏程序。有双人对弈,人机对弈,无限悔棋等功能,其中人 机对弈包含难度选择和先后手选择。 论文首先指出了黑白棋游戏、Linux 桌面环境、QT 开发环境的发展现状, 然后重点介绍了 QT 开发工具的使用、黑白棋的常见战术、黑白棋程序的界面设 计、规则设计、算法设计(包含搜索算法、局面估值、- 减枝、散列表、MTD 等当今主流算法) 、终局搜索、以及作为一款游戏的其他必须功能,最后介绍了 Linux桌面环境 GUI 的发展趋势。 设计通过一个棋类游戏的开发,阐述了棋类游戏的开发过程,
2、包括软件开发 的逻辑分析,程序设计,软件实现和软件测试几个步骤。 关键词关键词:黑白棋;Linux;人工智能;QT 毕业设计(论文) ABSTRACT ABSTRACT This programmer used QT Object-Oriented Database C+ language, develops the game which can be run on Linux and Windows environments. has doubles plays , man-machine plays, retract a false move in a chess game boundle
3、ssly waiting for a function. Single mode contains degree of difficulty choosing and choosing successively personally. The thesis has pointed out first the Othello, the Linux desktop environment, the development status of QT develop. Then, focuses on the use of QT development tools, Othello common ta
4、ctical, Othello program interface design, design of rules, algorithm design (including search algorithms, the valuation of the situation, - by sticks, Hash table, MTD algorithm, such as todays mainstream), final search, and as well as other games functions. Finally, introduce the GUI desktop environment for Linux development trends. This design through the development of a chess game, described the development of chess games, including logic analyzer of software develo