eclipse java_网络五子棋设计.doc

  1. 1、本文档共34页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
eclipse java_网络五子棋设计

2010届本科毕业设计 设计题目:网络五子棋设计 学生姓名: 导师姓名: 所在院系: 信息工程学院 所学专业: 计算机科学与技术 完成时间: 2010-05-25 摘 要 目前,随着计算机网络的发展,以计算机技术和网络技术为核心的现代网络技术已经在现实生活和生产中得到了广泛的使用,休闲类网络游戏集趣味性,娱乐性,互动性和益智性于一体,已经成为多数人群的休闲方式,也为多数人所喜好。 本软件使用JAVA语言实现,通过对图形界面,绘图,布局管理器等去构造出五子棋游戏的单机功能,在此基础上,利用SOCKET编程,建立起服务器与客户端之间的连接,利用多线程技术来处理服务器端与客户端之间的数据传输、网络通信,使得客户端和服务器端之间能够同步的进行处理。在网络对战中实现了以下功能:建立游戏、邀请游戏、加入游戏、退出游戏、悔棋。另外,本软件还实现了网络聊天的功能,玩家加入游戏后可以和其他玩家进行对话。在加载图片以及绘制棋盘方面,采用双缓冲技术消除屏幕的闪烁现象。 在人机对弈中通过遍历搜索和估值模块,来提高电脑棋手的智能。算法的研究有助于理解程序结构,增强逻辑思维能力,在其他人工智能方面也有很大的参考作用。 关键词: JAVA Network Game --- Gobang Abstract At present, With the 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. The leisure network game sets interest, entertainment, interaction and intelligence-development in a body, and already became the leisure mode of the most people. The software uses the JAVA language, through a graphical interface, graphics, layout managers, etc. to construct a single function of the game, on this basis, using SOCKET, build server and client connection between the use of multiple threads technology to handle data transfer and network communication between server-side and client-side, making processing between client and server-side can be synchronized. The network battle has following function: create game、invite game、join the game、quit game、regret the chess. On the other hand, the software also has the function of net-chatting, once a player joined the game, he can chatting with others. In the loading picture and the drawing board, use the double-buffering technology to eliminate screen flicker. During the man-machine players, it improves intelligence of the computer players through Traverse the search and valuation module. Algorithm of procedures contribute to the understanding of the structure, logical thinking ability, In other areas of artificial intelligence has great r

您可能关注的文档

文档评论(0)

pangzilva + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档