AL推箱子15关怎么过第28关怎么过呀

AL 推箱子_百度百科
清除历史记录关闭
声明:百科词条人人可编辑,词条创建和修改均免费,绝不存在官方及代理商付费代编,请勿上当受骗。
《AL 推箱子》是一款Android平台的应用。
AL 推箱子应用介绍
经典推箱子小游戏。分为简单,正常,困难三种模式
怎么玩,不用介绍,你都懂的!!!!
AL 推箱子支持版本
清除历史记录关闭AL推箱子(容易,正常,困难)容易30关怎么过?_百度知道
AL推箱子(容易,正常,困难)容易30关怎么过?
您的回答被采纳后将获得:
系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
我有更好的答案
关卡的截图?
为您推荐:
其他类似问题
吉盟的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。AL推箱子下载_AL推箱子安卓版apk下载-优亿市场
请输入6-16位密码
适用:2.2以上
完全的网络访问权限
查看网络连接
查看 WLAN 连接
更新时间:
扫描二维码安装
AL推箱子截图
是目前最安全可靠的安卓软件下载平台,我们为用户提供高质量的《AL推箱子》下载服务。更多精彩内容请关注我们()!
经典推箱子小游戏。分为简单,正常,困难三种模式 &br /&怎么玩,不用介绍,你都懂的!!!!
下载数:4万次
下载数:5000次
下载数:2万次
下载数:36万次
下载数:3万次
下载数:4万次
下载数:17万次
下载数:1万次
下载数:18万次
无法安装或启动
不是最新版本
您的举报信息将会同步到工信部12321举报平台
点击下面的按钮下载4.7.4版本
获取验证码
恭喜你,密码重置成功
用户客服QQ:
开发者反馈QQ:
客服邮箱:
举报电话:
商务合作QQ:
资讯投稿:
(C) www.eoemarket.com 版权所有 北京浩游网讯科技有限公司
感谢使用优亿市场,恳请您提出宝贵的建议,被采纳的建议均可获得30元话费充值卡。
请输入您的意见建议,万分感谢!
联系方式(可选)
加群抢红包!查看: 3292|回复: 1
最后登录在线时间1086 小时UID61052阅读权限70积分4273精华14蘑菇2 朵N币5349 枚帖子注册时间
传说中的剑圣
Nw资深, 积分 4273, 距离下一级还需 3727 积分
蘑菇2 朵N币5349 枚帖子注册时间
#include &dos.h&
#include &stdio.h&
#include &ctype.h&
#include &conio.h&
#include &bios.h&
#include &alloc.h&
/*&&Every point state, is among them on the screen coming to take notes definition
two dimension group ghouse: What 0 expresses not having , ' b'indicates that the chest ,
' w'express a wall , ' m'expresses a destination , ' i'expresses a chest in the destination. */
char ghouse[20][20];
/*&&The following function is to write the screen function directly */
char far *screen=(char far* )0xb8000000;
void putchxy(int y,int x,char ch,char fc,char bc)
&&screen[(x*160)+(y&&1)+0]=
&&screen[(x*160)+(y&&1)+1]=(bc*16)+
/* Definition judges the data structure being successfully or not */
typedef struct winer {
&&int x,y;
&&struct winer *p;
/* Chest location data structure */
typedef struct boxs {
struct boxs *
/* Draw the wall and the function using number group
to record state on specially appointed coordinate */
void printwall(int x,int y)
& & putchxy(y-1,x-1,219,GREEN,BLACK);
& & ghouse[x][y]='w';
/* Draw a chest on specially appointed coordinate and
record the state function with number group */
void printbox(int x,int y)
& &putchxy(y-1,x-1,10,WHITE,BLACK);
& &ghouse[x][y]='b';
/* Draw the destination and the function using number group to record
state on specially appointed coordinate */
void printwhither1(int x,int y,winer&&**win,winer **pw)
& &winer *
& &putchxy(y-1,x-1,'*',YELLOW,BLACK);
& &ghouse[x][y]='m';
& &if(*win==NULL)
& &&&*win=*pw=qw=(winer* )malloc(sizeof(winer));
& &&&(*pw)-&x=x;(*pw)-&y=y;(*pw)-&p=NULL;
& &&&qw=(winer* )malloc(sizeof(winer));
& &&&qw-&x=x;qw-&y=y;(*pw)-&p=(*pw)=qw-&p=NULL;
/* Draw the destination and the function using number group to
record state on specially appointed coordinate */
void printwhither(int x,int y)
& &putchxy(y-1,x-1,'*',YELLOW,BLACK);
& &ghouse[x][y]='m';
/* Draw people's function on specially appointed coordinate */
void printman(int x,int y)
& &gotoxy(y,x);
& &_AL=02;_CX=01;_AH=0
& &geninterrupt(0x10);
/* On specially appointed coordinate, the painting chest records the state
function in purpose ground and with number group */
void printboxin(int x,int y)
&&putchxy(y-1,x-1,10,YELLOW,BLACK);
&&ghouse[x][y]='i';
/* INIT function , INIT number group and screen */
void init()
&&int i,j;
&&for(i=0;i&20;i++)
& & for(j=0;j&20;j++)
& &&&ghouse[j]=0;
& && &_AL=3;
& && &_AH=0;
& && &geninterrupt(0x10);
& && & gotoxy(40,4);
&&printf(&Welcome to come box world!&);
& && & gotoxy(40,6);
& && && &printf(&Press up,down,left,right to play.&);
& && & gotoxy(40,8);
& && && &printf(&Press Esc to quit it.&);
& && & gotoxy(40,10);
&&printf(&Press space to reset the game.&);
& && & gotoxy(40,12);
& && && &printf(&Producer : WangSijie and FengWei.&);
& && & gotoxy(40,14);
& && && &printf(&Jan. 12th 2007.&);
/* Image INIT that the first stage */
winer *inithouse1()
&&int x,y;
&&winer *win=NULL,*
&&for(x=1,y=5;y&=9;y++)
& &&&printwall(x+4,y+10);
&&for(y=5,x=2;x&=5;x++)
& &&&printwall(x+4,y+10);
&&for(y=9,x=2;x&=5;x++)
& &&&printwall(x+4,y+10);
&&for(y=1,x=3;x&=8;x++)
& &&&printwall(x+4,y+10);
&&for(x=3,y=3;x&=5;x++)
& && & printwall(x+4,y+10);
&&for(x=5,y=8;x&=9;x++)
& && & printwall(x+4,y+10);
&&for(x=7,y=4;x&=9;x++)
& && & printwall(x+4,y+10);
&&for(x=9,y=5;y&=7;y++)
& && & printwall(x+4,y+10);
&&for(x=8,y=2;y&=3;y++)
& && & printwall(x+4,y+10);
&&printwall(5+4,4+10);
&&printwall(5+4,7+10);
&&printwall(3+4,2+10);
&&printbox(3+4,6+10);
&&printbox(3+4,7+10);
&&printbox(4+4,7+10);
&&printwhither1(4+4,2+10,&win,&pw);
&&printwhither1(5+4,2+10,&win,&pw);
&&printwhither1(6+4,2+10,&win,&pw);
&&printman(2+4,8+10);
/* Image INIT that the third stage&&*/
winer *inithouse3()
winer *win=NULL,*
for(x=1,y=2;y&=8;y++)
& & printwall(x+4,y+10);
for(x=2,y=2;x&=4;x++)
& & printwall(x+4,y+10);
for(x=4,y=1;y&=3;y++)
& & printwall(x+4,y+10);
for(x=5,y=1;x&=8;x++)
& & printwall(x+4,y+10);
for(x=8,y=2;y&=5;y++)
& & printwall(x+4,y+10);
for(x=5,y=5;x&=7;x++)
& & printwall(x+4,y+10);
for(x=7,y=6;y&=9;y++)
& & printwall(x+4,y+10);
for(x=3,y=9;x&=6;x++)
& & printwall(x+4,y+10);
for(x=3,y=6;y&=8;y++)
& & printwall(x+4,y+10);
printwall(2+4,8+10);
printwall(5+4,7+10);
printbox(6+4,3+10);
printbox(4+4,4+10);
printbox(5+4,6+10);
&&printwhither1(2+4,5+10,&win,&pw);
&&printwhither1(2+4,6+10,&win,&pw);
&&printwhither1(2+4,7+10,&win,&pw);
printman(2+4,4+10);
/* Image INIT that the second stage&&*/
winer *inithouse2()
winer *win=NULL,*
for(x=1,y=4;y&=7;y++)
& & printwall(x+4,y+10);
for(x=2,y=2;y&=4;y++)
& & printwall(x+4,y+10);
for(x=2,y=7;x&=4;x++)
& & printwall(x+4,y+10);
for(x=4,y=1;x&=8;x++)
& & printwall(x+4,y+10);
for(x=8,y=2;y&=8;y++)
& & printwall(x+4,y+10);
for(x=4,y=8;x&=8;x++)
& & printwall(x+4,y+10);
for(x=4,y=6;x&=5;x++)
& & printwall(x+4,y+10);
for(x=3,y=2;x&=4;x++)
& & printwall(x+4,y+10);
for(x=4,y=4;x&=5;x++)
& & printwall(x+4,y+10);
printwall(6+4,3+10);
printbox(3+4,5+10);
printbox(6+4,6+10);
printbox(7+4,3+10);
&&printwhither1(5+4,7+10,&win,&pw);
&&printwhither1(6+4,7+10,&win,&pw);
&&printwhither1(7+4,7+10,&win,&pw);
printman(2+4,6+10);
/* Image INIT that the fourth stage&&*/
winer *inithouse4()
&&int x,y;
&&winer *win=NULL,*
&&for(x=1,y=1;y&=6;y++)
& &&&printwall(x+4,y+10);
&&for(x=2,y=7;y&=8;y++)
& &&&printwall(x+4,y+10);
&&for(x=2,y=1;x&=7;x++)
& &&&printwall(x+4,y+10);
&&for(x=7,y=2;y&=4;y++)
& &&&printwall(x+4,y+10);
&&for(x=6,y=4;y&=9;y++)
& &&&printwall(x+4,y+10);
&&for(x=3,y=9;x&=5;x++)
& &&&printwall(x+4,y+10);
&&for(x=3,y=3;y&=4;y++)
& &&&printwall(x+4,y+10);
&&printwall(3+4,8+10);
&&printbox(3+4,5+10);
&&printbox(4+4,4+10);
&&printbox(4+4,6+10);
&&printbox(5+4,5+10);
&&printbox(5+4,3+10);
&&printwhither1(3+4,7+10,&win,&pw);
&&printwhither1(4+4,7+10,&win,&pw);
&&printwhither1(5+4,7+10,&win,&pw);
&&printwhither1(4+4,8+10,&win,&pw);
&&printwhither1(5+4,8+10,&win,&pw);
printman(2+4,2+10);
/* Move the chest on open space going ahead to open space */
movebox(int x,int y,char a)
&&switch(a)
& & case 'u':ghouse[x-1][y]=0;printf(& &);
& && &printbox(x-2,y);printman(x-1,y);
& && && && & ghouse[x-2][y]='b';
& & case 'd':ghouse[x+1][y]=0;printf(& &);
& && &printbox(x+2,y);printman(x+1,y);
& && && && & ghouse[x+2][y]='b';
& & case 'l':ghouse[x][y-1]=0;printf(& &);
& && &printbox(x,y-2);printman(x,y-1);
& && && && & ghouse[x][y-2]='b';
& & case 'r':ghouse[x][y+1]=0;printf(& &);
& && &printbox(x,y+2);printman(x,y+1);
& && && && & ghouse[x][y+2]='b';
& & default:
/* Move the chest in purpose ground going ahead to open space */
moveinbox(int x,int y,char a)
&&switch(a)
& & case 'u':ghouse[x-1][y]='m';printf(& &);
& && &printbox(x-2,y);printman(x-1,y);
& && && && & ghouse[x-2][y]='b';
& & case 'd':ghouse[x+1][y]='m';printf(& &);
& && &printbox(x+2,y);printman(x+1,y);
& && && && & ghouse[x+2][y]='b';
& & case 'l':ghouse[x][y-1]='m';printf(& &);
& && &printbox(x,y-2);printman(x,y-1);
& && && && & ghouse[x][y-2]='b';
& & case 'r':ghouse[x][y+1]='m';printf(& &);
& && &printbox(x,y+2);printman(x,y+1);
& && && && & ghouse[x][y+2]='b';
& & default:
/* The chest moving on open space arrives at purpose ground */
moveboxin(int x,int y,char a)
&&switch(a)
& & case 'u':ghouse[x-1][y]=0;printf(& &);
& && &printboxin(x-2,y);printman(x-1,y);
& && &ghouse[x-2][y]='i';
& & case 'd':ghouse[x+1][y]=0;printf(& &);
& && &printboxin(x+2,y);printman(x+1,y);
& && &ghouse[x+2][y]='i';
& & case 'l':ghouse[x][y-1]=0;printf(& &);
& && &printboxin(x,y-2);printman(x,y-1);
& && &ghouse[x][y-2]='i';
& & case 'r':ghouse[x][y+1]=0;printf(& &);
& && &printboxin(x,y+2);printman(x,y+1);
& && &ghouse[x][y+2]='i';
& & default:
/* The chest moving in purpose ground arrives at a destination */
moveinboxin(int x,int y,char a)
&&switch(a)
& & case 'u':ghouse[x-1][y]='m';printf(& &);
& && &printboxin(x-2,y);printman(x-1,y);
& && &ghouse[x-2][y]='i';
& & case 'd':ghouse[x+1][y]='m';printf(& &);
& && &printboxin(x+2,y);printman(x+1,y);
& && &ghouse[x+2][y]='i';
& & case 'l':ghouse[x][y-1]='m';printf(& &);
& && &printboxin(x,y-2);printman(x,y-1);
& && &ghouse[x][y-2]='i';
& & case 'r':ghouse[x][y+1]='m';printf(& &);
& && &printboxin(x,y+2);printman(x,y+1);
& && &ghouse[x][y+2]='i';
& & default:
/* Judge specially appointed upper coordinate state */
int judge(int x,int y)
&&switch(ghouse[x][y])
&&case 0:& &i=1;
&&case 'w': i=0;
&&case 'b': i=2;
&&case 'i': i=4;
&&case 'm': i=3;
&&default:
/* Handle the host function that the personage moves after pressing down a keyboard, */
move(int x,int y,char a)
& &switch(a)
& &&&case 'u':if(!judge(x-1,y)) {gotoxy(y,x);}
& && & else if(judge(x-1,y)==1||judge(x-1,y)==3)
& && &&&{if(judge(x,y)==3)
&&{ printwhither(x,y);printman(x-1,y);}
&&{printf(& &);printman(x-1,y);}
& && & else if(judge(x-1,y)==2)
& && && && && &{ if(judge(x-2,y)==1)
& &{movebox(x,y,'u');
& & if(judge(x,y)==3) printwhither(x,y); gotoxy(y,x-1);
& && && && && && &}
& && && && && & else if(judge(x-2,y)==3)
& &{ moveboxin(x,y,'u');
& & if(judge(x,y)==3) printwhither(x,y); gotoxy(y,x-1);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& && && && &&&else if(judge(x-1,y)==4)
& && && && && &{ if(judge(x-2,y)==1)
& &{moveinbox(x,y,'u');
& & if(judge(x,y)==3) printwhither(x,y);gotoxy(y,x-1);
& && && && && && &}
& && && && && & else if(judge(x-2,y)==3)
& &{ moveinboxin(x,y,'u');
& & if(judge(x,y)==3) printwhither(x,y);gotoxy(y,x-1);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& &&&case 'd':if(!judge(x+1,y))&&{gotoxy(y,x);}
& && & else if(judge(x+1,y)==1||judge(x+1,y)==3)
& && && && && &{if(judge(x,y)==3)
& && && && && & { printwhither(x,y);printman(x+1,y);}
& && && && && & else
& && && && && & {printf(& &);printman(x+1,y);}
& && && && && &}
& && && && &&&else if(judge(x+1,y)==2)
& && && && && &{ if(judge(x+2,y)==1)
& & {movebox(x,y,'d');
& & if(judge(x,y)==3) printwhither(x,y);gotoxy(y,x+1);
& && && && && && &}
& && && && && &&&else if(judge(x+2,y)==3)
& &{moveboxin(x,y,'d');
& & if(judge(x,y)==3) printwhither(x,y);gotoxy(y,x+1);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &}
& && && && &&&else if(judge(x+1,y)==4)
& && && && && &{ if(judge(x+2,y)==1)
& & {moveinbox(x,y,'d');
& & if(judge(x,y)==3) printwhither(x,y);gotoxy(y,x+1);
& && && && && && &}
& && && && && &&&else if(judge(x+2,y)==3)
& &{moveinboxin(x,y,'d');
& & if(judge(x,y)==3) printwhither(x,y);gotoxy(y,x+1);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& &&&case 'l':if(!judge(x,y-1))&&{gotoxy(y,x);}
& && & else if(judge(x,y-1)==1||judge(x,y-1)==3)
& && && && && &{if(judge(x,y)==3)
& && && && && & { printwhither(x,y);printman(x,y-1);}
&&{printf(& &);printman(x,y-1);}
& && &&&else if(judge(x,y-1)==2)
& && && && && &{ if(judge(x,y-2)==1)
& &{movebox(x,y,'l');
& & if(judge(x,y)==3) printwhither(x,y); gotoxy(y-1,x);
& && && && && && &}
& && && && && &&&else if(judge(x,y-2)==3)
& & {moveboxin(x,y,'l');
& & if(judge(x,y)==3) printwhither(x,y);&&gotoxy(y-1,x);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& && &&&else if(judge(x,y-1)==4)
& && && && && &{ if(judge(x,y-2)==1)
& &{moveinbox(x,y,'l');
& & if(judge(x,y)==3) printwhither(x,y); gotoxy(y-1,x);
& && && && && && &}
& && && && && &&&else if(judge(x,y-2)==3)
& & {moveinboxin(x,y,'l');
& & if(judge(x,y)==3) printwhither(x,y);&&gotoxy(y-1,x);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& &&&case 'r':if(!judge(x,y+1))&&{gotoxy(y,x);}
& && & else if(judge(x,y+1)==1||judge(x,y+1)==3)
& && && && && &{if(judge(x,y)==3)
& && && && && &&&{printwhither(x,y);printman(x,y+1);}
& && && && && &else
& && && && && &&&{printf(& &);printman(x,y+1);}
& && && && && &}
& && && && &&&else if(judge(x,y+1)==2)
& && && && && &{ if(judge(x,y+2)==1)
& & {movebox(x,y,'r');
& & if(judge(x,y)==3) printwhither(x,y); gotoxy(y+1,x);
& && && && && && &}
& && && && && &&&else if(judge(x,y+2)==3)
& &{moveboxin(x,y,'r');
& & if(judge(x,y)==3) printwhither(x,y);&&gotoxy(y+1,x);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& && && && &&&else if(judge(x,y+1)==4)
& && && && && &{ if(judge(x,y+2)==1)
& & {moveinbox(x,y,'r');
& & if(judge(x,y)==3) printwhither(x,y); gotoxy(y+1,x);
& && && && && && &}
& && && && && &&&else if(judge(x,y+2)==3)
& &{moveinboxin(x,y,'r');
& & if(judge(x,y)==3) printwhither(x,y);&&gotoxy(y+1,x);
& && && && && && &}
& && && && && &else gotoxy(y,x);
& && && && && &
& && && && && &}
& &&&default:
/* Press down the space button , return to the function closing beginning period originally */
void reset(int i)
& && && & switch(i)
case 0:&&init();
& &inithouse1();
case 1:&&init();
& &inithouse2();
& && &&&case 2:&&init();
& &inithouse3();
case 3:&&init();
& &inithouse4();
/* Betoken a function main */
void main()
& &int key,x,y,s,i=0;
& &winer *win,*
& &_AL=3;_AH=0;
& &geninterrupt(0x10);
& &init();
& &win=inithouse1();
& && &_AH=3;
& && &geninterrupt(0x10);
& && &x=_DH+1;y=_DL+1;
& && &while(bioskey(1)==0);
& && &key=bioskey(0);
& && &switch(key)
& && &case 0x4800:move(x,y,'u'); /* Press down to the upper key button */
& && &case 0x5000:move(x,y,'d'); /* Press down to the down key button*/
& && &case 0x4b00:move(x,y,'l'); /* Press down to the left key button */
& && &case 0x4d00:move(x,y,'r'); /* Press down to the right key button */
& && &case 0x3920:reset(i);& && &/* Press down to the space key button */
& && &default:
& &&&while(pw)
& && &if(ghouse[pw-&x][pw-&y]=='m') s++;
& && &pw=pw-&p;
& &&&if(s==0)
free(win);
gotoxy(25,2);
printf(&congratulate! you are very celver!&);
& && &&&i++;
& && &&&switch(i)
& && &&&case 1:&&init();
& &win=inithouse2();
case 2:&&init();
& &win=inithouse3();
case 3:&&init();
& &win=inithouse4();
case 4:&&gotoxy(15,21);
& &printf(&My dear Friend, How smart you are! Welcome to play again!&);
& &key=0x011b;getch();
& &}while(key!=0x011b);
geninterrupt(0x10);
有时候爱是粉红的羽毛,谁捧着都有微笑的眼角
才看它在手心沉沉的睡着,一起风,又醒了,那么轻飘
练习着坚强,学习会遗忘,等待彩虹再次出现,展翅飞翔~~~
洒家的论坛:http://heero.uu1001.com/index.php
欢迎前来做客
最后登录在线时间2906 小时UID7852阅读权限80积分9194精华5蘑菇2 朵N币3719 枚帖子注册时间
Nw师匠, 积分 9194, 距离下一级还需 3806 积分
蘑菇2 朵N币3719 枚帖子注册时间
是好东西,不过放在这里可惜了
从现在开始拒绝一切小家伙的看星盘要求。
年龄界限如下:
不要问我为什么,答案在你人生里程中。
Powered by

我要回帖

更多关于 推箱子35关怎么过 的文章

 

随机推荐