1、 JavaGUI 实现五子棋游戏 -后台设计子系统 学 院: 专 业: 指导教师: 2014 年 9 月 软件工程 JavaGUI 实现五子棋游戏 摘 要 博弈论是二人在平等的对局中各自利用对方的策略变换自己的对抗策略, 达到取胜 的目的。博弈论最初主要研究象棋、桥牌、赌博中的胜负问题,人们对博弈局势的把握 只停留在经验上, 没有向理论化发展。 博弈论考虑游戏中的个体的预测行为和实际行为, 并研究它们的优化策略。 五子棋是一种两人对弈的纯策略型棋类游戏, 棋具与围棋通用, 是起源于中国古代的传统黑白棋种之一。棋子分为黑白两色,棋盘为 1515,棋子放 置于棋盘线交叉点上。Java 是一种可以撰
2、写跨平台应用软件的面向对象的程序设计语 言,图形用户界面(GUI)是指采用图形方式显示的计算机操作用户界面。与早期计算 机使用的命令行界面相比,图形界面对于用户来说在视觉上更易于接受。随着互联网的 发展,网上 PK 已经普遍,玩家可以不受地域的限制,自由的选择对手,通过 socket 实 现客户端和服务器的连接,通信。人工智能 AI 是研究、开发用于模拟、延伸和扩展人 的智能的理论、方法、技术及应用系统的一门新的技术科学。玩家可以和计算机进行对 决。计算机可以分析棋盘局势,给空位估值,找到最佳落棋点,如极大极小博弈树估值 搜索算法、阿尔法 贝塔剪枝算法和 Negascout 搜索算法。二十世纪
3、七十年代以来人工 智能被称为世界三大尖端技术之一。本课程的研究将会加深对人工智能的理解。 关键词关键词:博弈,GUI,五子棋,Socket,人工智能 JavaGUI Realized Gobang Game Abstract Game theory is the two on an equal game in their use of each others strategy to transform himself confrontation strategy to achieve victory purposes. Game theory first major study chess,
4、bridge, gambling in the outcome of the problem, people of game situation grasp only stay in terms of experience, failed to theory development. Game theory considering the games individual forecast behavior and actual behavior, and to study their optimization strategies. Backgammon is a two games of
5、pure strategy based board games, chess and Go GM, is originated in ancient Chinas traditional Othello one species. Pieces into black and white, the board of 15 15, pieces placed on the board line intersection. Java is a way to write cross-platform applications, object-oriented programming language,
6、graphical user interface (GUI) is a graphical display of the computer operating the user interface. With early computers using the command line interface as compared to the graphical interface for the user to visually easier to accept. With the development of the Internet, online PK has been generally, players can without geographical restrictions, freedom of choice opponents, through the socket to achieve client and server connections