- 1、本文档共24页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于JAVA的五子棋游戏设计
摘 要
五子棋作为一个棋类竞技运动,在民间十分流行,Java开发Socket编程应用,客户端和服务器端的交互用Class Message定义,有很好的可扩展性,客户端负责界面维护和收集用户输入的信息,及错误处理。服务器维护在线用户的基本信息和任意两个对战用户的棋盘信息,动态维护用户列表。在人机对弈中来提高电脑棋手的智能估值模块中的影响精准性的几个要素,以及提出若干提高精准性的办法,以及对它们搜索的节点数进行比较,在这些算法的基础上分析一些提高AI方案,如深度搜索估值AI;五子棋obang Java-based games design
Abstract
As a sport, gobang is very popular in civil, in order to become familiar with gobang rules and techniques, and the study of simple artificial intelligence, I decide to use the Java to develope gobang games and complete 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 the computer players through depth search and valuation module. Analyzes Module valuation of the precise elements, as well as a number of increased precision, and compares their search for nodes, which raises some computer 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 课题背景 1
1.2 本课题研究的意义 1
1.3 本课题的研究方法 2
2 课题相关基础 2
2.1 五子棋 2
2.1.1 棋盘和棋子 2
2.1.2 规则及解释 3
2.1.3 五子棋常用术语 4
2.1.4 五子棋攻防 7
3 Java 8
3.1 Java简介 8
3.2 Java开发环境 9
4 课题详细研究方法 10
4.1 程序结构说明 10
4.2 棋盘及棋子的类 11
4.2.1 棋盘 11
4.2.2 棋子 13
4.3 胜负判断条件 13
4.4 网络对战 15
4.5 电脑AI 17
结 论 21
参考文献 21
致 谢 22
声 明 23
引言
课题背景
五子棋是起源于中国古代的传统黑白棋种之一。现代五子棋日文称之为连珠,英译为Renju,英文称之为Gobang或FIR(Five in a Row
您可能关注的文档
- 毕业设计(论文):基于码盘转速测量系统的毕业设计.doc
- 毕业设计(论文):基于J2ME平台的手机游戏贪吃蛇程序的设计与实现.doc
- 毕业设计(论文):基于单片机的转速测量系统.doc
- 毕业设计(论文):遥控后盖注塑模的设计.doc
- 毕业设计(论文):基于51单片机的抢答器设计毕业论文.doc
- 毕业设计(论文):基于单片机室内防盗智能控制系统.doc
- 毕业设计(论文):基于896KB单片机的铅酸蓄电池智能充电系统的设计.doc
- 毕业设计(论文):基于89C51的单片机开发设计报告.doc
- 毕业设计(论文):基于JAVA的网上购物系统的实现.doc
- 毕业设计(论文):基于嵌入式操作系统VxWorks的多任务并发程序设计.doc
- 2024-2025学年安徽省亳州市涡阳县高二下学期2月开学考试政治试题(解析版).docx
- 2024-2025学年江西省赣州市上犹县高二下学期开学考试政治试题(解析版).docx
- 2024-2025学年山东省济宁市高二下学期开学考试政治试题(解析版).docx
- 2024-2025学年山西省卓越联盟高三下学期2月开学质量检测政治试题(解析版).docx
- 2024-2025学年新疆乌鲁木齐市高二下学期2月开学考试政治试题(解析版).docx
- 2024-2025学年新疆维吾尔自治区乌鲁木齐地区高三2月大联考文科综合政治试题(解析版).docx
- 2024-2025学年安徽省蚌埠市固镇县高一上学期1月期末考试政治试题 (解析版).docx
- 2024-2025学年江苏省扬州市高三上学期期末检测政治试卷(解析版).docx
- 2024-2025学年江西省吉安市高三上学期期末教学质量检测政治试题(解析版).docx
- 2024-2025学年山东省济宁市高二上学期1月期末考试政治试题(解析版).docx
文档评论(0)