- 1、本文档共60页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计论文五子棋游戏程序设计与开发文档
毕业设计论文五子棋游戏程序设计与开发
Gobang game design and development process
Abstract
According to my courtyard is the C++ program about Gobang Game , designs a set to be imperative based on the computer technology windows program. The Gobang program include chessboard interface, Menu, can be to retract a false move in a chess game and Initialization . Including system analysis, system function design, contact surface and related code design. This system major function by means of C++ language, Write this discourse based on the Gobang program Game.
Programming problems encountered in the process, there is how Othello child circulation, how to determine the outcome, and how to undo, how to make the screen does not flicker in the game of chess and other issues, after my think better of and debug again and again, get hold of the disciplinarian of the problem, and according to the rules of Gobang, I put the axe in the helve with exert myself. I accomplished all the basic functions consequently. Gobang game through continuous development and improvement from the 1.0 version of the upgrade to the current 3.0 version, the basic function has been achieved. But there is still much room for improvement and the need to improve the functionality, such as man-machine games on online functionality and network capabilities.
Key Words:Gobang;Interface;Menu;Retract;Initialization
目 录
摘 要 I
Abstract II
目 录 III
1 绪 论 1
1.1 五子棋游戏介绍 1
1.2 游戏开发背景 2
1.3 开发环境及运行环境 2
开发环境 2
运行环境 2
2 系统分析 3
2.1 可行性分析 3
技术可行性 3
经济可行性 3
可行性研究结论 3
2.2 需求分析 4
功能需求 4
数据存储 4
2.3 设计思想 4
3 系统设计 6
3.1 总体设计 6
系统功能模块设计 6
文件组织结构 7
3.2 详细设计 8
棋盘类设计 8
程序初始化设计 9
判断胜负算法 9
悔棋功能设计 10
4 系统设计编程与实现 13
4.1 系统设计编程 13
成员变量定义 13
成员函数定义 13
4.2 消息机制和主界面实现 14
消息机制说明 14
主界面设计 14
5 测试与运行分析 17
5.1 程序测试 17
5.2 测试结果 17
5.3 运行分析 18
结 论 19
参考文献 20
致 谢 21
附 录 22
附录A 22
附录B 25
1 绪 论
1.1 五子棋游戏介绍
传统五子棋的棋子分为黑白两色,采用19×19棋盘,棋子放置于棋盘线交叉点上。两人对局,各执一色,轮流下一子,先将横、竖或斜线的5个或5个以上同色棋子连成不间断的一排者为胜。
因为传统五子棋在落子后不能移动或拿掉,所以也可以用纸和笔
您可能关注的文档
- 正弦波-方波-三角波信号发生器设计文档.doc
- 案例分析——青藤茶馆文档.ppt
- 模具制造工艺学课件 (全套课件300页)文档.ppt
- 武夷岩茶的制茶工艺文档.doc
- 模块5 措施费、其他项目费、规费、税金清单编制文档.ppt
- 模具设计与制造专业介绍文档.ppt
- 毕业论文 电站锅炉主蒸汽压力控制系统 解耦控制 协调控制文档.doc
- 毕业论文(设计)_试论当前治安案件查处存在的问题与改进对策文档.doc
- 武夷岩茶炭焙工艺图解文档.doc
- 模块2 建筑工程经济的评价要素 《建筑工程经济》课件文档.ppt
- 新高考生物二轮复习讲练测第6讲 遗传的分子基础(检测) (原卷版).docx
- 新高考生物二轮复习讲练测第12讲 生物与环境(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第3讲 酶和ATP(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第9讲 神经调节与体液调节(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第11讲 植物生命活动的调节(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第8讲 生物的变异、育种与进化(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第5讲 细胞的分裂、分化、衰老和死亡(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第5讲 细胞的分裂、分化、衰老和死亡(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第12讲 生物与环境(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第11讲 植物生命活动的调节(检测)(原卷版).docx
文档评论(0)