下载此文档

毕业设计(论文)-基于JAVA的五子棋游戏设计.doc


文档分类:IT计算机 | 页数:约24页 举报非法文档有奖
1/24
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/24 下载此文档
文档列表 文档介绍
基于JAVA的五子棋游戏设计
摘要
五子棋作为一个棋类竞技运动,在民间十分流行,为了熟悉五子棋规则及技巧,以及研究简单的人工智能,决定用Java开发五子棋游戏。主要完成了人机对战和玩家之间联网对战2个功能。网络连接部分为Socket编程应用,客户端和服务器端的交互用Class Message定义,有很好的可扩展性,客户端负责界面维护和收集用户输入的信息,及错误处理。服务器维护在线用户的基本信息和任意两个对战用户的棋盘信息,动态维护用户列表。在人机对弈中通过深度搜索和估值模块,来提高电脑棋手的智能。分析估值模块中的影响精准性的几个要素,以及提出若干提高精准性的办法,以及对它们搜索的节点数进行比较,在这些算法的基础上分析一些提高电脑AI方案,如递归算法、电脑学****等。算法的研究有助于理解程序结构,增强逻辑思维能力,在其他人工智能方面也有很大的参考作用。
关键词:深度搜索;估值;电脑AI;五子棋;算法
Gobang Java-based games design
Abstract
As a sport, gobang is very popular in civil, in order to e familiar with gobang rules and techniques, and the study of simple artificial intelligence, I decide to use the Java to develope gobang games plete the two functions including man-machine war and man-man war. Network Connection is Socket Programming for some applications, client and server interaction is definited by Class Message, which is a very good scalability, Client interface is responsible for the collection and maintenance of user input information, and error handling. Server users maintain online basic information and arbitrary two-time users of the chessboard of information, dynamic maintenance user list. During the man-machine players, it improves intelligence of puter players through depth search and valuation module. Analyzes Module valuation of the precise elements, as well as a number of increased precision, pares their search for nodes, which raises puter AI programs on the basis of analysis, such as recursive algorithm, computer learning. Algorithm of procedures contribute to the understanding of the structure, logical thinking ability, In other areas of artificial intelligence has great references.
.
Key words: Search depth; Valuation; Computer AI; Gobang ; Algorithm
目录
论文总页数:23页
1 引言 1
课题背景 1
本课题研究的意义 1
本课题的研究方法 2
2 课题相关基础 2
五子棋 2
棋盘和棋子 2
规则及解释 3
五子棋常用术语 4
五子棋攻防 7
3 JAVA 8
Java简介 8
Java开发环境 9
4 课题详细研究方法 10
程序结构说明 10
棋盘及棋子的类 11
棋盘 11
棋子 13
胜负判断条件 13

毕业设计(论文)-基于JAVA的五子棋游戏设计 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数24
  • 收藏数0 收藏
  • 顶次数0
  • 上传人3346389411
  • 文件大小0 KB
  • 时间2012-07-29
最近更新