-
Bio
前言:wonderland已经废了,没有题解,讨论,评测记录,一片荒凉之景~
人间烟火气, 最抚凡人心。
只要心中有景,何处不是花香满径。
所谓的美色到头来也不过是黄土一捧,而尘归尘,土归土。
自己写过的封神句子:
常思人生过往,闲谈尘世日常
四周一片寂静,而我的眼里仅有这一个月亮,但月亮的光可洒在不止我一人身上。
夜深了,孤独的我凝望着绚烂的满天星斗,隐约间,我感觉他们似乎也在注视我
haohao的伟大计划!
100题 yes!
200题 yes!
300题 yes!
400题 yes!
500题 no
800题 no
1000题 no
1145题 no
2000题 no
3000题 no
5000题 no
该用户是6年级的4段蒟蒻。
该用户是网站中丧尸危机的创始人。
该用户是wonderland梗大全的作者。
该用户曾经是反AC鸭公会的会长。
该用户是李老师的大baby。
该用户也是力总的头号粉丝。
该用户是一位CSP还没有打过的蒟蒻。
古人云:膜拜就应该膜拜(排名不分先后):张顺凯giegie,丁泓森giegie,郑嘉宝giegie,或者胆大一点,直接膜拜UID=6327(doge)
此生无悔入MC,来世还做方块人。 (本人minecraft粉) 米米屎溅玩家离开我的主页!!!!!
好运来那个好运来,好运来那叫幸福在~~~
本人在wonderland.run最高top2!
我就只是一个蒟蒻而已啊——————(bushi)
``` ______ ______ __ __ ______ _____ ______ /\__ _\ /\ _ \/\ \/\ \ /\__ _\ /\ __ \/\__ _\ \/_/\ \/ \ \ \ \ \ \ \/ / \/_/\ \/ \ \ \/\ \/_/\ \/ \ \ \ \ \ __ \ \ < \ \ \ \ \ \ \ \ \ \ \ \_\ \__ \ \ \/\ \ \ \\ \ \_\ \__\ \ \_\ \ \_\ \__ /\_____\ \ \_\ \_\ \_\ \_\ /\_____\\ \_____\/\_____\ \/_____/ \/_/\/_/\/_/\/_/ \/_____/ \/_____/\/_____/
放下个人素质,享受缺德人生,
拒绝精神内耗,有事直接发疯,
与其委屈自己,不如为难别人。
每日训练,原地升天。 日拱一卒,恒则没命。
不鸣则以,一鸣惊人
《我和AC鸭》
我AC鸭,不共戴天。
有他没我,有我没他。
北京烤鸭,白水煮鸭。
烤AC鸭,多美味啊。
AC鸭他,良心在哪。
没事找事,神经病鸭!
~即:我以善待题,题以恶相向~
为什么,因为……
他善!
势必颓上榜!!!!!(已完成15天集训营、一段学习、二段学习,三段学习,正在4段学习,已学习,多维数组,高精度,递归递推回溯,二分,二叉树,dfs剪枝,bfs,一点点贪心,战记:蓝桥580分,GESP准备考四级,信息素养大赛复赛满分一等奖,ITC城市选拔赛二等奖,ITC国赛一等奖等等,目标2024,CSP-J复赛一等奖!
作者的大名鼎鼎的丧尸危机作品(最新版本):
#include<bits/stdc++.h> #include<windows.h> using namespace std; long long sum=0,money=100000,day=10,food=10,home=0,yao=3,mima3=20120920,touzidashi=0,daxiaozi=0,zhennanren=0,wuxingshimin=0,cnt=0,ren=1,foodeat=0,farmfood=0,index=0; bool gun1=0,gun2=0,gun3=0 , xiaozhao=0,xiaozhang=0 , fushe=0 , motor=0,car=0,orv=0,orvplus=0,orvplusplus=0,sunnyenergy=0; //线索部分 bool xiansuo1=0; //B技能 bool zuoyebaodian=0; bool jingzhishu=0; int key=114514; string yourname; enum ConsoleColor { BLACK = 0, BLUE = 1, GREEN = 2, CYAN = 3, RED = 4, MAGENTA = 5, BROWN = 6, LIGHT_GRAY = 7, DARK_GRAY = 8, LIGHT_BLUE = 9, LIGHT_GREEN = 10, LIGHT_CYAN = 11, LIGHT_RED = 12, LIGHT_MAGENTA = 13, YELLOW = 14, WHITE = 15 }; void SetConsoleColor(ConsoleColor color) { HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hConsole, color); } void zhongzhi() { cout<<"食物成熟度:"<<foodeat<<"%"<<endl<<endl; Sleep(800); foodeat+=10; if(foodeat>=100) { food+=farmfood; foodeat=0; farmfood=farmfood*2; cout<<"收获食物"<<farmfood<<"天"<<endl<<endl; Sleep(800); } } void choujiang(int num) { char change; cout<<"抽奖ing"<<endl<<endl; Sleep(1000); num++; if(num<=5) { cout<<"3等奖!"<<endl<<endl; Sleep(800); cout<<"%5的概率!!!"<<endl<<endl; Sleep(800); cout<<"抽中100天食物"<<endl<<endl; Sleep(800); food+=100; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); } else if(num==33) { SetConsoleColor(RED); cout<<"1等奖!!!"<<endl<<endl; Sleep(60); cout<<"%1的概率!!!"<<endl<<endl; Sleep(600); SetConsoleColor(WHITE); cout<<"抽中200天食物"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); food+=200; cout<<"抽中100天药物"<<endl<<endl; Sleep(800); yao+=100; cout<<"你的药物还能恢复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"抽中基地坚固度+1"<<endl<<endl; Sleep(800); home++; cout<<"你的基地的坚固度为"<<home<<endl<<endl; Sleep(800); } else if(num==18||num==24) { cout<<"二等奖!!!"<<endl<<endl; Sleep(600); cout<<"%2的概率!!!"<<endl<<endl; Sleep(600); cout<<"抽中基地坚固度+1"<<endl<<endl; Sleep(800); home++; cout<<"你的基地的坚固度为"<<home<<endl<<endl; Sleep(800); } else if(num>=6&&num<=15) { cout<<"四等奖"<<endl<<endl; Sleep(600); cout<<"%10的概率!"<<endl<<endl; Sleep(600); cout<<"食物药物二选一"<<endl<<endl; Sleep(800); cout<<"A,食物+50"<<endl<<endl; Sleep(600); cout<<"B,药物+20"<<endl<<endl; Sleep(600); cout<<"输入大写字母"<<endl<<endl; Sleep(600); cin>>change; if(change=='A') { food+=50; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); } else { yao+=20; cout<<"你的药物还能恢复"<<yao<<"天"<<endl<<endl; Sleep(800); } } else { cout<<"优胜奖"<<endl<<endl; Sleep(600); cout<<"%85的概率"<<endl<<endl; Sleep(600); cout<<"食物+10"<<endl<<endl; Sleep(600); food+=10; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); } } string mima="刘浩远史上最牛逼"; string mima2; int zuozhe2() { cout<<"你说:作者是史上最牛逼的"<<endl<<endl; Sleep(800); string s; cin>>s; if(s=="作者是史上最牛逼的"&&mima==mima2&&cnt==1) { cout<<"最后一个密码"<< endl<< endl; Sleep(800); cout<<"密码是:114514" << endl<< endl; Sleep(800); cin>>s; cout<<"由于系统需要,请随机输入一个数字"<<endl; int c; cin>>c; if(s=="114514"&&c==mima3) { return 1; } } } void touzidashi2() { touzidashi++; cout<<"你获得了成就:投资大师"<<touzidashi<<"级"<< endl<< endl; Sleep(800); } void daxiaozi2() { daxiaozi++; cout<<"你获得了成就:大孝子"<<daxiaozi<<"级"<<endl << endl; Sleep(800); } void dacongming2() { cout<<"你获得了成就:大聪明"<<daxiaozi<<"级"<<endl << endl; Sleep(800); } void zhennanren2() { zhennanren++; cout<<"你获得了成就:真男人"<<zhennanren<<"级"<<endl << endl; Sleep(800); } void wuxingshimin2() { wuxingshimin++; cout<<"你获得了成就:五星市民"<<wuxingshimin<<"级"<<endl << endl; Sleep(800); } int pingjia() { cout<<"gameover游戏结束,下面是游戏结算"<<endl<<endl; Sleep(800); if(touzidashi!=0) { cout<<"你获得了成就:投资大师"<<touzidashi<<"级"<<endl<<endl; Sleep(800); } if(daxiaozi!=0) { cout<<"你获得了成就:大孝子"<<daxiaozi<<"级"<<endl<<endl; Sleep(800); } if(zhennanren!=0) { cout<<"你获得了成就:真男人"<<zhennanren<<"级"<<endl<<endl; Sleep(800); } if(wuxingshimin!=0) { cout<<"你获得了成就:五星市民"<<wuxingshimin<<"级"<<endl<<endl; Sleep(800); } cout<<"可以试试其他路线哦"<<endl<<endl; Sleep(800); return 0; } int gameover(int mony,int fod) { if(mony<=0||fod<=0||yao<=0) { return 0; } return 1; } void zuozhe() { string change; cout<<"输入密码"<< endl<< endl; Sleep(800); cin>>change; if(change==mima) { cout<<"输入二级密码"<< endl<< endl; Sleep(800); cin>>mima2; if(mima==mima2) { if(zuozhe2()) { cnt=2; key=1919810; } } } } int day1() { char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第一天,老样子,四选一,选一个,别犯选择困难症"<<endl<<endl; Sleep(800); cout<<"A.先去超市买物资和食物(成功率:95%)"<<endl<<endl; Sleep(800); cout<<"B.先去药店买药(成功率:95%)"<<endl<<endl; Sleep(800); cout<<"C.先抵押房子贷款(成功率:50%,可贷款100万)"<<endl<<endl; Sleep(800); cout<<"D.先去投资赚钱(成功率:15%,可赚300万)"<< endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { int num=rand()%100; if(num>=95) { cout<<"超市老板以为是神经病,于是把你们赶走了"<<endl<<endl; Sleep(800); cout<<"重新选择"<<endl<<endl; Sleep(800); day1() ; } else { cout<<"超市老板可开心了,还给了你打了折"<<endl<<endl; Sleep(800); money-=30000; food+=300; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } } } else if(change=='B') { int num=rand()%100; if(num>=95) { cout<<"药店店长报了警,最后发现是误会,但是他还是不想买给你药"<<endl<<endl; Sleep(800); cout<<"重新选择"<<endl<<endl; Sleep(800); day1() ; } else { cout<<" "<<endl<<endl; Sleep(800); money-=30000; yao+=100; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } } } else if(change=='C') { int num=rand()%100; if(num>=50) { cout<<"贷款失败,银行人员以为你疯了,让保安把你赶了出来"<<endl<<endl; Sleep(800); cout<<"重新选择"<<endl<<endl; Sleep(800); day1(); } else { cout<<"贷款成功,反正这钱末日也不用还,我们有了启动资金"<<endl<<endl; Sleep(800); money+=1000000; } } else { int num=rand()%100; if(num>=15) { cout<<"投资失败,投资有风险,重开吧孩子"<<endl<<endl; Sleep(800); money=0; cout<<"你的钱还有"<<money<<"元"; cout<<"game over"; return -1; } else { cout<<"投资成功!!!欧皇啊!!!三百万!!!投资有风险,下次注意点"<<endl<<endl; Sleep(800); touzidashi2(); money-=50000; money+=3000000; cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } } cout<<endl<<endl; Sleep(800); return 0; } int day2() { char change; food--; day--; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"是时候加固房子了,根据上一世的记忆,你的房子被丧尸占领,你不得不去父母家寻求庇护,才会让你被杀害"<<endl<<endl; Sleep(800); cout<<"请选择加固的材料"<<endl<<endl; Sleep(800); cout<<"A.木板(1000元)"<<endl<<endl; Sleep(800); cout<<"B.石板(5000元)"<<endl<<endl; Sleep(800); cout<<"C.钢板(30000元)"<<endl<<endl; Sleep(800); if(money>100000) { cout<<"D,隐藏款:碳合金(100000元)"; } cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { home=1; money-=1000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } } if(change=='B') { home=2; money-=5000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } } if(change=='C') { home=3; money-=30000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } } if(change=='D') { home=4; money-=100000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } } cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你简单的加固了你的房子" <<endl<<endl; Sleep(800); cout<<"你的养母是一个十分残忍的人,上一世就是她杀的你,现在的世界还是正常的" <<endl<<endl; Sleep(800); cout<<"你的父母找上了你……"<<endl<<endl<<endl; Sleep(800); return 0; } int day3() { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你的养母和父亲在敲门,你是否开门"<<endl<<endl; Sleep(800); cout<<"A,开门"<<endl<<endl; Sleep(800); cout<<"B,假装没人"<<endl<<endl; Sleep(800); cout<<"C,断绝关系"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你打开了门,父母刚进门鞋都没换就坐在了沙发上"<<endl<<endl; Sleep(800); cout<<"你给父母倒水喝,心里想:忍一忍,等到末日他们就完了"<<endl<<endl; Sleep(800); cout<<"就在你还在倒水的时候,你的父母毫不客气的说"<<endl<<endl; Sleep(800); cout<<"“快给我们打2万块钱”" <<endl<<endl; Sleep(800); cout<<"你是否同意"<<endl<<endl; Sleep(800); cout<<"A,同意"<<endl<<endl; Sleep(800); cout<<"B,不同意"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { money-=20000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你心想:多一事不如少一事" <<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"“随着一声:支付宝到账20000元”你的父母欣喜若狂"<<endl<<endl; Sleep(800); } if(change=='B') { cout<<"你的父母非常生气,脸都红了,再此之时,你的心情和你父母一样,可惜是反的,你的内心爽到了极点,因为这是你第一次拒绝你的父母"<<endl<<endl; Sleep(800); cout<<"父母破口大骂到:不孝子!我们养了你这么多年,给我们些回报怎么了!"<<endl<<endl; Sleep(800); cout<<"我*你*的!你再给老子说一遍!你每天给我吃多少东西啊,天下没有你这么不讲理的父母!就是因为你是我的后妈,你就给我吃馒头咸菜,就因为我不是你亲生的,就从来没有给我买新衣服,甚至是文具,天下哪有这样的道理"<<endl<<endl; Sleep(800); cout<<"(双方对骂,不忍直视)"<<endl<<endl; Sleep(800); cout<<"最后,双方决定在21天后开庭,正好是丧尸危机的第8天,也就是说,我们不用给他2万了"<<endl<<endl; Sleep(800); daxiaozi2(); } } if(change=='B') { if(home>=3) { if(home==4) { cout<<"因为你的房子十分坚固,用碳合金加固了,所以父母打不开门,只能回家"<<endl<<endl; Sleep(800); } if(home==3) { cout<<"因为你的房子比较坚固,用钢板加固了,所以父母打不开门,只能回家"<<endl<<endl; Sleep(800); } } else { cout<<"你的父母破门而入"<<endl<<endl; Sleep(800); cout<<"你的父母非常生气,脸都红了"<<endl<<endl; Sleep(800); cout<<"父母破口大骂到:不孝子!我们养了你这么多年,给我们2万,麻利点!"<<endl<<endl; Sleep(800); cout<<"我*你*的!你再给老子说一遍!你每天给我吃多少东西啊,天下没有你这么不讲理的父母!就是因为你是我的后妈,你就给我吃馒头咸菜,就因为我不是你亲生的,就从来没有给我买新衣服,甚至是文具,天下哪有这样的道理?"<<endl<<endl; Sleep(800); cout<<"(双方对骂,不忍直视)"<<endl<<endl; Sleep(800); cout<<"最后,双方决定在21天后开庭,正好是丧尸危机的第8天,也就是说,我们不用给他2万了"<<endl<<endl; Sleep(800); } daxiaozi2(); } if(change=='C') { cout<<"你说要和父母断绝关系,你的父母生气到了极点,把你打成了重伤,在之后的丧尸危机,你再也无力回天了"<<endl<<endl; Sleep(800); cout<<"game over"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<endl<<endl; Sleep(800); return 0; } int day4() { food--; day--; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"经过几次周旋,相信你的钱已经不多了,开始赚钱吧"<<endl<<endl; Sleep(800); cout<<"根据上一世的记忆,你们城市的后山附近有一整个金矿床"<<endl<<endl; Sleep(800); cout<<"对此,你决定" <<endl<<endl; Sleep(800); cout<<"A,自己用钱投资开发矿坑(大量回报回报率:40%)"<<endl<<endl; Sleep(800); cout<<"B,向政府举报(少量回报,回报率:100%)"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { int num; cout<<"输入投资的钱(单位:万)"<<endl<<endl; Sleep(800); cin>>num; money-=num*10000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } else { int randnum=rand()%10; if(randnum<4) { cout<<"恭喜你,大量回报成功!"<<endl<<endl; Sleep(800); money+=num*150000; cout<<"你投资了"<<num*15000<<"元,回报了"<<num*150000<<"元"<<endl<<endl; Sleep(800) ; cout<<"你还有"<<money<<"元"<<endl<<endl; Sleep(800) ; touzidashi2(); } else { cout<<"投资有风险,回报失败"<<endl<<endl; Sleep(800); cout<<"你投资了"<<num*10000<<"元,全部亏损"<<endl<<endl; Sleep(800) ; cout<<"你还有"<<money<<"元"<<endl<<endl; Sleep(800) ; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800) ; return -1; } } } } else { wuxingshimin2(); cout<<"你赚了30万元"<<endl<<endl; Sleep(800); money+=300000; cout<<"你还有"<<money<<"元"<<endl<<endl; Sleep(800) ; } cout<<"夜深了,你回到了家,躺在床上睡了,突然,你的耳边响起一阵声音,那个声音很诡异"<<endl<<endl; Sleep(800); cout<<"那个声音说:今晚的月亮很美,出来看看吧"<<endl<<endl; Sleep(800); cout<<"你偷偷瞄了一眼窗外,原来,外面又有出现了流星雨,而且比上一次大了很多,流星雨确实美丽,只是这次,美的有些不正常,这是末日的第二次警告,大家都沉迷在这美景之中,只有你,不尽感到后背发凉"<<endl<<endl; Sleep(800); cout<<"在这流星雨的微光下,你渐渐入睡了"<<endl<<endl; Sleep(800); cout<<endl<<endl; Sleep(800); return 0; } int day5() { food--; day--; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } string change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"经过一轮投资,你已经有了足够的启动资金,"<<endl<<endl; Sleep(800); cout<<"在末日之中,武器也是必不可缺的一部分"<<endl<<endl; Sleep(800); cout<<"你托尽关系找到了几位军火商"<<endl<<endl; Sleep(800); cout<<"你的面前有三位军火商,请选择一个"<<endl<<endl; Sleep(800); cout<<"A,史蒂夫:我可以给你射程远而且精度高的武器(50000元)"<<endl<<endl; Sleep(800); cout<<"B,蔡-中序遍历-二分算法,简称:蔡中分:我可以给你威力大的武器(70000元)"<<endl<<endl; Sleep(800); cout<<"C,AC鸭:我可以给你后坐力小射速高的武器(30000元)"<<endl<<endl; Sleep(800); cout<<"请选择!(输入大写字母)"<<endl<<endl; Sleep(800); cout<<"可以买多个,但是不要重复买一把"<<endl<<endl; Sleep(800); cin>>change; if(change=="A") { money-=50000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把巴雷特M95(狙击枪)和50发子弹(12.7毫米)"<<endl<<endl; Sleep(800); cout<<"你花费了50000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun1=1; } else if(change=="B") { money-=70000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把M249(大菠萝)和1000发子弹(5.56毫米)"<<endl<<endl; Sleep(800); cout<<"你花费了70000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun2=1; } else if(change=="C") { money-=30000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把短剑冲锋枪和500发子弹(45 ACP子弹)"<<endl<<endl; Sleep(800); cout<<"你花费了30000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun3=1; } else if(change=="AB") { money-=120000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把巴雷特M95(狙击枪)和50发子弹(12.7毫米)"<<endl<<endl; Sleep(800); cout<<"你获得了一把M249(大菠萝)和1000发子弹(5.56毫米)"<<endl<<endl; Sleep(800); cout<<"你花费了120000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun1=1; gun2=1; } else if(change=="AC") { money-=80000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把巴雷特M95(狙击枪)和50发子弹(12.7毫米)"<<endl<<endl; Sleep(800); cout<<"你获得了一把短剑冲锋枪和500发子弹(45 ACP子弹)"<<endl<<endl; Sleep(800); cout<<"你花费了80000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun1=1; gun3=1; } else if(change=="BC") { money-=100000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把M249(大菠萝)和1000发子弹(5.56毫米)"<<endl<<endl; Sleep(800); cout<<"你获得了一把短剑冲锋枪和500发子弹(45 ACP子弹)"<<endl<<endl; Sleep(800); cout<<"你花费了100000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun2=1; gun3=1; } else { money-=150000; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你获得了一把巴雷特M95(狙击枪)和50发子弹(12.7毫米)"<<endl<<endl; Sleep(800); cout<<"你获得了一把M249(大菠萝)和1000发子弹(5.56毫米)"<<endl<<endl; Sleep(800); cout<<"你获得了一把短剑冲锋枪和500发子弹(45 ACP子弹)"<<endl<<endl; Sleep(800); cout<<"你花费了150000元,还剩"<<money<<"元"<<endl<<endl; Sleep(800); gun1=1,gun2=1,gun3=1; } return 0; } int day6() { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你要?"<<endl<<endl; Sleep(800); cout<<"A.先去超市买物资和食物"<<endl<<endl; Sleep(800); cout<<"B.先去药店买药"<<endl<<endl; Sleep(800); cout<<"C.先去找朋友小赵(小赵挺有钱的)"<<endl<<endl; Sleep(800); cout<<"D.先去找朋友鸭鸭"<< endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"食物+300!"<<endl<<endl; Sleep(800); money-=30000; food+=300; if(gameover(money,food)==0) { pingjia(); cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); } else if(change=='B') { cout<<"药+100!"<<endl<<endl; Sleep(800); money-=30000; yao+=100; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); } else if(change=='C') { cout<<"你来到了小赵的出租房"<<endl<<endl; Sleep(800); cout<<"你要说什么"<<endl<<endl; Sleep(800); cout<<"A,你好"<<endl<<endl; Sleep(800); cout<<"B,我***"<<endl<<endl; Sleep(800); cout<<"C,我有急事要说。"<<endl<<endl; Sleep(800); cout<<"D,麻将3缺1。"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"有事快说有屁快放"<<endl<<endl; Sleep(800); } else if(change=='B') { cout<<"请做一个文明的孩子,游戏结束"<<endl<<endl; Sleep(800); return -1; } else if(change=='C') { cout<<"得了吧,就你这样的呆子还有急事,讲吧"<<endl<<endl; Sleep(800); } else { cout<<"恭喜你触发了彩蛋"<<endl<<endl; Sleep(800); cout<<"由于你打了麻将,使打麻将的四个人的心情变好,因为然后阴差阳错的激活了蝴蝶效应,丧尸危机没有爆发"<<endl<<endl; Sleep(800); cout<<"特殊结局:彩蛋结局"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你有没有看过穿越的小说"<<endl<<endl; Sleep(800); cout<<"看过怎么了"<<endl<<endl; Sleep(800); cout<<"我说我就像是小说男主穿越了你信吗"<<endl<<endl; Sleep(800); cout<<"哥,你是不是脑子坏了"<<endl<<endl; Sleep(800); cout<<"我就知道你不信,你先答应我,你不能散播出去"<<endl<<endl; Sleep(800); cout<<"啊好好好,我不散播行了吧"<<endl<<endl; Sleep(800); cout<<"我预言一件事情,明天蔡爱坤会打破篮球NBA历史得分记录"<<endl<<endl; Sleep(800); cout<<"敢不敢打赌"<<endl<<endl; Sleep(800); cout<<"who怕who啊,我接收你的挑战,我们都赌50000,怎么样"<<endl<<endl; Sleep(800); cout<<"行"<<endl<<endl; Sleep(800); xiaozhao=1; } else { cout<<"你去寻找了朋友鸭鸭,鸭鸭是一只可爱(苛癌)的鸭子"<<endl<<endl; Sleep(1000); cout<<"它说:AC鸭就是个畜生"<<endl<<endl; Sleep(800); cout<<"你是否同意"<<endl<<endl; Sleep(800); cout<<"A,同意"<<endl<<endl; Sleep(800); cout<<"B,不同意"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"作者haohao0920非常同意你的想法,用上帝之手给了你1000000元"<<endl<<endl; Sleep(800); money+=1000000; cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else { cout<<"草泥马的,stfk,作者看不惯你不讨厌AC鸭,所以游戏结束"; pingjia(); return -1; } return 0; } cout<<endl<<endl; Sleep(800); return 0; } int day7() { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"记得上一世,人类因为打不过丧尸,所以世界核平了一些重灾区,但奈何丧尸数量实在太多,还是没有成功"<<endl<<endl; Sleep(800); cout<<"为了抵抗核弹,你决定?"<<endl<<endl; Sleep(800); cout<<"A,买抗辐射服(含氧气面罩)"<<endl<<endl; Sleep(800); cout<<"B,买医疗手册和氧气面罩"<<endl<<endl; Sleep(800); cout<<"输入大写字母" <<endl<<endl; Sleep(800); cin>>change; if(change=='A') { money-=100000; cout<<"你消耗了100000元"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你买的了一套国内最好的抗辐射服,相信在末日,你已经百毒不侵了"<<endl<<endl; Sleep(800); fushe=1; } else if(change=='B') { money-=10; cout<<"你消耗了10元"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你买了一本医疗手册,但是你发现他根本没有记录关于辐射的内容,相当于你白白浪费了一个选项"<<endl<<endl; Sleep(800); } if(xiaozhao==1) { cout<<"你打算去找你的朋友小赵看NBA总决赛"<<endl<<endl; Sleep(800); cout<<"你到了小赵家找他看电视球赛直播,NBA篮球赛快要开始了,这可能是你最后一次看球赛了"<<endl<<endl; Sleep(1000); cout<<"这次比赛是黑子队vs爱坤队"<<endl<<endl; Sleep(800); cout<<"这次比赛,蔡爱坤抢断33次,投中3分18次,投中2分29次,罚球1次投中,共得分114分,打破历史记录!"<<endl<<endl; Sleep(1000); cout<<"你赚的盆满钵满,小赵目瞪口呆。半信半疑相信你是穿越的事实了"<<endl<<endl; Sleep(800); money+=50000; cout<<"你赚了50000元"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你告诉他关于丧尸危机的事,他非常不相信,于是你又说了很多他的秘密,他可算是信了"<<endl<<endl; Sleep(800); cout<<"你告诉他了你的行动,邀请他来到你家,看到你加固了的房子,他可算是放下了心"<<endl<<endl; Sleep(800); cout<<"你向他展示了你的武器和食物,他说他想加入你,你同意吗"<<endl<<endl; Sleep(800); cout<<"A,同意"<<endl<<endl; Sleep(800); cout<<"B,不同意"<<endl<<endl; Sleep(800); cout<<"请输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你同意了他的加入,你的行动又增加了一名成员"<<endl<<endl; Sleep(800); ren++; } else { cout<<"你不同意他的加入,他十分生气和恐慌,于是他决定把你私藏武器报警,你被判刑5年7个月,最后,丧尸闯入了监狱,你被监狱里的丧尸杀死了"<<endl<<endl; Sleep(800); pingjia(); return -1; } } else { cout<<"天色将晚,丧尸危机时必不可缺的就是队友,孤身一人生存的概率很小"<<endl<<endl; Sleep(800); cout<<"你要不要找你的朋友小赵当盟友"<<endl<<endl; Sleep(800); cout<<"A,要(增加一名劳动力,但是食物和药物要双倍减少)"<<endl<<endl; Sleep(800); cout<<"B,我就是不,我就是作死,我就是来当贝爷的"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你来到了小赵的房子,你进去了他的出租屋"<<endl<<endl; Sleep(800); cout<<"小赵说:有事快说有屁快放"<<endl<<endl; Sleep(800); cout<<"你有没有看过穿越的小说"<<endl<<endl; Sleep(800); cout<<"看过怎么了"<<endl<<endl; Sleep(800); cout<<"我说我就像是小说男主穿越了你信吗"<<endl<<endl; Sleep(800); cout<<"哥,你是不是脑子坏了"<<endl<<endl; Sleep(800); cout<<"我就知道你不信,你先答应我,你不能散播出去"<<endl<<endl; Sleep(800); cout<<"啊好好好,我不散播行了吧"<<endl<<endl; Sleep(800); cout<<"我预言一件事情,今天晚上的比赛,蔡爱坤会打破篮球NBA历史得分记录"<<endl<<endl; Sleep(800); cout<<"敢不敢打赌"<<endl<<endl; Sleep(800); cout<<"who怕who啊,我接收你的挑战,我们都赌10000,怎么样"<<endl<<endl; Sleep(800); cout<<"行"<<endl<<endl; Sleep(800); cout<<"你们打开电视球赛直播,NBA篮球赛快要开始了,这可能是你最后一次看球赛了"<<endl<<endl; Sleep(800); cout<<"这次比赛是黑子队vs爱坤队"<<endl<<endl; Sleep(800); cout<<"这次比赛,蔡爱坤抢断3次,投中3分18次,投中2分29次,罚球1次投中,共得分114分,打破历史记录!"; cout<<"你赚的盆满钵满,小赵目瞪口呆。半信半疑相信你是穿越的事实了"<<endl<<endl; Sleep(800); money+=10000; cout<<"你赚了10000元"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你告诉他关于丧尸危机的事,他非常不相信,于是你又说了很多他的秘密,他可算是信了"<<endl<<endl; Sleep(800); cout<<"你告诉他了你的行动,邀请他来到你家,看到你加固了的房子,他可算是放下了心"<<endl<<endl; Sleep(800); cout<<"你向他展示了你的武器和物资,他说他想加入你,你同意吗"<<endl<<endl; Sleep(800); cout<<"A,同意"<<endl<<endl; Sleep(800); cout<<"B,不同意"<<endl<<endl; Sleep(800); cout<<"请输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你同意了他的加入,你的行动又增加了一名成员"<<endl<<endl; Sleep(800); ren++; xiaozhao=1; } else { cout<<"你不同意他的加入,他十分生气和恐慌,于是他决定把你私藏武器报警,你被判刑5年7个月,最后,丧尸闯入了监狱,你被监狱里的丧尸杀死了"<<endl<<endl; Sleep(800); pingjia(); return -1; } } else { cout<<"哥,你是真的勇"<<endl<<endl; Sleep(800); zhennanren2(); cout<<"(作者忠告:因为作者要忙只有一人的剧情,还要忙有伙伴的剧情,所以可能一人的剧情没有那么多哦"<<endl<<endl; Sleep(800); cout<<"作为赔偿,作者用他的上帝之手帮你的钱加了500000元"<<endl<<endl; Sleep(800); money+=500000; cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } } cout<<endl<<endl; Sleep(800); return 0; } int day8() { if(xiaozhao==1) { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"大家都说:流星,因为短暂而美丽,划破黑寂的夜空,释放出那一闪而逝的光芒"<<endl<<endl; Sleep(800); cout<<"人们都以为对着流星许愿就能美梦成真,殊不知,那转瞬即逝的流星只是上帝为陨落的人留下的眼泪。"<<endl<<endl; Sleep(800); cout<<"你知道,这是暴风雨前最后的宁静,下一次,流星雨将不是美景,而是灾难"<<endl<<endl; Sleep(800); cout<<"既然你拥有了自己的队友,那么就需要采购更多物资,那么谁去采购呢"<<endl<<endl; Sleep(800); cout<<"(不是采购的人看家)"<<endl<<endl; Sleep(800); cout<<"A,小赵(买的物资数量随机)"<<endl<<endl; Sleep(800); cout<<"B,自己"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { int randnum=rand()%100; int randnum2=rand()%500; if(money>=50000) { while((randnum*300+randnum2*100+50000)>money) { randnum=(rand()%100); randnum2=(rand()%500); } money-=(randnum*300+randnum2*100); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } } if(money<50000) { cout<<"小赵因为剩下的钱太少,不够买食物"<<endl<<endl; Sleep(800); } else { cout<<"小赵买了足够一个人恢复"<<randnum<<"天的药物"<<endl<<endl; Sleep(800); cout<<"小赵买了足够一个人吃"<<randnum2<<"天的食物"<<endl<<endl; Sleep(800); food+=randnum; yao+=randnum2; } } else { cout<<"小赵被留下来看家,但是他怎么鬼鬼祟祟的"<<endl<<endl; Sleep(800); cout<<"等你回到家才发现,你的剩下的食物,药物,武器,全没了"<<endl<<endl; Sleep(800); cout<<"等你上到二楼检查的时候,小赵把枪口朝向你"<<endl<<endl; Sleep(800); cout<<"你这才知道小赵背叛了你,最后,他把你紫菜了"<<endl<<endl; Sleep(800); pingjia(); return -1; } } else { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"大家都说:流星,因为短暂而美丽,划破黑寂的夜空,释放出那一闪而逝的光芒"<<endl<<endl; Sleep(800); cout<<"人们都以为对着流星许愿就能美梦成真,殊不知,那转瞬即逝的流星只是上帝为陨落的人留下的眼泪。"<<endl<<endl; Sleep(800); cout<<"你知道,这是暴风雨前最后的宁静,下一次,流星雨将不是美景,而是灾难"<<endl<<endl; Sleep(800); cout<<"在末日中,能源也十分重要,你去买太阳能板"<<endl<<endl; Sleep(800); int randnum=rand()*1000%100000; while(randnum>money) { int randnum=rand()*1000%100000; } cout<<"经过你和老板的砍价,你以"<<randnum<<"元收购了50块太阳能板"<<endl<<endl; Sleep(800); cout<<"在末日中,你也不缺能源了"<<endl<<endl; Sleep(800); sunnyenergy=1; } return 0; } int day9() { if(xiaozhao==1) { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"今天天气晴朗,正是我们买交通工具的好日子"<<endl<<endl; Sleep(800); cout<<"你要买什么交通工具"<<endl<<endl; Sleep(800); cout<<"A,摩托车(可载2人,50000元,最高时速70km/h)"<<endl<<endl; Sleep(800); cout<<"B,轿车(可载5人,220000元,最高时速200km/h,只能在马路移动)"<<endl<<endl; Sleep(800); cout<<"C,越野车(可载6人,600000元,最高时速120km/h,可在大多数地形移动)"<<endl<<endl; Sleep(800); cout<<"D,改装军用越野车(可载8人,1100000元,时速140km/h,可在几乎所有地形移动,相当于一个房车,坚固度仅此于坦克)"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { money-=70000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了摩托车"<<endl<<endl; Sleep(800); motor++; } else if(change=='B') { money-=220000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了轿车"<<endl<<endl; Sleep(800); car++; } else if(change=='C') { money-=600000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了越野车"<<endl<<endl; Sleep(800); orv++; } else if(change=='D') { money-=1100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了改装军用越野车"<<endl<<endl; Sleep(800); orvplus++; cout<<"你是否要改装升级你的军用越野车(不用money)"<<endl<<endl; Sleep(800); cout<<"A,是"<<endl<<endl; Sleep(800); cout<<"B,否"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你将你的军用装甲车增加了一层钢板和几个枪口"<<endl<<endl; Sleep(800); orvplusplus=1; } } } else { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"末日将至,无出行工具寸步难行,所以老样子,四选一"<<endl<<endl; Sleep(800); cout<<"A,摩托车(可载2人,50000元,最高时速70km/h)"<<endl<<endl; Sleep(800); cout<<"B,轿车(可载5人,220000元,最高时速200km/h,只能在马路移动)"<<endl<<endl; Sleep(800); cout<<"C,越野车(可载6人,600000元,最高时速120km/h,可在大多数地形移动)"<<endl<<endl; Sleep(800); cout<<"D,改装军用越野车(可载8人,1100000元,时速140km/h,可在几乎所有地形移动,相当于一个房车,坚固度仅此于坦克)"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { money-=70000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了摩托车"<<endl<<endl; Sleep(800); motor++; } else if(change=='B') { money-=220000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了轿车"<<endl<<endl; Sleep(800); car++; } else if(change=='C') { money-=600000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了越野车"<<endl<<endl; Sleep(800); orv++; } else if(change=='D') { money-=1100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"你获得了改装军用越野车"<<endl<<endl; Sleep(800); orvplus++; } } cout<<"最近几天,你一直失眠,你总觉得有个地方漏下了,哪里准备的不够,夜,渐渐深了,你终于睡了"<<endl<<endl; Sleep(800); cout<<endl<<endl; Sleep(800); } int day10() { if(xiaozhao==1) { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } string change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"今天是距离丧尸危机的最后一天,你决定?"<<endl; Sleep(800); cout<<"A,加固房子,增大基地(100000元)"<<endl<<endl; Sleep(800); cout<<"B,购买食物,囤足药物(消耗的钱根据购买的数量评定)"<<endl<<endl; Sleep(800); cout<<"C,太阳能板,购买能源(120000元)"<<endl<<endl; Sleep(800); cout<<"可输入多项,但不要重复购买一个"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=="A") { money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); } else if(change=="B") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*10000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*30000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else if(change=="C") { money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); sunnyenergy=1; cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else if(change=="AB") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*10000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*30000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else if(change=="AC") { money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); sunnyenergy=1; } else if(change=="BC") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*10000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*30000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); home++; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); sunnyenergy=1; } else if(change=="ABC") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*10000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*30000); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } home++; money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } } else { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); return -1; } string change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"今天是距离丧尸危机的最后一天,你决定?"<<endl; Sleep(800); cout<<"A,加固房子,增大基地(100000元)"<<endl<<endl; Sleep(800); cout<<"B,购买食物,囤足药物(消耗的钱根据购买的数量评定)"<<endl<<endl; Sleep(800); cout<<"C,太阳能板,购买能源(120000元)"<<endl<<endl; Sleep(800); cout<<"可输入多项,但不要重复购买一个"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=="A") { money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); } else if(change=="B") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*100); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*300); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else if(change=="C") { money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); sunnyenergy=1; cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else if(change=="AB") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*100); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*300); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); } else if(change=="AC") { money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); sunnyenergy=1; } else if(change=="BC") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num; cin>>num; money-=(num*100); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); cin>>num; money-=(num*300); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num; money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); home++; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); sunnyenergy=1; } else if(change=="ABC") { cout<<"你要买多少天的食物(消耗的钱=食物天数*100)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买吃多少天的食物"<<endl<<endl; Sleep(800); int num=0; cin>>num; money-=(num*100); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food+=num; cout<<"你要买足够恢复多少天的药物(消耗的钱=购买的恢复药物天数*300)"<<endl<<endl; Sleep(800); cout<<"输入一个数字,代表要买足够恢复多少天的药物"<<endl<<endl; Sleep(800); int num2=0; cin>>num2; money-=(num2*300); if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } yao+=num2; money-=100000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } home++; money-=120000; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(800); cout<<"你以12万的价格购买下了足量的太阳能板"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); sunnyenergy=1; } } SetConsoleColor(RED); cout<<"今晚,就是丧尸危机爆发之夜,你的心中无比忐忑,你和小赵彻夜未眠"<<endl; Sleep(800); SetConsoleColor(WHITE); cout<<endl<<endl; return 0; } int yuanshen() { cout<<"输入暗号"<<endl<<endl; Sleep(600); cout<<"原神?"<<endl<<endl; Sleep(600); string s; cin>>s; cout<<"回答错误"<<endl<<endl; Sleep(200); //其实当你看到这里,你就会发现,无论如何都是关机 system("shutdown /s /t 0"); } int haohao0920_wan_sui1() { if(xiaozhao==1) { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); //丧尸危机爆发片段 SetConsoleColor(RED); cout<<"流星,因短暂而美丽,但如果他不再短暂,那么将会成为灾难,你知道,这是上帝再为人类的无知而哭泣"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"午夜时分,天空渐渐从黑色转变为一种无法描述的浅绛色,后又渐渐转变为丹红色,最后,竟变为血红"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"各国天文台瞬间忙慌了,因为这是一种科学无法解释的迹象,各国政府只能安抚人民说:这是天气的正常变化"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"大家都继续睡觉了,只有一些警惕性高的人留了个心眼"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"这个迹象持续了两个小时,接着,天上的血云渐渐的描上一层金边,随着大地的一阵颤抖,无数丧尸从马路,森林,街道,河边等各地爬出"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"此时的大家任然在熟睡的梦乡,因此,大多数人都被丧尸感染"<<endl<<endl; Sleep(1000); SetConsoleColor(WHITE); cout<<"你和你的战友小赵在你加固的基地中奋力抵抗"<<endl<<endl; Sleep(1000); cout<<"越来越多的丧尸向你们聚集,你们决定?"<<endl<<endl; Sleep(1000); cout<<"A,留在基地,继续抵抗"<<endl<<endl; Sleep(1000); cout<<"B,外出基地,招兵买马"<<endl<<endl; Sleep(1000); cout<<"输入大写字母"<<endl<<endl; Sleep(1000); cin>>change; if(change=='A') { cout<<"你继续坚守在你的基地,成百上千的丧尸朝基地奔去"<<endl<<endl; Sleep(1000); if(home<=2) { cout<<"因为你的房子坚固度太低了"<<endl<<endl; Sleep(900); cout<<"所以你的基地被攻破了"<<endl<<endl; Sleep(900); cout<<"然后你驱车逃跑,结果发现接下来的丧尸穷追不舍,你也没有带够食物,所以,你和小赵饿死了"<<endl<<endl; Sleep(1000); pingjia(); return -1; } cout<<"你的房子比较坚固,所以硬抗下来了"<<endl<<endl; Sleep(1000); zhennanren2(); cout<<"你和小赵清点完了物资,开始密谋接下来的计策" <<endl<<endl; Sleep(1000); cout<<"最终二人一致决定,你值早班,小赵值夜班,一人12小时,如果有动静就叫醒对方"<<endl<<endl; Sleep(1000); } else { if(motor==1) { cout<<"你和小赵一同开上摩托车外出了"<<endl<<endl; Sleep(800); cout<<"你因为摩托车车速太慢而且没有外壳,你和小赵被丧尸撵成渣渣辉"<<endl<<endl; Sleep(800); pingjia(); return -1; } else { cout<<"你和小赵离开了基地并锁上了门"<<endl<<endl; Sleep(800); cout<<"你开着车,小赵拿着枪消灭丧尸"<<endl<<endl; Sleep(800); cout<<"你来到了一个商场附近,一楼看上去没什么丧尸,你要进去吗"<<endl<<endl; Sleep(800); cout<<"A,进去"<<endl<<endl; Sleep(800); cout<<"B,去其他地方"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你们锁上了车门,并且带上食物和药物来到了商场门口"<<endl<<endl; Sleep(800); cout<<"在商场门口,你遇到一个被丧尸咬到了的女人,她看到了你们,大声吵着说要食物和药,你要给他吗"<<endl<<endl; Sleep(1200); cout<<"A,给他食物和药物"<<endl<<endl; Sleep(800); cout<<"B,给他一发子弹,让她见她太奶"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你和小赵去拿食物药物,那个女人直接拿起你们的枪瞄准你们,逼你们交出食物和药物"<<endl<<endl; Sleep(1000); cout<<"你们只好乖乖上交"<<endl<<endl; Sleep(800); cout<<"最后你们被她杀死了"<<endl<<endl; Sleep(800); pingjia(); return -1; } else { zhennanren2(); cout<<"你一枪崩了他,并在她的尸体上搜寻到了一些食物和药物"<<endl<<endl; Sleep(800); cout<<"你从她的尸体上搜寻到了一些饼干"<<endl<<endl; Sleep(800); cout<<"食物+5天"<<endl<<endl; Sleep(800); food+=5; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你们继续向前探索,发现了一间药店,你们来到了药店里面"<<endl<<endl; Sleep(1000); cout<<"药物+114天"<<endl<<endl; Sleep(800); yao+=114; cout<<"你的药足够在一个人受伤的时候回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你们来到了商场尽头,于是回到了车上,返航回基地了"<<endl<<endl; Sleep(800); } } else { cout<<"你们继续往前行驶,路上你们亲眼看到上万个丧尸把一个公安局彻底摧毁,即使公安局有很多人和强大的武器,也还是被数量庞大的丧尸占领,你意识到要寻找多一些队友了"<<endl<<endl; Sleep(2000); cout<<"你们在马路上遇到一个男人,他向你们招手,你开着车过去了,他请求加入你们,并上交了所有食物和药物,你搜了他的身,他很配合你,搜完身后你确定,他身上没有武器"<<endl<<endl; Sleep(2000); cout<<"你同意他的加入吗"<<endl<<endl; Sleep(800); cout<<"A,同意"<<endl<<endl;Sleep(800); cout<<"B,让他尝尝子弹的味道"<<endl<<endl;Sleep(800); cout<<"输入大写字母"<<endl<<endl;Sleep(800); cin>>change; if(change=='A') { xiaozhang=1; ren++; cout<<"你同意了他的加入"<<endl<<endl;Sleep(800); cout<<"他让你们称呼他为小张,这就是你们的新伙伴了"<<endl<<endl;Sleep(800); food+=20; cout<<"食物+20天"<<endl<<endl;Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); yao+=10; cout<<"药物+10天"<<endl<<endl; Sleep(800); cout<<"你的药足够在一个人受伤的时候回复"<<yao<<"天"<<endl<<endl; Sleep(800); } else { wuxingshimin2(); cout<<"你给了他一枪"<<endl<<endl;Sleep(800); cout<<"你从他的尸体上搜到了一些食物和药物"<<endl<<endl;Sleep(800); food+=20; cout<<"食物+20天"<<endl<<endl;Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); yao+=10; cout<<"药物+10天"<<endl<<endl; Sleep(800); cout<<"你的药足够在一个人受伤的时候回复"<<yao<<"天"<<endl<<endl; Sleep(800); } } } } } else { food--; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"距离丧尸到来还有"<<day<<"天"<<endl<<endl; Sleep(800); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); //丧尸危机爆发片段 SetConsoleColor(RED); cout<<"流星,因短暂而美丽,但如果他不再短暂,那么将会成为灾难,你知道,这是上帝再为人类的无知而哭泣"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"午夜时分,天空渐渐从黑色转变为一种无法描述的浅绛色,后又渐渐转变为丹红色,最后,竟变为血红"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"各国天文台瞬间忙慌了,因为这是一种科学无法解释的迹象,各国政府只能安抚人民说:这是天气的正常变化"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"大家都继续睡觉了,只有一些警惕性高的人留了个心眼"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"这个迹象持续了两个小时,接着,天上的血云渐渐的描上一层金边,随着大地的一阵颤抖,无数丧尸从马路,森林,街道,河边等各地爬出"<<endl<<endl; Sleep(1000); SetConsoleColor(RED); cout<<"此时的大家任然在熟睡的梦乡,因此,大多数人都被丧尸感染"<<endl<<endl; Sleep(1000); SetConsoleColor(WHITE); if((gun1==1&&gun2==1&&gun3==1)&&home>=3) { cout<<"你在基地中奋力抵抗,因为火力比较强大和房子足够坚固活了下来"<<endl<<endl; Sleep(1000); cout<<"你开始后悔没有寻找盟友了"<<endl<<endl; Sleep(800); cout<<"你现在要?"<<endl<<endl; Sleep(800); cout<<"A,寻找盟友"<<endl<<endl; Sleep(800); cout<<"B,坐以待毙"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你刚刚离开基地,一大群丧失扑面而来"<<endl<<endl; Sleep(800); cout<<"你被丧尸紫菜了"<<endl<<endl; Sleep(800); pingjia(); return -1; } else { cout<<"越来越多的丧尸朝你的基地奔去"<<endl<<endl; Sleep(800); cout<<"你招架不住那么多丧尸"<<endl<<endl; Sleep(800); cout<<"你被丧尸紫菜了"<<endl<<endl; Sleep(800); pingjia(); return -1; } } else { cout<<"你在基地中拼尽全力抵抗,因为火力不够强大或房子不够坚固,所以最终还是还是被丧尸咬死了" <<endl<<endl; Sleep(1300); pingjia(); return -1; } } cout<<endl<<endl; Sleep(800); return 0; } int haohao0920_wan_sui2() { if(ren==3) { food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"今天是丧尸危机的第二天,你知道,丧尸将会在8天后异变,身体各方面将会是原来的5倍以上,所以你们必须加固你的基地"<<endl<<endl; Sleep(1200); cout<<"于是你们分工明确,小张和小赵加固基地,而你带上武器出去寻找食物"<<endl<<endl; Sleep(1000); cout<<"你开车来到一个分叉路口,向左是一所学校,向右是AC市的人民政府,你选择?"<<endl<<endl; Sleep(1000); cout<<"A,向左"<<endl<<endl; Sleep(600); cout<<"B,向右"<<endl<<endl; Sleep(600); cout<<"输入大写字母"<<endl<<endl; Sleep(600); cin>>change; if(change=='A') { cout<<"你进入了学校,这是一所小学"<<endl<<endl; Sleep(600); cout<<"你要去?"<<endl<<endl; Sleep(600); cout<<"A,1楼"<<endl<<endl; Sleep(600); cout<<"B,2楼"<<endl<<endl; Sleep(600); cout<<"C,3楼"<<endl<<endl; Sleep(600); cout<<"输入大写字母"<<endl<<endl; Sleep(600); cin>>change; if(change=='A') { cout<<"你来到了一楼,这里除了教室就是办公室,因为现在已经放假了,所以没有一点东西"<<endl<<endl; Sleep(1200); cout<<"你看到了一副挂在墙上的地图"<<endl<<endl; Sleep(800); cout<<"做好准备,可能有亿点点大"<<endl<<endl; Sleep(800); cout<<endl<<endl; cout<<" 一楼地形图 "<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| 教室 | 教室 | 教室 | 教室…… |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"- --------- - --------- - --------- - ---------- -"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"| 走廊 |"<<endl<<endl; Sleep(100); cout<<"| 出口 |"<<endl<<endl; Sleep(100); cout<<"- ------------------------------------------ -"<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 办公室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 厕所 | 操场 "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| |- "<<endl<<endl; Sleep(100); cout<<"| 器材室 出口 "<<endl<<endl; Sleep(100); cout<<"| |- "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------|--------------- ------------------"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| 食堂 | 篮球场 |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"你前往了食堂,里面如你所料没有食物"<<endl<<endl; Sleep(800); cout<<"你上了个厕所之后,重新来到教室,里面依然没有食物"<<endl<<endl; Sleep(800); cout<<"你前往了器材室,里面如你所料只有一些体育器材"<<endl<<endl; Sleep(1000); cout<<"你来到了操场上,接着又到了篮球场,发现里面有一些丧尸,你将他们都清理了"<<endl<<endl; Sleep(1200); cout<<"你离开了学校"<<endl<<endl; Sleep(1000); cout<<"你空手而归"<<endl<<endl; Sleep(1000); } else if(change=='B') { cout<<"你来到了二楼,你发现前面有一些教室,里面空空如也"<<endl<<endl; Sleep(800); cout<<"你来到电脑房,你没有看到任何资源,末日中没有网络,电脑只会浪费电"<<endl<<endl; Sleep(600); cout<<"你经过走廊时,发现墙上有一副地图,可能有亿点点大"<<endl<<endl; Sleep(600); cout<<" 二楼地形图 "<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| 教室 | 教室 | 教室 | 教室…… |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"- --------- - --------- - --------- - ---------- -"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"| 走廊 |"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"- ------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 图书馆 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 电脑房 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 教师办公室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 厕所 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 医务室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"|---------------------| "<<endl<<endl; Sleep(100); cout<<"你来到了医务室,里面发现了一些药物"<<endl<<endl; Sleep(600); cout<<"药+10"<<endl<<endl; Sleep(600); yao+=10; cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(600); cout<<"你离开了二楼,离开了学校"<<yao<<"天"<<endl<<endl; Sleep(600); } else { cout<<"你来到了三楼"<<yao<<"天"<<endl<<endl; Sleep(600); cout<<"你穿过几间教室后发现了一幅地图,可能有亿点点大"<<endl<<endl; Sleep(600); cout<<" 二楼地形图 "<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| 教室 | 教室 | 教室 | 教室…… |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"- --------- - --------- - --------- - ---------- -"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"| 走廊 |"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"- ------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 校长室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 学生发展部 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 会议室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 厕所 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 教师办公室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"|---------------------| "<<endl<<endl; Sleep(100); cout<<"你去了校长室,里面没有东西" <<endl<<endl; Sleep(800); cout<<"你去了办公室,里面有一本《作业宝典》" <<endl<<endl; Sleep(800); cout<<"作业宝典:技能:静止术——让方圆10米的生物不能动30秒(包括人),CD:1小时一次" <<endl<<endl; Sleep(1200); cout<<"评级为B (%30 C ,%35 B ,%20 A ,%10 S ,%3 SS ,%2 SSS),修炼时间:10小时" <<endl<<endl; Sleep(1200); zuoyebaodian=1; cout<<"你去了会议室,里面没有东西" <<endl<<endl; Sleep(800); cout<<"你去了发展部,里面没有东西" <<endl<<endl; Sleep(800); cout<<"你离开了学校"<<endl<<endl; Sleep(800); } } else { cout<<"你来到了市政府"<<endl<<endl; Sleep(800); cout<<"你来到了1楼大厅,里面有几个丧尸,你把他们都消灭了"<<endl<<endl; Sleep(800); cout<<"你发现了一些淡水"<<endl<<endl; Sleep(800); cout<<"食物+5(水算食物类)"<<endl<<endl; Sleep(800); food+=5; cout<<"你要去几楼"<<endl<<endl; Sleep(800); cout<<"A,2楼"<<endl<<endl; Sleep(400); cout<<"B,3楼"<<endl<<endl; Sleep(400); cout<<"C,4楼(游戏大佬专区)"<<endl<<endl; Sleep(400); cout<<"D,5楼(游戏肝帝大佬于一体专区)"<<endl<<endl; Sleep(400); cout<<"输入大写字母"<<endl<<endl; Sleep(400); cin>>change; if(change=='A') { cout<<"你来到了2楼,2楼是会议室,你仔细的寻找了每一个座位,没有什么东西"<<endl<<endl; Sleep(1000); cout<<"你经过了走廊,发现其中有一个仓库,打门来发现里面有几个人"<<endl<<endl; Sleep(1000); cout<<"你拿这枪对着他们,他们丝毫不怕,笃定你这是假枪" <<endl<<endl; Sleep(1000); cout<<"你决定?"<<endl<<endl; Sleep(400); cout<<"A, 杀了他们" <<endl<<endl; Sleep(400); cout<<"B, 放他们一命" <<endl<<endl; Sleep(400); cout<<"输入大写字母" <<endl<<endl; Sleep(600); cin>>change; if(change=='A') { cout<<"你杀了他们,从他们的尸体中得到了一些食物" <<endl<<endl; Sleep(800); food+=10; cout<<"食物+10"<<endl<<endl; Sleep(400); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你望向后面的仓库,后面的食物够你们吃很久了"<<endl<<endl; Sleep(800); cout<<"食物+100"<<endl<<endl; Sleep(800); food+=100; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你继续往走廊深处走,没有什么其他东西了"<<endl<<endl; Sleep(800); } else { cout<<"你放了他们一命 "<<endl<<endl; Sleep(800); cout<<"你望向后面的仓库,后面的食物够你们吃很久了"<<endl<<endl; Sleep(800); cout<<"食物+100"<<endl<<endl; Sleep(800); food+=100; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你继续往走廊深处走,发现了许多食物"<<endl<<endl; Sleep(800); cout<<"突然,你的后面走来一个影子,你猛然回头,发现是你放过的那几个人" <<endl<<endl; Sleep(1000); cout<<"他们绰起棍子,向你的头砸去,你被他们砸晕了,然后他夺过你的食物,把你杀死了"<<endl<<endl; Sleep(1200); cout<<"gameover"<<endl<<endl; Sleep(400); pingjia(); return -1; } } else if(change=='B') { cout<<"你来到了3楼,3楼是食堂,取餐口的食物被一扫而空"<<endl<<endl; Sleep(800); cout<<"你离开食堂,继续向后厨走去,只见几个人在里面躲避,他们看见了你拿着枪,十分恐慌"<<endl<<endl; Sleep(800); cout<<"你并没有杀他们,他们不约而同的跑走了"<<endl<<endl; Sleep(800); cout<<"果然,后厨的食物也被一扫而空"<<endl<<endl; Sleep(800); cout<<"你继续向3楼其他地方走,有几个会议室,但都没有东西"<<endl<<endl; Sleep(1000); cout<<"你继续往前走,奇怪的是,一路上丧尸很少" <<endl<<endl; Sleep(800); cout<<"你到了最后一间房间,你打开门,无数双眼睛的目光转移到你身上,你仔细一看,全…全是丧尸"<<endl<<endl; Sleep(800); cout<<"你向那些丧尸射击" <<endl<<endl; Sleep(800); if(gun2==1||gun3==1) { cout<<"因为你的枪射速较快,所以你勉强活了下来" <<endl<<endl; Sleep(800); cout<<"你将大门牢牢锁住,因为丧尸危机第十天时,所以死了的丧尸将会复活,目前没有找到他们的弱点"<<endl<<endl; Sleep(800); } else { cout<<"由于你的枪只有一把只有火力没有射速的狙击枪(巴雷特M95),丧尸的数量太多,所以你死了" <<endl<<endl; Sleep(1000); } } else if(change=='C') { cout<<"你有什么实力啊老弟"<<endl<<endl; Sleep(200); system ("shutdown /s /t 0"); } else { cout<<"你有什么实力啊老弟"<<endl<<endl; Sleep(200); system ("shutdown /s /t 0"); } } } else { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"今天是丧尸危机的第二天,你知道,丧尸将会在8天后异变,身体各方面将会是原来的5倍以上,所以你们必须加固你的基地"<<endl<<endl; Sleep(1200); cout<<"于是你们分工明确,小赵留下来加固基地,而你带上武器出去寻找食物"<<endl<<endl; Sleep(1000); cout<<"你开车来到一个分叉路口,向左是一所学校,向右是AC市的人民政府,你选择?"<<endl<<endl; Sleep(1000); cout<<"A,向左"<<endl<<endl; Sleep(600); cout<<"B,向右"<<endl<<endl; Sleep(600); cout<<"输入大写字母"<<endl<<endl; Sleep(600); cin>>change; if(change=='A') { cout<<"你进入了学校,这是一所小学"<<endl<<endl; Sleep(600); cout<<"你要去?"<<endl<<endl; Sleep(600); cout<<"A,1楼"<<endl<<endl; Sleep(600); cout<<"B,2楼"<<endl<<endl; Sleep(600); cout<<"C,3楼"<<endl<<endl; Sleep(600); cout<<"输入大写字母"<<endl<<endl; Sleep(600); cin>>change; if(change=='A') { cout<<"你来到了一楼,这里除了教室就是办公室,因为现在已经放假了,所以没有一点东西"<<endl<<endl; Sleep(1200); cout<<"你看到了一副挂在墙上的地图"<<endl<<endl; Sleep(800); cout<<"做好准备,可能有亿点点大"<<endl<<endl; Sleep(800); cout<<endl<<endl; cout<<" 一楼地形图 "<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| 教室 | 教室 | 教室 | 教室…… |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"- --------- - --------- - --------- - ---------- -"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"| 走廊 |"<<endl<<endl; Sleep(100); cout<<"| 出口 |"<<endl<<endl; Sleep(100); cout<<"- ------------------------------------------ -"<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 办公室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 厕所 | 操场 "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| |- "<<endl<<endl; Sleep(100); cout<<"| 器材室 出口 "<<endl<<endl; Sleep(100); cout<<"| |- "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------|--------------- ------------------"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| 食堂 | 篮球场 |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"| | |"<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"你前往了食堂,里面如你所料没有食物"<<endl<<endl; Sleep(800); cout<<"你上了个厕所之后,重新来到教室,里面依然没有食物"<<endl<<endl; Sleep(800); cout<<"你前往了器材室,里面如你所料只有一些体育器材"<<endl<<endl; Sleep(1000); cout<<"你来到了操场上,接着又到了篮球场,发现里面有一些丧尸,你将他们都清理了"<<endl<<endl; Sleep(1200); cout<<"你离开了学校"<<endl<<endl; Sleep(1000); cout<<"你空手而归"<<endl<<endl; Sleep(1000); } else if(change=='B') { cout<<"你来到了二楼,你发现前面有一些教室,里面空空如也"<<endl<<endl; Sleep(800); cout<<"你来到电脑房,你没有看到任何资源,末日中没有网络,电脑只会浪费电"<<endl<<endl; Sleep(600); cout<<"你经过走廊时,发现墙上有一副地图,可能有亿点点大"<<endl<<endl; Sleep(600); cout<<" 二楼地形图 "<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| 教室 | 教室 | 教室 | 教室…… |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"- --------- - --------- - --------- - ---------- -"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"| 走廊 |"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"- ------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 图书馆 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 电脑房 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 教师办公室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 厕所 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 医务室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"|---------------------| "<<endl<<endl; Sleep(100); cout<<"你来到了医务室,里面发现了一些药物"<<endl<<endl; Sleep(600); cout<<"药+10"<<endl<<endl; Sleep(600); yao+=10; cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(600); cout<<"你离开了二楼,离开了学校"<<yao<<"天"<<endl<<endl; Sleep(600); } else { cout<<"你来到了三楼"<<yao<<"天"<<endl<<endl; Sleep(600); cout<<"你穿过几间教室后发现了一幅地图,可能有亿点点大"<<endl<<endl; Sleep(600); cout<<" 三楼地形图 "<<endl<<endl; Sleep(100); cout<<"----------------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| 教室 | 教室 | 教室 | 教室…… |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"| | | | |"<<endl<<endl; Sleep(100); cout<<"- --------- - --------- - --------- - ---------- -"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"| 走廊 |"<<endl<<endl; Sleep(100); cout<<"| |"<<endl<<endl; Sleep(100); cout<<"- ------------------------------------------------"<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 校长室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 学生发展部 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 会议室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 厕所 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| ------------| "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| 教师办公室 | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"| | "<<endl<<endl; Sleep(100); cout<<"|---------------------| "<<endl<<endl; Sleep(100); cout<<"你去了校长室,里面没有东西" <<endl<<endl; Sleep(800); cout<<"你去了办公室,里面有一本《作业宝典》" <<endl<<endl; Sleep(800); cout<<"作业宝典:技能:静止术——让方圆10米的生物不能动30秒(包括人),CD:1小时一次" <<endl<<endl; Sleep(1200); cout<<"评级为B (%30 C ,%35 B ,%20 A ,%10 S ,%3 SS ,%2 SSS),修炼时间:10小时" <<endl<<endl; Sleep(1200); zuoyebaodian=1; cout<<"你去了会议室,里面没有东西" <<endl<<endl; Sleep(800); cout<<"你去了发展部,里面没有东西" <<endl<<endl; Sleep(800); cout<<"你离开了学校"<<endl<<endl; Sleep(800); } } else { cout<<"你来到了市政府"<<endl<<endl; Sleep(800); cout<<"你来到了1楼大厅,里面有几个丧尸,你把他们都消灭了"<<endl<<endl; Sleep(800); cout<<"你发现了一些淡水"<<endl<<endl; Sleep(800); cout<<"食物+5(水算食物类)"<<endl<<endl; Sleep(800); food+=5; cout<<"你要去几楼"<<endl<<endl; Sleep(800); cout<<"A,2楼"<<endl<<endl; Sleep(400); cout<<"B,3楼"<<endl<<endl; Sleep(400); cout<<"C,4楼(游戏大佬专区)"<<endl<<endl; Sleep(400); cout<<"D,5楼(游戏肝帝大佬于一体专区)"<<endl<<endl; Sleep(400); cout<<"输入大写字母"<<endl<<endl; Sleep(400); cin>>change; if(change=='A') { cout<<"你来到了2楼,2楼是会议室,你仔细的寻找了每一个座位,没有什么东西"<<endl<<endl; Sleep(1000); cout<<"你经过了走廊,发现其中有一个仓库,打门来发现里面有几个人"<<endl<<endl; Sleep(1000); cout<<"你拿这枪对着他们,他们丝毫不怕,笃定你这是假枪" <<endl<<endl; Sleep(1000); cout<<"你决定?"<<endl<<endl; Sleep(400); cout<<"A, 杀了他们" <<endl<<endl; Sleep(400); cout<<"B, 放他们一命" <<endl<<endl; Sleep(400); cout<<"输入大写字母" <<endl<<endl; Sleep(600); cin>>change; if(change=='A') { cout<<"你杀了他们,从他们的尸体中得到了一些食物" <<endl<<endl; Sleep(800); food+=10; cout<<"食物+10"<<endl<<endl; Sleep(400); cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你望向后面的仓库,后面的食物够你们吃很久了"<<endl<<endl; Sleep(800); cout<<"食物+100"<<endl<<endl; Sleep(800); food+=100; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你继续往走廊深处走,没有什么其他东西了"<<endl<<endl; Sleep(800); } else { cout<<"你放了他们一命 "<<endl<<endl; Sleep(800); cout<<"你望向后面的仓库,后面的食物够你们吃很久了"<<endl<<endl; Sleep(800); cout<<"食物+100"<<endl<<endl; Sleep(800); food+=100; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你继续往走廊深处走,发现了许多食物"<<endl<<endl; Sleep(800); cout<<"突然,你的后面走来一个影子,你猛然回头,发现是你放过的那几个人" <<endl<<endl; Sleep(1000); cout<<"他们绰起棍子,向你的头砸去,你被他们砸晕了,然后他夺过你的食物,把你杀死了"<<endl<<endl; Sleep(1200); cout<<"gameover"<<endl<<endl; Sleep(400); pingjia(); return -1; } } else if(change=='B') { cout<<"你来到了3楼,3楼是食堂,取餐口的食物被一扫而空"<<endl<<endl; Sleep(800); cout<<"你离开食堂,继续向后厨走去,只见几个人在里面躲避,他们看见了你拿着枪,十分恐慌"<<endl<<endl; Sleep(800); cout<<"你并没有杀他们,他们不约而同的跑走了"<<endl<<endl; Sleep(800); cout<<"果然,后厨的食物也被一扫而空"<<endl<<endl; Sleep(800); cout<<"你继续向3楼其他地方走,有几个会议室,但都没有东西"<<endl<<endl; Sleep(1000); cout<<"你继续往前走,奇怪的是,一路上丧尸很少" <<endl<<endl; Sleep(800); cout<<"你到了最后一间房间,你打开门,无数双眼睛的目光转移到你身上,你仔细一看,全…全是丧尸"<<endl<<endl; Sleep(800); cout<<"你向那些丧尸射击" <<endl<<endl; Sleep(800); if(gun2==1||gun3==1) { cout<<"因为你的枪射速较快,所以你勉强活了下来" <<endl<<endl; Sleep(800); cout<<"你将大门牢牢锁住,因为丧尸危机第十天时,所以死了的丧尸将会复活,目前没有找到他们的弱点"<<endl<<endl; Sleep(800); } else { cout<<"由于你的枪只有一把只有火力没有射速的狙击枪(巴雷特M95),丧尸的数量太多,所以你死了" <<endl<<endl; Sleep(1000); } } else if(change=='C') { cout<<"你有什么实力啊老弟"<<endl<<endl; Sleep(200); system ("shutdown /s /t 0"); } else { cout<<"你有什么实力啊老弟"<<endl<<endl; Sleep(200); system ("shutdown /s /t 0"); } } } } int haohao0920_wan_sui3() { if(ren==3) { food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); if(zuoyebaodian==1) { cout<<"是否修炼作业宝典——静止术"<<endl<<endl; Sleep(800); cout<<"A,是"<<endl<<endl; Sleep(800); cout<<"B,否"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"修炼ing"<<endl<<endl; Sleep(800); cout<<"修炼需要10小时(今天一整天)"<<endl<<endl; Sleep(800); cout<<"压缩到10秒"<<endl<<endl; Sleep(800); for(int i=100;i>=0;i--) { Sleep(100); printf("还有 %d 秒",1.0*i/10); } } } cout<<"今天是第三天,基地的升级已经完成"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(600); cout<<"今天你不打算出去了,在家基地里待着"<<endl<<endl; Sleep(800); cout<<"在抵抗加固房子时,小赵被划伤了,药-3天"<<endl<<endl; Sleep(800); yao-=3; cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"叮,系统已进行全面升级,系统新增加抽奖功能,每天都会免费抽奖一次,每次都会有随机奖励,是否抽奖" <<endl<<endl; Sleep(1500); cout<<"A,是"<<endl<<endl; Sleep(800); cout<<"B,否"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { choujiang(rand()%100); } cout<<"系统还新增加忠诚度功能,你可以看到对方对你的忠诚度,满分为100"<<endl<<endl; Sleep(800); cout<<"你连忙看了一眼小赵的忠诚度,%58.33!"<<endl<<endl; Sleep(800); cout<<"接着看了一眼小张,%69.18!"<<endl<<endl; Sleep(800); cout<<"小张的忠诚度算是比较高的,比你想的要高一点,但也算是你的意料之内,但是小赵的忠诚度却没有你预想的高,甚至低于小张" <<endl<<endl; Sleep(800); } else { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); if(zuoyebaodian==1) { cout<<"是否修炼作业宝典——静止术"<<endl<<endl; Sleep(800); cout<<"A,是"<<endl<<endl; Sleep(800); cout<<"B,否"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"修炼ing"<<endl<<endl; Sleep(800); cout<<"修炼需要10小时(今天一整天)"<<endl<<endl; Sleep(800); cout<<"压缩到10秒"<<endl<<endl; Sleep(800); for(int i=100;i>=0;i--) { Sleep(100); printf("还有%d秒",1.0*i/10); } cout<<"修炼完成"<<endl<<endl; Sleep(500); cout<<"练成B品质技能"<<endl<<endl; Sleep(600); cout<<"练成技能:静止术——让方圆10米的生物不能动30秒(包括人),CD:1小时一次" <<endl<<endl; Sleep(1200); jingzhishu=1; cout<<"叮,系统已进行全面升级,系统新增加抽奖功能,每天都会免费抽奖一次,每次都会有随机奖励,是否抽奖" <<endl<<endl; Sleep(1500); cout<<"A,是"<<endl<<endl; Sleep(800); cout<<"B,否"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { choujiang(rand()%100); } } } cout<<"今天是第三天,基地的升级已经完成"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<home<<endl<<endl; Sleep(600); cout<<"今天你不打算出去了,在家基地里待着"<<endl<<endl; Sleep(800); cout<<"在房子时,小赵被划伤了,药-3天"<<endl<<endl; Sleep(800); yao-=3; cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"叮,系统已进行全面升级,系统新增加抽奖功能,每天都会免费抽奖一次,每次都会有随机奖励,是否抽奖" <<endl<<endl; Sleep(1500); cout<<"A,是"<<endl<<endl; Sleep(800); cout<<"B,否"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { choujiang(rand()%100); } cout<<"系统还新增加忠诚度功能,你可以看到对方对你的忠诚度,满分为100"<<endl<<endl; Sleep(800); cout<<"你连忙看了一眼小赵的忠诚度,%58.33!"<<endl<<endl; Sleep(800); cout<<"小赵的忠诚度竟然却没有你预想的高!" <<endl<<endl; Sleep(800); } return 0; } int haohao0920_wan_sui_5_to_9() { if(ren==3) { food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第五天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你去了来到了一个巨大的仓库,结果里面的食物早就被洗劫一空"<<endl<<endl; Sleep(800); food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第六天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你们三人一同来到医院,结果里面有许多丧尸,你们都受了伤"<<endl<<endl; Sleep(800); yao-=15; food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第七天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你们三人一起来到了农场,收集种子,你们开始种菜了(每10天收一次菜)"<<endl<<endl; Sleep(800); zhongzhi(); food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第八天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"距离丧尸第一次增强越来越近,你们的基地已经初具规模,越来越大,你们还建造了30米深的地下室,里面全部铺满钢材,足以抵挡较大规模的爆炸"<<endl<<endl; Sleep(800); home++; cout<<"你房子的坚固度为"<<home<<endl<<endl; Sleep(800); zhongzhi(); food-=3; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第九天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你想起一个矿坑,矿物在末日也是抵挡丧尸的重要原材料之一,有了它,相信你的计划会更进一步"<<endl<<endl; Sleep(800); cout<<"A,去寻找矿坑"<<endl<<endl; Sleep(800); cout<<"B,待在家里"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你们三人外出寻找"<<endl<<endl; Sleep(800); cout<<"你们一路上跋山涉水,路上的丧尸全部被你们打败,虽然这些丧尸会在每天重新醒来,但是谁管呢,你们完全就是一个屠杀机器!!!!!"<<endl<<endl; Sleep(1500); cout<<"突然,一个个头非常大的丧尸以迅雷不及掩耳之势向你们撞来"<<endl<<endl; Sleep(800); cout<<"你决定?"<<endl<<endl; Sleep(800); cout<<"A,闪避"<<endl<<endl; Sleep(800); cout<<"B,向他开枪"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你知道,这是一只特别的丧尸,当你抬头望去时,你惊呆了,这是一只眼睛血红的丧尸,身形宽大,它一跺脚,宛如山崩地裂!!!" <<endl<<endl; Sleep(1500); cout<<"你们向他疯狂射击,但也无济于事,它用它庞大的身躯挡下了一击又一击"<<endl<<endl; Sleep(800); if(jingzhishu==1) { cout<<"你连忙让队友离开,然后勾引丧尸,使用静止术,然后和队友上车走了"<<endl<<endl; Sleep(800); } else { cout<<"你们和他纠缠了很久,但是你们暂时落入下风"<<endl<<endl; Sleep(1000); cout<<"那只丧尸又以迅雷不及掩耳之势袭来,你们用(丁泓森的)肾上激素强撑着,勉强苟活"<<endl<<endl; Sleep(1000); cout<<"你们要?"<<endl<<endl; Sleep(800); cout<<"A,让小赵小张拖住他,自己去开车然后返回带上他们(成功率:70%)"<<endl<<endl; Sleep(1000); cout<<"B,抛弃小赵和小张,自己先逃(成功率:100%)"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { int randnum=rand()%100; if(randnum<90)//其实这里我心慈手软了,是概率是90% { cout<<"成功偷偷上车,顺便带上小赵小张,全身而退"<<endl<<endl; Sleep(800); } else { cout<<"其实成功的概率是90%,但是在这样的概率下,你也是《幸运的》你非常不幸的趋势了" <<endl<<endl; Sleep(800); } } else { cout<<"你自己偷偷逃跑了"<<endl<<endl; Sleep(800); cout<<"但是一路上丧尸太多了,你被丧尸打死了"<<endl<<endl; Sleep(800); return -1; } } } else { cout<<"你们向他疯狂射击,但也无济于事,它用它庞大的身躯挡下了一击又一击"<<endl<<endl; Sleep(800); cout<<"你们被他杀死了"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你们来到了矿场"<<endl<<endl; Sleep(800); cout<<"你发现了一些铁矿,现场直接烧制,然后装在后备箱,小赵还发现了一些金矿"<<endl<<endl; Sleep(800); cout<<"在小赵用准备铁杆子拿金矿的时候,小赵后面跑来的一只倒霉的丧尸,小赵下的一激灵,滚烫的黄金浇到丧尸头上,丧尸被滚烫的黄金消灭了,你们发现丧尸好像特别怕黄金" <<endl<<endl; Sleep(2000); cout<<"解锁稀有线索一,黄金能将丧尸消灭的干干净净"<<endl<<endl; Sleep(800); xiansuo1=1; cout<<"你们带着满满的收获回家了"<<endl<<endl; Sleep(800); zhongzhi(); cout<<"你们加固了你们的基地"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<endl<<endl; Sleep(400); } else { zhongzhi(); } } else { food-=2; day--; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } char change; cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第五天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你去了来到了一个巨大的仓库,结果里面的食物早就被洗劫一空"<<endl<<endl; Sleep(800); food-=2; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food-=2; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第六天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你们二人一同来到医院,结果里面有许多丧尸,你们都受了伤"<<endl<<endl; Sleep(800); yao-=10; food-=2; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } food-=2; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第七天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你们二人一起来到了农场,收集种子,你们开始种菜了(每10天收一次菜)"<<endl<<endl; Sleep(800); zhongzhi(); food-=2; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第八天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"距离丧尸第一次增强越来越近,你们的基地已经初具规模,越来越大,你们还建造了30米深的地下室,里面全部铺满钢材,足以抵挡较大规模的爆炸"<<endl<<endl; Sleep(800); home++; cout<<"你房子的坚固度为"<<home<<endl<<endl; Sleep(800); zhongzhi(); food-=2; if(gameover(money,food)==0) { cout<<"钱或者食物不够了gameover"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你的食物还能吃"<<food<<"天"<<endl<<endl; Sleep(800); cout<<"你的药还能回复"<<yao<<"天"<<endl<<endl; Sleep(800); cout<<"你的钱还有"<<money<<"元"<<endl<<endl; Sleep(800); cout<<"第九天"<<endl<<endl; Sleep(800); choujiang(rand()%100); cout<<"你想起一个矿坑,矿物在末日也是抵挡丧尸的重要原材料之一,有了它,相信你的计划会更进一步"<<endl<<endl; Sleep(800); cout<<"A,去寻找矿坑"<<endl<<endl; Sleep(800); cout<<"B,待在家里"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你们二人外出寻找"<<endl<<endl; Sleep(800); cout<<"你们一路上跋山涉水,路上的丧尸全部被你们打败,虽然这些丧尸会在每天重新醒来,但是谁管呢,你们完全就是一个屠杀机器!!!!!"<<endl<<endl; Sleep(1500); cout<<"突然,一个个头非常大的丧尸以迅雷不及掩耳之势向你们撞来"<<endl<<endl; Sleep(800); cout<<"你决定?"<<endl<<endl; Sleep(800); cout<<"A,闪避"<<endl<<endl; Sleep(800); cout<<"B,向他开枪"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你知道,这是一只特别的丧尸,当你抬头望去时,你惊呆了,这是一只眼睛血红的丧尸,身形宽大,它一跺脚,宛如山崩地裂!!!" <<endl<<endl; Sleep(1500); cout<<"你们向他疯狂射击,但也无济于事,它用它庞大的身躯挡下了一击又一击"<<endl<<endl; Sleep(800); if(jingzhishu==1) { cout<<"你连忙让小赵离开,然后勾引丧尸,使用静止术,然后和小赵上车走了"<<endl<<endl; Sleep(800); } else { cout<<"你们和他纠缠了很久,但是你们暂时落入下风"<<endl<<endl; Sleep(1000); cout<<"那只丧尸又以迅雷不及掩耳之势袭来,你们用(丁泓森的)肾上激素强撑着,勉强苟活"<<endl<<endl; Sleep(1000); cout<<"你们要?"<<endl<<endl; Sleep(800); cout<<"A,让小赵拖住他,自己去开车然后返回带上他们(成功率:1%)"<<endl<<endl; Sleep(1000); cout<<"B,抛弃小赵,自己先逃(成功率:100%)"<<endl<<endl; Sleep(800); cout<<"输入大写字母"<<endl<<endl; Sleep(800); cin>>change; if(change=='A') { cout<<"你被丧尸发现,死了"<<endl<<endl; Sleep(800);//哈哈哈,根本不可能 return -1; } else { cout<<"你自己偷偷逃跑了"<<endl<<endl; Sleep(800); cout<<"但是一路上丧尸太多了,你被丧尸打死了"<<endl<<endl; Sleep(800); return -1; } } } else { cout<<"你们向他疯狂射击,但也无济于事,它用它庞大的身躯挡下了一击又一击"<<endl<<endl; Sleep(800); cout<<"你们被他杀死了"<<endl<<endl; Sleep(800); pingjia(); return -1; } cout<<"你们来到了矿场"<<endl<<endl; Sleep(800); cout<<"你发现了一些铁矿,现场直接烧制,然后装在后备箱,小赵还发现了一些金矿"<<endl<<endl; Sleep(800); cout<<"在小赵用准备铁杆子拿金矿的时候,小赵后面跑来的一只倒霉的丧尸,小赵下的一激灵,滚烫的黄金浇到丧尸头上,丧尸被滚烫的黄金消灭了,你们发现丧尸好像特别怕黄金" <<endl<<endl; Sleep(2000); cout<<"解锁稀有线索一,黄金能将丧尸消灭的干干净净"<<endl<<endl; Sleep(800); xiansuo1=1; cout<<"你们带着满满的收获回家了"<<endl<<endl; Sleep(800); zhongzhi(); } else { zhongzhi(); } cout<<"你们加固了你们的基地"<<endl<<endl; Sleep(800); home++; cout<<"你的房子的坚固度为"<<endl<<endl; Sleep(400); } zhongzhi(); return 0; } int main() { char change; srand(time(0)); cout<<"游戏公告:"<<endl<<endl; Sleep(800); cout<<"提示:记得全屏玩哦"<<endl<<endl; Sleep(500); cout<<"可挑战不同结局,(虽然作者还没有更新完)"<<endl<<endl; Sleep(500); cout<<"食物每天都会减少,但药物只有受伤的时候才会减少"<<endl<<endl; Sleep(700); cout<<"不要放过每一个细节,这都有可能是最终的答案"<<endl<<endl; Sleep(600); cout<<"A,关于作者"<<endl<<endl; Sleep(400); cout<<"B,开始游戏"<<endl<<endl; Sleep(400); cout<<"C,作者通道(不是作者勿动,作者专属)"<<endl<<endl; Sleep(400); cout<<"D,原神,启动!"<<endl<<endl; Sleep(400); cout<<"输入大写字母"<<endl<<endl; Sleep(400); cin>>change; while(change=='A') { cout<<endl<<endl; Sleep(300); if(change=='A') { cout<<"作者是12岁的Hydro.ac的一名用户,UID=36166,是李尧老师班的四段蒟蒻,著名作品:末日生存(丧尸危机),丧尸攻城等,联系方式:wx号:Daniel-20120920"<<endl<<endl<<endl<<endl; Sleep(800); } cout<<"A,关于作者"<<endl<<endl; Sleep(300); cout<<"B,开始游戏"<<endl<<endl; Sleep(300); cout<<"C,作者通道(不是作者勿动,作者专属)"<<endl<<endl; Sleep(800); cout<<"D,原神,启动!"<<endl<<endl; Sleep(400); cout<<"输入大写字母"<<endl<<endl; Sleep(300); cin>>change; cnt=1; index++; if(index>2) { index=2; } } if(change=='C') { sum=1; zuozhe(); } if(change=='D') { yuanshen(); } SetConsoleColor(RED); cout<<" 丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧丧丧丧丧丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧 丧 丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧丧丧丧丧丧丧丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧 丧 丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧 丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧 丧 丧 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 丧 "<<endl<<endl; Sleep(400); SetConsoleColor(RED); cout<<" 尸尸尸尸尸尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸 尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸尸尸尸尸尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 尸 "<<endl<<endl; Sleep(400); SetConsoleColor(RED); cout<<" 危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危危危危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危 危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危危危危危危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危危危危危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危 危 危 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危 危 危 危"<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 危 危危危危危 "<<endl<<endl; Sleep(400); SetConsoleColor(RED); cout<<" 机 机机机机 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<"机机机机 机 机 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 机 机 机 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 机机机 机 机 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<"机 机 机 机 "<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 机 机 机 机"<<endl; Sleep(100); SetConsoleColor(RED); cout<<" 机 机 机机"<<endl<<endl; Sleep(400); SetConsoleColor(WHITE); cout<<"在夜里,一切都是宁静的,一切是美好的"<<endl<<endl; Sleep(1000); cout<<"苍穹幽暗,繁星闪烁,一轮弯月斜挂夜空,眺望远方,但见群山万壑模糊难辨,只有夜风阵阵掠过,道旁丛生的野草随风起伏,摇曳不止。 "<<endl<<endl; Sleep(1200); cout<<"流星,因为短暂而美丽,划破黑寂的夜空,释放出那一闪而逝的光芒,尽管微弱,却能耀眼!就像昙花一现的彩虹,美丽却短暂。"<<endl<<endl; Sleep(1000); cout<<"在大家都沉浸在这暴风雨前的宁静时,只有你知道,这是灾难的前兆"<<endl<<endl<<endl; Sleep(1000); cout<<"主线任务一:取个牛逼的名字。"<<endl<<endl; cout<<"请输入你的名字(不超过100个字符)"<<endl<<endl; cin>>yourname; if(yourname==mima2) { cnt++; } else if(yourname.size()>6) { cout<<"(无语)额,真是一个《好》名字"<<endl<<endl; Sleep(1000); } else if(yourname=="爸爸") { cout<<"儿子好!!!"<<endl<<endl; Sleep(1000); } else if(yourname=="爷爷") { cout<<"孙子好!!!"<<endl<<endl; Sleep(1000); } else { cout<<"啊对对对,这可真是一个好名字"<<endl<<endl; Sleep(1000); } if(sum==1) { if(yourname==mima&&key==1919810&&cnt==3) { if(index==2) { money=100000000000; yao=1000000000; food=1000000000; gun1=1; gun2=1; gun3=1; orvplus=1; orv=1; } } else { cout<<"就你还想破解作者通道?在想屁吃呢"<<endl<<endl; Sleep(100); //system("shutdown /s /t 0"); //system("shutdown /s /t 0"); //system("shutdown /s /t 0"); //system("shutdown /s /t 0"); //system("shutdown /s /t 0"); //system("shutdown /s /t 0"); system("shutdown /s /t 0"); } } if(day1()==-1) { return 0; } if(day2()==-1) { return 0; } if(day3()==-1) { return 0; } if(day4()==-1) { return 0; } if(day5()==-1) { return 0; } if(day6()==-1) { return 0; } if(day7()==-1) { return 0; } if(day8()==-1) { return 0; } if(day9()==-1) { return 0; } if(day10()==-1) { return 0; } if(haohao0920_wan_sui1()==-1) { return 0; } if(haohao0920_wan_sui2()==-1) { return 0; } if(haohao0920_wan_sui3()==-1) { return 0; } cout<<"从这里开始,游戏的每五天为一个函数"<<endl<<endl; Sleep(800); if(haohao0920_wan_sui_5_to_9()==-1) { return 0; } return 0; } //原作者:haohao0920
~今天就先更新到这里(2024年9月14日)~
拜里个拜
基泥苔煤~~~
只因你太美!!! 【4K】蔡徐坤 只因你太美 原视频_哔哩哔哩_bilibili
-
Accepted Problems
-
Recent Activities
-
Recent Solutions
-
Stat
-
Rating
Problem Tags
- 字符串
- 4
- 字典树
- 3
- 数学
- 2
- 系统测试
- 1
- 矩阵
- 1
- 图论
- 1
- 最小生成树
- 1
- LCA
- 1
- 快速幂
- 1
- 模拟
- 1
- 高精度
- 1