1 / 50
文档名称:

vc++网络五子棋论文.doc

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

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

分享

预览

vc++网络五子棋论文.doc

上传人:36296518 2014/5/17 文件大小:0 KB

下载得到文件列表

vc++网络五子棋论文.doc

文档介绍

文档介绍:毕业设计(论文)中文摘要
网络游戏开发
摘要:本课题旨在用VC++ 。作为客户端的玩家可以通过服务器端与其它玩家进行对战、聊天等功能。
本软件的开发和设计主要采用基于Windows的面向对象的开发工具Visual C++ ,再嵌入WinSock类,增加该设计对网络的支持。通过编程可实现在网络连接之后人与人在网上对战,以及观看电脑和电脑对战的演示功能。并且,也可以在游戏之后,保存棋局,在之后可以随时的打开以前的棋局,观看战局的情况。
程序经过测试后,可以良好运行,且界面清晰,功能全面,菜单能正确有效的表明其所能表达的功能,而程序内部使用了一个链表,使得每盘的棋谱都能够正确的保存,以方便将来战术的研究。该网络游戏可以集娱乐和益智于一体,随着网络的发展能够得到广泛的应用。
关键词:五子棋网络 VC++
毕业设计(论文)外文摘要
Development of work game
Abstract: This topic is for the purpose of with VC++ realizing based on the C/S pattern work to the fight game. Players as the client to be allowed to play game through the server with other to carry on fighting, chatting and so on.
This project is developed with Visual C++ , which is a developing tool. And use WinSock for work supporting, and supports this design to work. May realize through the programming after work connection, two players can play against each other on line. The purpose of this project is not only play puter, but also with your friends on line, and even a demo with puters. Besides we can save our chessboard after game for discussing, of course, at any time you want.
After the test, the system could work better. And the interface was cleared, the function prehended. The menu could express the function in a correct effective way. At the same time, the project used a linked-list to save the chessboard for your study tactics. work game may with entertainment and intelligence. With work development, the system can obtain the widespread application.
Keywords: Gobang; network; VC++ .
目录
1 引言 1
课题的研究意义和背景 1
研究的意义 1
研究背景 1
前期调研 2
课题简介与分析 3
课题简介 3
课题分析 3
开发途径和可行性分析 3
开发途径 3
可行性分析 3
传统五子棋软件与网络五子棋软件的异同 4
2 网络五子棋软件的系统需求分析与总体设计 5
系统需求分析 5
总体设计 5
总体设计结构图 5
接口设计 6
运行设计 6
安全保密设计 6
3 通信协议及编程语言的分析 6
TCP/IP参考模型 6
管套Socket与Winsock 7
网络游戏通信协议 8
游戏通信协议简介 8
协议打包/解包 8
通信协议的选择 9
编程语言的