1 / 27
文档名称:

VC 中国象棋网上对弈系统毕业设计(含源文件).doc

格式:doc   大小:680KB   页数:27页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

VC 中国象棋网上对弈系统毕业设计(含源文件).doc

上传人:phl19870121 2017/7/24 文件大小:680 KB

下载得到文件列表

VC 中国象棋网上对弈系统毕业设计(含源文件).doc

相关文档

文档介绍

文档介绍:中国象棋网上对弈系统
摘要
随着信息技术的发展,人民生活水平的不断提高。联网游戏作为一种娱乐手段,正以其独特的魅力吸引着越来越多的玩家。为了满足广大象棋爱好者也可以享受到网络所带来的便利,本设计在当前局域网条件下实现了中国象棋的网络对战。
鉴于局域网的特点和游戏本身的要求,本设计采用两层C/S架构来实现相互之间的通信。它主要包含以下几大模块:网络通信模块,图像绘制模块和规则设置模块。网络通信模块使得玩家可以方便的迅速建立起网络连接,从而实现联机对弈和聊天功能;图像绘制模块实现棋盘更新以及棋子动态表示等功能;规则设置模块用于约束玩家的棋步。
电脑游戏是计算机应用领域的一个重要主题,而当前网上最热门的休闲对战类游戏当属棋牌游戏。通过对象棋的数据结构,相关算法与网络联机,以及对网络对战平台系统的分析,设计成一套基于VC++平台的棋牌类对战系统。
关键词:网络通信;联机对弈;图像绘制;消息响应
CHINESE CHESS ONLINE GAME SYSTEM
Abstract
With the development of information technology, peoples standard of living have improved constantly. On-line game as a means of entertainment has a unique charm to attract more and more players. To meet chess lovers ,this design has realized the Challenges of Chinese-chess between players under the current LAN environment.
In view of the characteristics of local works and the requirements of the game itself, the design uses a two-tier C/S structure to achieve munication. It contains the following major modules: munication module, image rendering module and the rules set up module. munication Module allows gamers can quickly set up a work connection in order to achieve an online game and chat function; image rendering module to update the board as well as functional pieces, such as the dynamic that; rules binding settings module for step-by-step player's game.
Computer games is the field puter applications as an important subject, and present the most popular casual online games war among board games. By the data structure, algorithms work online, as well as work platform for systematic analysis of the war, designed a set of VC + + platform based on the category Card battle system.
Keywords: munication; Online game; Image Rendering; Message Response
目录
摘要 I
Abstract II
1绪论 3
3
3
4
2系统介绍 5
5
系统构成 5
5
点对点通信 5
TCP/IP协议 6
UPD基础 7
7
8
3设计与实现 9
9
9
10
11
12
1