如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
华北电力大学科技学院本科毕业设计(论文)PAGEII下载本文档后可以百度发信联系我,赠送系统源码中国象棋网上对弈系统摘要随着信息技术的发展,人民生活水平的不断提高。联网游戏作为一种娱乐手段,正以其独特的魅力吸引着越来越多的玩家。为了满足广大象棋爱好者也可以享受到网络所带来的便利,本设计在当前局域网条件下实现了中国象棋的网络对战。鉴于局域网的特点和游戏本身的要求,本设计采用两层C/S架构来实现相互之间的通信。它主要包含以下几大模块:网络通信模块,图像绘制模块和规则设置模块。网络通信模块使得玩家可以方便的迅速建立起网络连接,从而实现联机对弈和聊天功能;图像绘制模块实现棋盘更新以及棋子动态表示等功能;规则设置模块用于约束玩家的棋步。电脑游戏是计算机应用领域的一个重要主题,而当前网上最热门的休闲对战类游戏当属棋牌游戏。通过对象棋的数据结构,相关算法与网络联机,以及对网络对战平台系统的分析,设计成一套基于VC++平台的棋牌类对战系统。关键词:网络通信;联机对弈;图像绘制;消息响应CHINESECHESSONLINEGAMESYSTEMAbstractWiththedevelopmentofinformationtechnology,peoplesstandardoflivinghaveimprovedconstantly.On-linegameasameansofentertainmenthasauniquecharmtoattractmoreandmoreplayers.Tomeetchesslovers,thisdesignhasrealizedtheChallengesofChinese-chessbetweenplayersunderthecurrentLANenvironment.Inviewofthecharacteristicsoflocalareanetworksandtherequirementsofthegameitself,thedesignusesatwo-tierC/Sstructuretoachievemutualcommunication.Itcontainsthefollowingmajormodules:thenetworkcommunicationmodule,imagerenderingmoduleandtherulessetupmodule.NetworkCommunicationModuleallowsgamerscanquicklysetupaconvenientnetworkconnectioninordertoachieveanonlinegameandchatfunction;imagerenderingmoduletoupdatetheboardaswellasfunctionalpieces,suchasthedynamicthat;rulesbindingsettingsmoduleforstep-by-stepplayer'sgame.Computergamesisthefieldofcomputerapplicationsasanimportantsubject,andpresentthemostpopularcasualonlinegameswaramongboardgames.Bythedatastructure,algorithmsandnetworkonline,aswellasthenetworkplatformforsystematicanalysisofthewar,designedasetofVC++platformbasedonthecategoryCardbattlesystem.Keywords:NetworkCommunication;Onlinegame;ImageRendering;MessageResponse华北电力大学科技学院本科毕业设计(论文)目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc233469875"摘要PAGEREF_Toc233469875\hIHYPERLINK\l"_Toc233469876"AbstractPAGEREF_Toc233469876\hIIHYPERLINK\l"_Toc233469877"1绪论PAGEREF_Toc233469877\h3HYPERLINK\l"_Toc233469878"1.1课题背景PAGEREF_Toc233469878\h3HYPERLINK\l"_Toc233469879"1.2课题发展概况PAGEREF_Toc233469