(毕业论文) 网络五子棋的设计与实现.doc
文本预览下载声明
毕业论文
网络五子棋的设计与实现
摘 要
目前,随着计算机网络的的发展,PK已经成为现在人生活的一部分,人们以不同的方式通过网络来娱乐,休闲。以计算机技术和网络技术为核心的现代网络技术已经在现实生活和生产中得到了广泛的使用,休闲类网络游戏集趣味性,娱乐性,互动性和益智性于一体,已经成为多数人群的休闲方式,也为多数人所喜好。当然,为了满足没有网络同样能娱乐的要求,许多小游戏做成了单机和网络的双功能。 本软件使用JAVA语言实现,通过对图形界面,绘图,布局管理器等去构造出游戏的单机功能,在此基础上,利用SCOKET的知识,建立起服务器与客户端之间的连接,利用多线程技术来处理服务器端与客户端之间的数据传输,通信问题,使得客户端和服务器端之间能够同步的进行处理。 通过对软件的编写,更深入的理解了面向对象的概念,也体会到利用面向对象语言处理一些问题的优势。同时也加深了对多线程,流套接字等高级技术的理解。
关键词: 多线程 流套接字 数据传输 同步
Abstract
At present, With the rapid development of computer network. It’s not an exaggeration to say that PK(player killer) has become a necessity in most people’s lives.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. And most people like them. Of course, ,But, 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 gamesThis software implemented with JAVA language, and according to the understanding of SCOKET ,GUI and paint image chnology. Established in these foundatio , the server co ects with the multi- client, and proce es the information between many clients using the multi-thread proceing technology. it is very convenient for both client and server to do the synchronous processing.Through to the software compilation, deepen understanding and gra to the technology above understanding and holding..
Key Words:multiple thread, Socket, transmission data, synchron
显示全部