C语言课程设计基于C语言推箱子游戏设计.docVIP

  • 92
  • 0
  • 约2.89万字
  • 约 35页
  • 2018-10-09 发布于重庆
  • 举报

C语言课程设计基于C语言推箱子游戏设计.doc

C语言课程设计基于C语言推箱子游戏设计

广东工程职业技术学院毕业论文 PAGE II gd工程职业技术学院毕业论文 基于C语言的推箱子游戏设计 Design of the push box Based on Combined Language 作者姓名: 学科专业: 应用电子技术 学院(系部): 机电工程系 指导教师: gd工程职业技术学院 2013年1月 gd工程职业技术学院毕业论文 PAGE PAGE 1 摘要 近年来随着科技的飞速发展,C语言的应用正在不断深入。C语言目前是国际上比较流行的计算机高级编程语言之一,因其简洁、使用方便且具备强大的功能而受到编程人员的普通青睐。它既适合作为系统描述语言,也可用来编写系统软件,还可以用来编写应用软件和设计游戏等。 本文着重分析用C语言实现一个简单的推箱子游戏,旨在介绍推箱子游戏的实现方法,并逐步介绍C语言图形编程的方法和技巧。在C语言编写软件WIN-TC上,涉及软中断、二维数组、键盘操作及图形化函数等方面,显示器中断寄存器的设置、二维数组及结构体的定义、键盘上键值的获取、图形方式下光标的显示和定位,以及部分图形函数的使用实现了一个完整的推箱子游戏界面,界面清晰可见。 关键词:?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 as some graphics functions used to achieve a complete Sokoban game interface, the interface clearly visible. Key words: C language; WIN-TC; PushBox gd工程职业技术学院毕业论文 目录 摘要 PAGEREF _Toc218445650 \h I Abstract PAGEREF _Toc218445651 \h II TOC \o 1-3 \u 第一章 绪论 1 1.1设计的功能 1 1.2游戏的编程思想 1 1.2.1 确定软件的功能 1 1.2.2 定义软件的核心数据结构 1 1.2.3 对整个软件进行功能模块划分 1 1.2.4 整个推箱子游戏的功能介绍……………………………………………………..2 第二章 游戏的总体设计 2 2.1功能

文档评论(0)

1亿VIP精品文档

相关文档