c语言大小箱子,基于C语言箱子游戏.doc

基于C语言箱子游戏

广东工业大学毕业论文

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

Design of the push box Based on Combined Language

作者姓名:

学科专业: 应用电子技术

学院(系部):

指导教师:

广东工业大学

2010年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 as some graphics functions used to achieve a complete Sokoban game interface, the interface clearly visible.

Key words: C language; WIN-TC; PushBox

目录

摘要I

AbstractII

第一章 绪论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功能模块设计2

2.1.1 系统模块图……………………………………………………………………….2

2.1.2 任务执行流程图………………………………………………………………….3

2.1.3 小人移动流程图………………………………………………………………….3

2.2数据结构设计3

2.2.1 设置全局变量……………………………………………………………………..3

2.2.2 定义结构体……………………………………

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值