1 / 61
文档名称:

毕业设计(论文)-C++网络棋牌游戏设计.doc

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

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

分享

预览

毕业设计(论文)-C++网络棋牌游戏设计.doc

上传人:3346389411 2013/1/28 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-C++网络棋牌游戏设计.doc

文档介绍

文档介绍:摘要
网络棋牌游戏,作为一个新生事物,从诞生到现在不过几年时间。随着互联网在我国的飞速发展,网络棋牌以其足不出户便能决胜于千里之外的独有魅力,早已将那些以往只能面对面博弈的棋友们,从棋桌上拉到了电脑屏幕前。这是世界棋牌运动的未来发展趋势[1]。
棋牌类游戏是网络游戏中非常流行的游戏种类,它简单易学、趣味性强,与其它大型网游相比,游戏设计和实现的难度相对较低[2]。本文首先将阐述网络棋牌游戏的背景和研究的意义,接着简单介绍基于VC++和开源的2D游戏引擎HGE设计的局域网对战“跑得快”游戏的一种实现方法。并介绍了套接字(SOCKET)的使用,多线程通信的实现,HGE引擎的简单使用以及HGE引擎中GUI(图形用户界面)的简单应用。该系统界面友好,功能实现起来容易,对编写棋牌游戏的入门有着很好的帮助。
关键词:套接字; VC++; HGE; 多线程
Abstract
Network card games, as a new thing, from the birth of a few years now, however. With the rapid development in China, work will be able to run-off Card in their homes thousands of miles away on the unique charm of the past, only those who already face-to-face friends chess game, chess table, pulled from puter screen. This Card is one of the world development trend of the future of that movement.
Card games are very popular online game types of games, it easy to learn, fun, pared with other large-scale online games, game design and realization of a relatively low degree of difficulty. This article will first set out the background of work board games and study the meaning, and then a brief introduction based on VC + + and open source 2D game engine design HGE LAN against "run fast," Method for the game. And introduced the Socket (SOCKET) the use of the realization of multi-munication, HGE engine and simple to use HGE engine GUI (graphical user interface) a simple application. The system is user-friendly, functional easy to achieve, to the preparation of board games have a very good entry help.
Keywords: Socket; VC++; HGE; multi-threaded
目录
摘要 I
Abstract II
1. 绪论 1
引言 1
网络棋牌游戏研究的发展及研究现状 1
研究的背景 2
研究的意义 2
研究内容和拟解决的关键问题 3
需求分析 3
2. 开发工具 5
Visual C++集成开发环境 5
5
Workspace 窗口 5
Haaf's Game Engine引擎 6
HGE引擎在vc++ 6
HGE引擎的初始化 8
3. 总体设计 10
系统概述 10
主要实现的功能 10
系统功能设计图 10
系统流程图 11
服务器端流程图 11
客户端流程图 12
4. 详细设计与实现 13
服务器端设计 13
服务器的创建 13
14
多线