- 1、本文档共28页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
测绘程序设计(C语言程序设计)-五子棋游戏程序开发
测绘程序设计
学生姓名: 姜凤宇
所在院系: 测绘工程学院
所学专业: 测绘工程专业
指导教师: 闫继涛、邢晓娜
高松峰、毛政利
五
子
棋
游
戏
程
序
开
发
目 录
第一章 程序设计目的和要求··········································1
1.1 课程设计的目的··············································1
1.2 课程设计实现的要求··········································1
第二章 五子棋程序概述··············································2
第三章 系统设计····················································3
3.1 设计目标····················································3
3.2 开发及运行环境··············································3
3.3 需求分析····················································3
第四章 系统模块分析 ···············································4
4.2 总体模块分析················································4
4.3 功能模块分析················································5
4.4 控制模块分析················································5
第五章 五子棋程序设计··············································7
5.1 游戏规则···················································7
5.2 预处理·····················································7
5.3 声明变量···················································7
5.4 主函数·····················································7
5.5 设置棋盘模式···············································7
5.6 开始游戏···················································8
5.7 进入游戏界面···············································9
5.8 游戏过程···················································9
5.9 判断胜负结果··············································11
第六章 程序设计心得与体会········································12
附录一 五子棋程序源代码··········································13
附录二 程序运行结果··············································20
附录三 参考文献··················································23
第一章 程序设计的目的和要求
1.1 课程设计的目的
进一步巩固《C程序设计》所学的知识,特别加强数组、指针、结构体、文件数据类型的应用,熟悉面向过程的结构化和面向对象可视化程序设计方法,培养结构化程序设计的思想,加深对高级语言基本语言要素和控制结构的理解,锻炼程序设计能力,以及用C/C++语言解决实际问题的能力,为以后后续课程的学习打好坚实的基础。
此课程设计着眼于知识点运用,把平常学的知识运用到课程实践中来,本身就是考察我们知识运用能力。要求熟悉运用一些编程软件(如:Microsoft Visual C++ 6.0及Turbo C++ 2.0),对我们所学的理论知识进一步的深化。
1.2 程序
文档评论(0)