Java五子棋游戏的设计与实现

技术:Java等
摘要:
随着IT技术的发展,许多游戏都被搬到了计算机里供大家玩。五子棋是一个在民间十分流行的棋类竞技游戏,为了熟悉五子棋规则及技巧,以及研究简单的人工智能,决定用Java开发五子棋游戏。主要完成了人机对战和玩家之间联网对战2个功能。在人机对弈中通过深度搜索和估值模块,来提高电脑棋手的智能。分析估值模块中的影响精准性的几个要素,以及提出若干提高精准性的办法,以及对它们搜索的节点数进行比较,在这些算法的基础上分析一些提高电脑AI方案,如递归算法、电脑学习等。算法的研究有助于理解程序结构,增强逻辑思维能力,在其他人工智能方面也有很大的参考作用。本文结合五子棋这个游戏的特点,将阐述五子棋算法设计,突出人工智能在博弈方面的应用,旨在试验人工智能里的一些搜索算法,最终确定人工智能在未来科学里的一些重要应用性。

关键词:深度搜索,电脑AI,五子棋,算法,人工智能

目录:
1 引言    1
1.1课题

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
基于JAVA五子棋游戏系统设计实现 专 业 电子信息工程 学 生 董永杰 指导老师 曾玉 摘 要 目前,随着计算机网络的的开展,以计算机技术和网络技术为核心的现代网络技术已经 在现实生活和消费中得到了广泛的使用,已经成为多数人群的休闲方式,也为多数人所 爱好。当然,为了满足没有网络同样能娱乐的要求,许多小游戏做成了单机和网络的双 功能。 本软件使用JAVA语户端之间的连接,利用多线程技术言实现,通过对图形界面,绘图, 布局管理器等去构造出游戏的单机功能,在此根底上,利用SCOKET的知识,建立起效劳 器与客来处理效劳器端与客户端之间的数据传输,通信问题,使得客户端和效劳器端之 间可以同步的进展处理。 通过对软件的编写,更深化的理解了面向对象的概念,也体会到利用面向对象语言处 理一些问题的优势。同时也加深了对多线程,流套接字等高级技术的理解。 关键词: 多线程;流套接字;数据传输;同步。 ABSTRACT At present, With the rapid development of computer network. Taking computer technology and the network technology as the core, modern network technology is already used in the real life and the production and already became the leisure mode of the most people. And most people like them. Of course, it's a pity that there still have some clients lacking of network because of various causes. In order to satisfy the above clients' requirements. A large number of games ,usually named as "small games〞 by players, are designed for involving two kinds of different function. The former game is often played by these players whose computers never connect with the network. It's called for stand-alone version games. Just as its name implies, the later is named as online version games This software implemented with JAVA language, and according to the understanding of SCOKET ,GUI and paint image ichnology. Established in these foundation , the server co ects with the multi- client, and transmission the information between many clients using the multi-thread proceeding technology. it is very convenient for both client and server to do the synchronous processing. Through to the software compilation, deepen understanding and grasp to the technology above understanding and holding. Key Words : multiple thread, Socket, transmission-data, synchronism. 目录 第一章 绪论 1 1.1开发背景 1 1.2课题意义 1 1.3五子棋游戏的开展与现状 2 1.4论文的组织构造 3 第二章 五子棋程序相关技术介绍 4 2.1软件的根本功能 4 2.2开发运行环境 4 2.3软件的开发手段以及工具的介绍 4 2.3.1 Java简介 4 2.3.2 MyEclipse10开发环境简介 7 2.4软件的实现目的 8 第三章 五子棋程序分析与设计 9 3.1用户需求分析 9 3.2软件功能构造图 9 3.3软件各个功能的简要说明 1

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值