- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
网络安全监察毕业论文
河南警察学院
学号: 毕业论文(设计)
系 别 信息系
专 业 网络安全监察
年 级 3
姓 名 张彦涛
论文(设计)题目 推箱子游戏
指导教师 宋冰 职称
2012 年 5月 7 日
目 录
摘要。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
Abstract。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
绪论
设计的功能
游戏的编程思想
确定软件的功能
定义软件的核心数据结构
对整个软件进行功能模块划分
整个推箱子游戏的功能介绍
游戏的总体设计
2.1功能模块设计
2.1.1系统模块图
2.1.2任务执行流程图
2.1.3小人移动流程图
2.2数据结构设计
2.2.1设置全局变量
2.2.2定义结构体
2.3函数功能描述
推箱子游戏的程序实现
3.1 源码分析
3.1.1 程序预处理
3.1.2 初始化模块
3.1.3 画图模块
3.1.4 移动箱子模块
3.1.5 移动小人模块
3.1.6 功能控制模块
3.1.7 主函数
3.2 运行结果分析
3.2.1 进入游戏界面
总结
参考文献
摘 要
近年来随着科技的飞速发展,C语言的应用正在不断深入。C语言目前是国际上比较流行的计算机高级编程语言之一,因其简洁、使用方便且具备强大的功能而受到编程人员的普通青睐。它既适合作为系统描述语言,也可用来编写系统软件,还可以用来编写应用软件和设计游戏等。
本文着重分析用C语言实现一个简单的推箱子游戏,旨在介绍推箱子游戏的实现方法,并逐步介绍C语言图形编程的方法和技巧。在上,?C语言;WIN-TC;推箱子
Abstract
With the rapid development of science and technology in recent years, C language, applications are continuously in depth. C language is now more popular internationally high-level computer programming language, one of its simplicity, easy to use and with powerful features favored by ordinary programmers. It is suitable as a system description language, can also be used to write system software, application software can also be used to write and design games.
This article focuses on analysis using C language to implement a simple Sokoban game aimed at introducing the Sokoban game implementation method, and gradually introduced the C language graphical programming methods and techniques. In the C language software, WIN-TC, the related soft interrupt, two-dimensional array, keyboard operation and graphical functions, etc., the display interrupt register settings, two-dimensional array, and structure of the definition of access keys on the keyboard, graphical mode, the cursor display and positioning, as well a
文档评论(0)