登录
首页 » c » C语言、VS2013平台实现推箱子小游戏,包含对txt文件打开关闭的基本操作,使用线性表实现栈的原理实现悔步功能,键盘响应运动。。。

C语言、VS2013平台实现推箱子小游戏,包含对txt文件打开关闭的基本操作,使用线性表实现栈的原理实现悔步功能,键盘响应运动。。。

于 2022-03-16 发布 文件大小:5.79 MB
0 144
下载积分: 2 下载次数: 1

代码说明:

#include  //用于输入输出#include  //用于system#include  //getchar函数#include#include #define STACK_SIZE 1000  //栈容量#define STACK_IN 20  //每次入栈容量//0:空地,1:墙,3:箱子目的地,4:箱子,6:人,7:箱子与目的地重合,9:人在箱子的目的地//初始化当前关的地图int g_level_map[11][12] ={ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }};

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • HumiTemp
    TI CC2530读取温湿度传感器示例代码,实现温度、湿度数值的测量和读取。(sample code for CC2530 to read humture sensor data)
    2013-02-23 00:02:59下载
    积分:1
  • How to Create a Full-Colored CListCtrl
    How use VC to Create a Full-Colored CListCtrl
    2004-08-04 21:06:56下载
    积分:1
  • golde_decom
    黄金分割法求解函数最小值的算法。输入区间ab的值,自定义函数,然后求解函数的最小值。(a optimization method called golden-decompostion.)
    2013-05-05 16:19:17下载
    积分:1
  • 互信息计算
    说明:  已知:信源符号为英文字母(不区分大小写)和空格。 输入:一篇英文的信源文档(5000词以上)。 输出:列出每两个字母之间的互信息并计算平均互信息(输出到文本文件中)。(Known: source symbols are English letters (case insensitive) and spaces. Input: an English source document (more than 5000 words). Output: lists the mutual information between each two letters and calculates the average mutual information (output to a text file).)
    2020-05-03 12:11:43下载
    积分:1
  • 国密SM4加密_2020
    国密SM4加密_2020
    2020-12-05下载
    积分:1
  • at91rm9200-16c554-linux
    说明:  Linux下ST16c554的驱动程序例程,C语言编写。(Linux driver under the ST16c554 routine, C language.)
    2011-03-11 08:36:18下载
    积分:1
  • tarjan
    tarjan算法求解有向图中的简单环,非常好用(Tarjan algorithm is very useful for solving simple rings in directed graphs.)
    2019-03-25 09:25:51下载
    积分:1
  • c#实现安卓 消息推送
    用c#实现安卓 消息推送
    2015-12-27下载
    积分:1
  • 自己开发的基于xml的browser, 自己开发的基于xml的browser,
    自己开发的基于xml的browser, 自己开发的基于xml的browser,-Their own development based on the xml the browser, their development of xml-based browser,
    2023-07-29 16:45:03下载
    积分:1
  • 敲敲砖的小小的游戏c
    敲敲砖的小小的游戏c-front of a small brick games c
    2022-02-02 05:52:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载