c语言推箱子技术参数,推箱子游戏(C语言).doc

推箱子游戏(C语言)

哈尔滨远东理工学院

C语言课程设计论文

题 目: 推箱子游戏课程设计

姓 名: 李瑞霖 谢桂成 ?

分  院: 机器人科学与技术学院

专  业: 电子信息工程

学 号: 110303?

指导教师: 李 涛

二0一四 年 九 月 五 日

推箱子游戏(C语言)

摘要

近年来随着科技的飞速发展,C语言的应用正在不断深入。C语言目前是国际上比较流行的计算机高级编程语言之一,因其简洁、使用方便且具备强大的功能而受到编程人员的普通青睐。它既适合作为系统描述语言,也可用来编写系统软件,还可以用来编写应用软件和设计游戏等。?

本文着重分析用C语言实现一个简单的推箱子游戏,旨在介绍推箱子游戏的实现方法,并逐步介绍C语言图形编程的方法和技巧。在C语言编写软件WIN-TC上,涉及软中断、二维数组、键盘操作及图形化函数等方面,显示器中断寄存器的设置、二维数组及结构体的定义、键盘上键值的获取、图形方式下光标的显示和定位,以及部分图形函数的使用实现了一个完整的推箱子游戏界面,界面清晰可见。

? 关键词:?C语言 WIN-TC 推箱子

Abstracts

With the rapid development of science and technology, in recent years, the C language, C language is unceasingly thorough along with the application. Now more popular international advanced computer programming language, it's a simple, easy to use and powerful support of ordinary programmers. It suits as a system description language, can also be used to write the system software, application software can also be used to write and design the game.

This paper mainly analysis using C language to achieve a simple Sokoban game aimed at introducing the Sokoban game implementation method, and gradually C graphics programming methods and techniques are introduced. In C language software, WIN - TC, related softirqs, two-dimensional array, keyboard, and graphical functions, etc., according to interrupt register Settings, two-dimensional array, and the structure defined access key on the keyboard, the graphics mode, the cursor displays and positioning, and some of the graphics functions is used to implement a complete Sokoban game interface, the interface can be clearly seen.

Key : C language WIN - TC PushBox

目 录

前言1

1.课程设计概述2

1.1 推箱子游戏软件功能概述2

1.2 Visual C++6.0概述2

1.3 设计的功能?2

1.4 游戏的变成思想?3

1.4.1 确定软件的功能?3

1.4.2 定义软件的核心数据结构?3

1.4.3 对整个软件进行功能模块的划分?3

1.4.4 整个推箱子游戏功能介绍?4

2.程序总体设计5

2.1 总体设计思想5

2.2 功能模块设计?5

2.3 总体设计流程图6

3.推箱子

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值