- 1、本文档共29页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业论文—基于java的网络版五子棋游戏的设计和实现
摘 要
目前,随着计算机网络的发展,以计算机技术和网络技术为核心的现代网络技术已经在现实生活和生产中得到了广泛的使用,休闲类网络游戏集趣味性,娱乐性,互动性和益智性于一体,已经成为多数人群的休闲方式,也为多数人所喜好。
本设计收集了关于JAVA基础的书籍,着重收录了关于SOCKET编程的内容,找到了五子棋概述和规则的资料,查阅了网络通信技术的相关论文,同时也参考了很多关于五子棋实现的程序资料以及关于JAVA开发工具的介绍的文档。在期间,作者学习了多线程技术、数据传输技术、SOCKET编程技术,研究了网络通信原理、JAVA编写原理等一系列的原理。开发了五子棋网络对战的代码,实现了网络聊天、联机对战、网络通信、界面组织如:棋盘、建立服务器、连接到服务器等功能。通过对以上技术的学习和研究,利用SOCKET编程,能服务器与客户端之间的连接,利用多线程技术完成了服务器端与客户端之间的数据传输、网络通信,使得两个客户端能够同步的进行处理。
关键词: JAVA 多线程 SOCKET 五子棋
Abstract
At present , with the development of computer networks , computer and network technology as the core of modern network technology has been widely used in real life and production, the casual game set interesting , entertaining, interactive and puzzle in one, has become the majority population of leisure, but also for the majority of people have preferences.??? The design of the collection of books on the JAVA -based , focusing on the collection of content SOCKET programming , found the data overview and backgammon rules , access to the network communication technology related papers also refer to a lot of information on backgammon program implementation as well as on document describes the JAVA development tools . In the meantime, I learned the multi-threading technology, data transmission technology , SOCKET programming technique to study the principle of network communication , JAVA write a series of principles such as the principle . Developed backgammon online play code implements online chat , online gaming, network communications, interface organizations such as : the board , establish a server , connect to the server and other functions. Through the above technical study and research , the use SOCKET programming, connections between the server and client can use multi-threading technology to complete the data transfer between the client and the server , and network communication , so that both the client can synchronize for processing.
Keywords: JAVA multithreading SOCKET Goban
文档评论(0)