毕业论文-网络五子棋的设计与实现.doc
上传人:天马****23 上传时间:2024-09-12 格式:DOC 页数:50 大小:2.4MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

毕业论文-网络五子棋的设计与实现.doc

毕业论文-网络五子棋的设计与实现.doc

预览

免费试读已结束,剩余 40 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

网络五子棋游戏毕业论文PAGEIVPAGEV毕业论文网络五子棋的设计与实现摘要目前,随着计算机网络的的发展,PK已经成为现在人生活的一部分,人们以不同的方式通过网络来娱乐,休闲。以计算机技术和网络技术为核心的现代网络技术已经在现实生活和生产中得到了广泛的使用,休闲类网络游戏集趣味性,娱乐性,互动性和益智性于一体,已经成为多数人群的休闲方式,也为多数人所喜好。当然,为了满足没有网络同样能娱乐的要求,许多小游戏做成了单机和网络的双功能。本软件使用JAVA语言实现,通过对图形界面,绘图,布局管理器等去构造出游戏的单机功能,在此基础上,利用SCOKET的知识,建立起服务器与客户端之间的连接,利用多线程技术来处理服务器端与客户端之间的数据传输,通信问题,使得客户端和服务器端之间能够同步的进行处理。通过对软件的编写,更深入的理解了面向对象的概念,也体会到利用面向对象语言处理一些问题的优势。同时也加深了对多线程,流套接字等高级技术的理解。关键词:多线程流套接字数据传输同步AbstractAtpresent,Withtherapiddevelopmentofcomputernetwork.It’snotanexaggerationtosaythatPK(playerkiller)hasbecomeanecessityinmostpeople’slives.Takingcomputertechnologyandthenetworktechnologyasthecore,modernnetworktechnologyisalreadyusedinthereallifeandtheproduction.Theleisurenetworkgamesetsinterest,entertainment,interactionandintelligence-developmentinabody,andalreadybecametheleisuremodeofthemostpeople.Andmostpeoplelikethem.Ofcourse,,But,it’sapitythattherestillhavesomeclientslackingofnetworkbecauseofvariouscauses.Inordertosatisfytheaboveclients’requirements.Alargenumberofgames,usuallynamedas“smallgames”byplayers,aredesignedforinvolvingtwokindsofdifferentfunction.Theformergameisoftenplayedbytheseplayerswhosecomputersneverconnectwiththenetwork.It’scalledforstand-aloneversiongames.Justasitsnameimplies,thelaterisnamedasonlineversiongamesThissoftwareimplementedwithJAVAlanguage,andaccordingtotheunderstandingofSCOKET,GUIandpaintimagechnology.Establishedinthesefoundatio,theservercoectswiththemulti-client,andproceestheinformationbetweenmanyclientsusingthemulti-threadproceingtechnology.itisveryconvenientforbothclientandservertodothesynchronousprocessing.Throughtothesoftwarecompilation,deepenunderstandingandgratothetechnologyaboveunderstandingandholding..KeyWords:multiplethread,Socket,transmissiondata,synchronism.目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc200984019"摘要PAGEREF_Toc200984019\hIHYPERLINK\l"_Toc200984020"AbstractPAGEREF_Toc200984020\hIIHYPERLINK\l"_Toc200984021"第一章:绪论PAGE