- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
该设计资料为经过指导导师审核并通过答辩,确保了内容准确、结构清晰。
毕业设计(论文)中文摘要
网络游戏开发
摘 要:本旨在用VC++实现一个基于C/S模式的五子棋网络对战游戏。作为客户端玩家通过服务器端与其它玩家进行对战聊天等功能。基于W的面向对象的开发工具VC++ 6.0进行编程,再嵌入WinSock类,增加该设计对网络的支持。在网络连接之后人与人在网上对战,以及观看电脑和电脑对战的演示功能。并且,也可以在游戏之后,保存棋局,在之后可以随时的打开以前的棋局,观看战局的情况。
,菜单能正确有效的表明其所能表达的功能,而程序内部使用了一个链表,使得每盘的棋谱都能够正确的保存,以方便将来战术的研究。。关键词:五子棋 网络 VC++ 6.0
毕业设计(论文)外文摘要
Development of the network game
Abstract: This topic is for the purpose of with VC++ 6.0 realizing based on the C/S pattern Gobang network 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++ 6.0, which is a developing tool. And use WinSock for the network supporting, and supports this design to the network. May realize through the programming after the network connection, two players can play against each other on line. The purpose of this project is not only play against computer, but also with your friends on line, and even a demo with two computers. 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 was comprehended. 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. This network game may with entertainment and intelligence. With the network development, the system can obtain the widespread application.
Keywords: Gobang; network; VC++ 6.0.
目 录
1 引言 1
1.1 课题的研究意义和背景 1
1.1.1 研究的意义 1
1.1.2 研究背景 1
1.2 前期调研 2
1.3 课题简介与分析 3
1.3.1 课题简介 3
1.3.2 课题分析 3
1.4 开发途径和可行性分析 3
1.4.1 开发途径 3
1.4.2 可行性分析 3
1.5 传统五子棋软件与网络五子棋软件的异同 4
2 网络五子棋软件的系统需求分析与总体设计 5
2.1 系统需求分析 5
2.2 总体设计 5
2.2.1 总体设计结构图 5
2.2.2 接口设计 6
2.2.3 运行设计 6
2.2.4 安全保密设计 6
3 通信协议及编程语言的分析 6
3.1 TCP/IP参考模型 6
3.2 管套Socket与Winsock 7
3.3 网络游戏通信协议 8
3.3.1 游戏通信协议简介 8
3.3.2 协议打包/解包 8
3.3.3 通信协议的选择 9
3.4 编程语言的分析 9
3.4.1 Visual C++
文档评论(0)