emmmm,外挂目前只能在Win7运行,后期会改进
#include<bits/stdc++.h>
#include<windows.h>
#include<cstdio>
#include<iostream>
#include<queue>
#include<stack>
#include<algorithm>
#define MAX 100
int kings,dqs,robot,kingsgong=750; int xiao1,xiao2,xiao3,xiao4,xiao5,xiao6,xiao7,xiao8,boss1,boss2,boss3; using namespace std; int main(){ string name,mima="密码",yama="张孙权是史上最帅的",qima="0804151234563599",e2,f2,g2; int kill=0,buy=0,watch=0,ans,sum,sound; int s1,s2,s3,s4,s5,s6,s7; int gex=0,nwx=0,ymx=0,fsx=0,glx=0,dpx=0,jwx=0,tgx=0,pig=0,djx=0,dcx=0; long long jin=300,deji=1,xue=500,gong=15,jife=0; int a,b,c,d,e,f,g,a2,b2,c2,d2,a3,b3,c3,d3,e3; cout<<"欢迎来到“战争时代”" <<endl; Sleep(1000); cout<<"作者:泰州市大浦小学五(5)班:张孙权" <<endl; cout<<"创作时间:2019年6月"<<endl; Sleep(100); cout<<"抄袭者必遭雷劈!请勿非法转载!"<<endl; Sleep(1000); cout<<"----------------------------------------------------------" <<endl; Sleep(1000); cout<<"一天...........(省略以下的省略号)"<<endl; Sleep(100); cout<<"你来到了这个小部落上" <<endl; Sleep(1000); cout<<"突然,战斗开始了!你被导弹轰晕了!(*注:我不会让你死的!你死了游戏就没得玩!!!!!哈哈!)" <<endl; Sleep(1000); cout<< "但!你忘了你的名字!"<<endl; Sleep(1000); cout<<"请取一个更帅的名字吧!"<<endl; Sleep(1000); cin>>name; cout<<"来吧,"<<name<<",开始复仇吧"<<endl; Sleep(1000); system("color 10"); Sleep(1000); system("color 20"); Sleep(1000); system("color 30"); Sleep(1000); system("color 40"); Sleep(1000); system("color 50"); Sleep(1000); system("color 60"); Sleep(1000); system("color 70"); Sleep(1000); system("color 80"); Sleep(1000); system("color 90"); Sleep(1000); system("color a0"); Sleep(1000); system("color b0"); Sleep(1000); system("color c0"); Sleep(1000); system("color d0"); Sleep(1000); system("color e0"); Sleep(1000); system("color f0"); Sleep(1250); gamein: cout<<"你要去哪儿?"<<endl; cout<<"1.买兵 2.冒险 3.状态 4.商店 5.复仇 6.医院 7.外挂(金库)注:请勿进入有bug作者后期会修改 8.原始人部落森林 9.拍卖会 10.任务 11.退出游戏"<<endl; cin>>a; if(a==1) { cout<<"噔噔噔噔-------........."<<endl; Sleep(2000); cout<<"嘿咻嘿咻..."<<endl; Sleep(1500); cout<<"您好,欢迎光临本高高高级兵营,请坐,本店装修中,请勿入内,后果自负"<<endl; Sleep(2500); cout<<"先生,这边请,请绕道而滚!Good bye!慢走不送!"<<endl; Sleep(1000); system("color 20"); Sleep(1000); system("color 40"); Sleep(1000); system("color 90"); Sleep(1000); system("color a0"); Sleep(1000); system("color c0"); Sleep(1000); system("color d0"); Sleep(1000); system("color f0"); Sleep(1250); system("cls"); goto gamein; } if(a==2) { cout<<"1.哥布林小村 2.埋骨深渊 3.野蛮人擂台 4.法术幽谷 5.冰封之巅 6.皮卡乐园 7.野猪山脉 8.电磁峡谷[请勿作死]"<<endl; cin>>b; if(b==1) { gex+=75; while(gex>0) { cout<<"一只哥布林冲了过来,拿起了匕首"<<endl; Sleep(550); cout<<endl<<"1.是否攻击 2.逃跑"; cin>>c; if(c==1) { gex-=gong; cout<<"哥布林克了"<<gong<<"滴血"<<endl; cout<<"哥布林拿匕首砍了你一刀!克了10滴血"<<endl; cout<<"哥布林还有"<<gex<<"滴血"<<endl; xue-=10; cout<<"你还有"<<xue<<"滴血"<<endl; } } if(gex==0||gex<0) { cout<<"哥布林死了"<<endl; cout<<"经验+20,金币+50"<<endl; jife+=20; jin+=50; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(c==2) { cout<<"逃跑失败"<<endl; cout<<"哥布林拿匕首砍了你一刀!克了10滴血"<<endl; xue-=10; } system("color c0"); Sleep(1000); system("color d0"); Sleep(1000); system("color f0"); } else if(b==2) { nwx+=195; while(nwx>0) { cout<<"一位女巫冲了过来,拿起了法杖,瞄准了你"<<endl; Sleep(550); cout<<endl<<"1.是否攻击 2.逃跑"; cin>>c; if(c==1) { nwx-=gong; cout<<"女巫克了"<<gong<<endl; cout<<"女巫还有"<<nwx<<"滴血"<<endl; cout<<"女巫用法杖秒了你一炮!克了25滴血"<<endl; xue-=25; cout<<"你还有"<<xue<<"滴血"<<endl; } if(nwx==0||nwx<0) { cout<<"女巫死了"<<endl; cout<<"经验+50,金币+150"<<endl; jife+=50; jin+=150; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(c==2) { cout<<"逃跑失败"<<endl; cout<<"女巫用法杖秒了你一炮!克了25滴血"<<endl; xue-=25; } } } else if(b==3) { ymx+=250; while(ymx>0||ymx==0||xue==0||xue>0) { cout<<"一位野蛮人冲了过来,拿起了短剑,瞄准了你"<<endl; Sleep(550); cout<<endl<<"1.是否攻击 2.逃跑"; cin>>c; if(c==1) { ymx-=gong; cout<<"野蛮人克了"<<gong<<endl; cout<<"野蛮人用短剑砍了你一刀!克了30滴血"<<endl; xue-=25; cout<<"你还有"<<xue<<"滴血"<<endl; cout<<"野蛮人还有"<<ymx<<"滴血"<<endl; } if(ymx==0||ymx<0) { cout<<"野蛮人死了"<<endl; cout<<"经验+70,金币+250"<<endl; jife+=50; jin+=150; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(c==2) { cout<<"逃跑失败"<<endl; cout<<"野蛮人用短剑砍了你一刀!克了30滴血"<<endl; xue-=25; } } } else if(b==4) { fsx+=350; while(fsx>0) { cout<<"一位法师冲了过来,造出了火球,瞄准了你"<<endl; Sleep(550); cout<<endl<<"1.是否攻击 2.逃跑"; cin>>c; if(c==1) { fsx-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"法师还有"<<fsx<<"滴血"<<endl; cout<<"法师用火球打了你一下!克了40滴血"<<endl; xue-=40; cout<<"你还有"<<xue<<"滴血"<<endl; } if(fsx==0||fsx<0) { cout<<"法师死了"<<endl; cout<<"经验+70,金币+250(这个数字很像你哦!)"<<endl; jife+=70; jin+=250; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(c==2) { cout<<"逃跑失败"<<endl; cout<<"法师用火球打了你一下!克了40滴血"<<endl; xue-=40; } } } else if(b==5) { glx+=500; while(glx>0) { cout<<"戈仑冰人冲了过来,吹出了寒冰之气"<<endl; Sleep(550); cout<<endl<<"1.是否攻击 2.逃跑"; cin>>c; if(c==1) { glx-=(gong+20); cout<<"克了"<<gong+20<<"滴血"<<endl; cout<<"戈仑冰人还有"<<glx<<"滴血"<<endl; cout<<"戈仑冰人用寒冰之气打了你!克了5滴血,攻击-1"<<endl; xue-=5; gong-=1; cout<<"你还有"<<xue<<"滴血"<<endl; cout<<"你还有"<<gong<<"攻击值"<<endl; } if(glx==0||glx<0) { cout<<"戈仑冰人死了"<<endl; cout<<"经验+100,金币+500,攻击翻倍!"<<endl; gong+=gong; jife+=100; jin+=500; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(c==2) { cout<<"逃跑失败"<<endl; cout<<"戈仑冰人用寒冰之气打了你!克了5滴血,攻击-1"<<endl; xue-=5; gong-=1; } } } else if(b==6) { s1=rand()%100; if(s1>=0&&s1<=5) { tgx+=2000; while(tgx>0) { cout<<"熔岩猎犬(天狗)冲了过来,发了狗疯"<<endl; Sleep(550); cout<<endl<<"1.是否攻击 2.逃跑"; cin>>c; if(c==1) { tgx-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"熔岩猎犬还有"<<tgx<<"滴血"<<endl; cout<<"熔岩猎犬咬了你一口,你烫得脑袋冒烟,克了70滴血"<<endl; xue-=70; cout<<"你还有"<<xue<<"滴血"<<endl; cout<<"你还有"<<gong<<"攻击值"<<endl; } if(tgx==0||tgx<0) { cout<<"熔岩猎犬死了"<<endl; cout<<"经验+600,金币+2000"<<endl; jife+=600; jin+=2000; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(c==2) { cout<<"逃跑失败"<<endl; cout<<"熔岩猎犬咬了你一口,你烫得脑袋冒烟,克了70滴血"<<endl; xue-=70; } } }
else if(s1>=6&&s1<=25) {
dpx+=750;
while(dpx>0) {
cout<<"皮卡超人冲了过来,举起了100米超级big砍刀"<<endl;
Sleep(550);
cout<<endl<<"1.是否攻击 2.逃跑";
cin>>c;
if(c==1) {
dpx-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"皮卡超人还有"<<dpx<<"滴血"<<endl;
cout<<"皮卡超人斩了你一刀,克了100滴血"<<endl;
xue-=100;
cout<<"你还有"<<xue<<"滴血"<<endl;
}
if(dpx==0||dpx<0) {
cout<<"皮卡超人死了"<<endl;
cout<<"经验+450,金币+1250"<<endl;
jife+=450;
jin+=1250;
goto gamein;
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(c==2) {
cout<<"逃跑失败"<<endl;
cout<<"皮卡超人斩了你一刀,克了100滴血"<<endl;
xue-=100;
}
}
} else {
jwx+=550;
while(jwx>0) {
cout<<"重甲亡灵(贾玲)冲了过来,伸出了长又尖的恶魔之爪"<<endl;
Sleep(550);
cout<<endl<<"1.是否攻击 2.逃跑";
cin>>c;
if(c==1) {
jwx-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"重甲亡灵还有"<<jwx<<"滴血"<<endl;
cout<<"重甲亡灵使出了回首掏,克了45滴血"<<endl;
xue-=45;
cout<<"你还有"<<xue<<"滴血"<<endl;
}
if(jwx==0||jwx<0) {
cout<<"重甲亡灵死了"<<endl;
cout<<"经验+450,金币+1250"<<endl;
jife+=450;
jin+=1250;
goto gamein;
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(c==2) {
cout<<"逃跑失败"<<endl;
cout<<"重甲亡灵使出了回首掏,克了45滴血"<<endl;
xue-=45;
}
}
}
} else if(b==7) {
pig+=1000;
while(pig>0) {
cout<<"皇家野猪冲了过来"<<endl;
Sleep(550);
cout<<endl<<"1.是否攻击 2.逃跑";
cin>>c;
if(c==1) {
pig-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"皇家野猪还有"<<pig<<"滴血"<<endl;
cout<<"皇家野猪撞了你一下!克了40滴血"<<endl;
xue-=40;
cout<<"你还有"<<xue<<"滴血"<<endl;
}
if(pig==0||pig<0) {
cout<<"皇家野猪死了"<<endl;
cout<<"经验+350,金币+750"<<endl;
jife+=350;
jin+=750;
goto gamein;
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(c==2) {
cout<<"逃跑失败"<<endl;
cout<<"皇家野猪撞了你一下!克了40滴血"<<endl;
xue-=40;
}
}
} else if(b==8) {
s2=rand()%100;
if(s2<=15) {
dcx+=1200;
while(dcx>0) {
cout<<"【高能预警】(毒瘤小Boss)电磁炮冲了过来"<<endl;
Sleep(550);
cout<<endl<<"1.是否攻击 2.逃跑";
cin>>c;
if(c==1) {
dcx-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"电磁炮还有"<<dcx<<"滴血"<<endl;
cout<<"电磁炮发射了等离子炮!克了1100滴血"<<endl;
xue-=1100;
cout<<"你还有"<<xue<<"滴血"<<endl;
}
if(dcx==0||dcx<0) {
cout<<"电磁炮死了"<<endl;
cout<<"经验+2000,金币+7500"<<endl;
jife+=2000;
jin+=5000;
goto gamein;
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(c==2) {
cout<<"逃跑失败"<<endl;
cout<<"电磁炮发射了等离子炮!克了1100滴血"<<endl;
xue-=1100;
}
}
} else djx+=250;
while(djx>0) {
cout<<"电击车冲了过来"<<endl;
Sleep(550);
cout<<endl<<"1.是否攻击 2.逃跑";
cin>>c;
if(c==1) {
djx-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"电击车还有"<<djx<<"滴血"<<endl;
cout<<"电击车发射了闪电!克了50滴血"<<endl;
xue-=50;
cout<<"你还有"<<xue<<"滴血"<<endl;
}
if(djx==0||djx<0) {
cout<<"电击车死了"<<endl;
cout<<"经验+200,金币+500"<<endl;
jife+=200;
jin+=500;
goto gamein;
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(c==2) {
cout<<"逃跑失败"<<endl;
cout<<"电击车发射了闪电!克了50滴血"<<endl;
xue-=50;
}
}
}
}
if(a==3) {
system("cls");
bag: cout<<"复仇者:"<<name<<endl<<"金币:"<<jin<<endl<<"血量:"<<xue<<endl<<"攻击:"<<gong<<endl<<"等级:"<<deji<<endl; cout<<"经验值:"<<jife<<endl<<"1.升级 2.退出背包"<<endl; cin>>d; if(d==1) { if(jife>=75) { cout<<"升级成功"<<endl; deji+=1; jife-=75; xue+=100; gong+=10; Sleep(1000); system("pause"); system("cls"); goto bag; } else cout<<"升级失败,经验不足!"<<endl; system("cls"); goto bag; } if(d==2) { system("cls"); goto gamein; } } if(a==4) { shop: cout<<"欢迎光临本店,看看有什么需要的吧!"<<endl; Sleep(1000); cout<<"1.生命药水 100¥ 2.生命大药水 175¥ 3.攻击药水 90¥ 4.经验药水 250¥ 5.毒药法术 20¥【作死啊】 6.看电视 0.离开商店 " <<endl; cin>>e; if(e==1) { if(jin>=100) { xue+=200; jin-=100; cout<<"加两百滴血"<<endl; Sleep(1000); goto shop; } else cout<<"金币不足"<<endl; goto shop; } if(e==2) { if(jin>=150) { xue+=450; jin-=150; cout<<"加450滴血"<<endl; Sleep(1000); goto shop; } else cout<<"金币不足"<<endl; goto shop; } if(e==3) { if(jin>=90) { gong+=10; jin-=90; cout<<"加10点攻击"<<endl; Sleep(1000); goto shop; } else cout<<"金币不足"<<endl; goto shop; } if(e==4) { if(jin>=250) { jife+=50; jin-=250; cout<<"加50点经验"<<endl; Sleep(1000); goto shop; } else cout<<"金币不足"<<endl; goto shop; } if(e==5) { if(jin>=20) { xue-=50; jin-=100; goto shop; } else cout<<"金币不足"<<endl; goto shop; } if(e==0) { system("cls"); goto gamein; } else s3=rand()%100; if(s3<=20) { if(watch>=10) { cout<<"以至上限"<<endl; goto shop; } for(int i=1; i<=100; i++) { cout<<"哈哈哈~"; } cout<<"给健康加道菜的第五道菜:“天地一号”"<<endl; cout<<"看完电视,加100金币"<<endl; jin+=100; goto shop; watch+=1; } if(s3>=21&&s3<=35) { if(watch>=10) { cout<<"以至上限"<<endl; goto shop; } cout<<"肠道不通畅,嘿嘿!肚子憋堵涨!嘿嘿嘿~~ 滴滴~滋滋~信号不好"<<endl; Sleep(2500); cout<<"肚子憋堵涨,嘿嘿!肠道不通畅!嘿嘿嘿~~ 滴滴~滋滋~信号不好"<<endl; Sleep(2500); cout<<"嘿!呔!老头!以后记着!要认准香丹清啊!"<<endl; Sleep(2500); cout<<"看完电视,加100金币"<<endl; jin+=100; goto shop; watch+=1; } if(s3>=36&&s3<=60) { if(watch>=10) { cout<<"以至上限"<<endl; goto shop; } for(int j=1; j<=10; j++) { cout<<"白内障"<<endl; Sleep(250); cout<<"看不清"<<endl; Sleep(250); cout<<"莎普爱思滴眼睛!"<<endl; Sleep(250); cout<<"看完电视,加100金币"<<endl; jin+=100; goto shop; watch+=1; } } if(s3>=61) { if(watch>=10) { cout<<"以至上限"<<endl; goto shop; } cout<<"对不起,您拨打的电话暂时通话中,请稍后再拨!因为对方正在吃鸡!"<<endl; Sleep(2000); cout<<"叮咚~~~~!"<<endl; Sleep(500); cout<<"或者您可以立即下载绝地求生:刺激战场!并开启游戏与对方联机!"<<endl; Sleep(3000); cout<<"注:(这广告不是作者我想的,要找就找5班的一位吃鸡狂,是他要我弄得)哈哈哈哈哈哈~~"<<endl; Sleep(1500); cout<<"看完电视,加100金币"<<endl; jin+=100; watch+=1; goto shop; } } if(a==5) { cout<<"哈哈哈,没想到,你来送死了"<<endl; Sleep(1000); cout<<"今天,就是你部落存活象征的最后一天"<<endl; Sleep(1000); cout<<"来吧"<<name<<"让我见识你的实力,让我超级无敌傻X部落首领:二哈,来打败你"<<endl; Sleep(1000); cout<<"是否挑战首领"<<endl; cin>>d3; if(d3==1){ cout<<"开始了"<<endl; Sleep(1000); cout<<"二哈使出了大骑士的护身"<<endl; dqs+=3000; while(dqs>0) { cout<<endl<<"1.是否攻击 2.逃跑"; cin>>e3; if(e3==1) { dqs-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"大骑士还有"<<dqs<<"滴血"<<endl; cout<<"大骑士使出了无影斩!克了100滴血"<<endl; xue-=100; cout<<"你还有"<<xue<<"滴血"<<endl; } if(dqs==0||dqs<0) { cout<<"大骑士死了"<<endl; cout<<"二哈召唤出了机器人守卫"<<endl; robot+=5000; while(robot>0) { cout<<endl<<"1.是否攻击 2.逃跑"; cin>>e3; if(e3==1) { robot-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"机器人守卫还有"<<robot<<"滴血"<<endl; cout<<"机器人守卫使出了机器人之怒!克了75滴血"<<endl; xue-=75; cout<<"你还有"<<xue<<"滴血"<<endl; } if(robot==0||robot<0) { cout<<"机器人守卫死了"<<endl; cout<<"二哈亲自作战"<<endl; kings+=15000; while(kings>0){ kingwithme: s6=rand()%100; cout<<"1.攻击 2.逃跑"<<endl; cin>>e3; if(e3==1){ if(s6<=30){ kings-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"二哈还有"<<kings<<"滴血"<<endl; cout<<"二哈使出了奋力一击!克了"<<kingsgong<<"滴血"<<endl; xue-=kingsgong; cout<<"你还有"<<xue<<"滴血"<<endl; if(kings==0||kings<0) { cout<<"二哈死了"<<endl; cout<<"接下来的日子里,你找到了你的朋友们。"<<endl; Sleep(1000); cout<<"你们重建了部落,日子越过越好!"<<endl; Sleep(1000); cout<<"但是!"<<endl; Sleep(250); cout<<"一年后......"<<endl; Sleep(1000); cout<<"你打听到一个消息:新的国王十分坏(具体多坏,下期再说)"<<endl; Sleep(1000); cout<<"你决定要杀死国王"<<endl; Sleep(1000); cout<<"请期待下一部:<<刺杀国王>>"<<endl; return 0; } else goto kingwithme;
if(xue<0||xue==0) { cout<<"你挂了"; return 0; } } if(s6>=31&&s6<=50){ kings-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"二哈还有"<<kings<<"滴血"<<endl; cout<<"二哈使出了天使庇佑!回了1150滴血"<<endl; kings+=1150; cout<<"你还有"<<xue<<"滴血"<<endl;
if(kings==0||kings<0) {
cout<<"二哈死了"<<endl;
cout<<"接下来的日子里,你找到了你的朋友们。"<<endl;
Sleep(1000);
cout<<"你们重建了部落,日子越过越好!"<<endl;
Sleep(1000);
cout<<"但是!"<<endl;
Sleep(250);
cout<<"一年后......"<<endl;
Sleep(1000);
cout<<"你打听到一个消息:新的国王十分坏(具体多坏,下期再说)"<<endl;
Sleep(1000);
cout<<"你决定要杀死国王"<<endl;
Sleep(1000);
cout<<"请期待下一部:<<刺杀国王>>"<<endl;
return 0;
}else goto kingwithme;
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
}
if(s6>=51&&s6<=70){
kings-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"二哈还有"<<kings<<"滴血"<<endl;
cout<<"二哈使出了战神附体!加50点攻击,减500点生命"<<endl;
kingsgong+=50;
kings-=500;
cout<<"你还有"<<xue<<"滴血"<<endl;
if(kings==0||kings<0) {
cout<<"二哈死了"<<endl;
cout<<"接下来的日子里,你找到了你的朋友们。"<<endl;
Sleep(1000);
cout<<"你们重建了部落,日子越过越好!"<<endl;
Sleep(1000);
cout<<"但是!"<<endl;
Sleep(250);
cout<<"一年后......"<<endl;
Sleep(1000);
cout<<"你打听到一个消息:新的国王十分坏(具体多坏,下期再说)"<<endl;
Sleep(1000);
cout<<"你决定要杀死国王"<<endl;
Sleep(1000);
cout<<"请期待下一部:<<刺杀国王>>"<<endl;
return 0;
}else goto kingwithme;
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
}
else kings-=gong;
cout<<"克了"<<gong<<"滴血"<<endl;
cout<<"二哈还有"<<kings<<"滴血"<<endl;
cout<<"二哈使出了死亡覆盖,你攻击无效"<<endl;
kings+=gong;
cout<<"你还有"<<xue<<"滴血"<<endl;
if(kings==0||kings<0) {
cout<<"二哈死了"<<endl;
cout<<"接下来的日子里,你找到了你的朋友们。"<<endl;
Sleep(1000);
cout<<"你们重建了部落,日子越过越好!"<<endl;
Sleep(1000);
cout<<"但是!"<<endl;
Sleep(250);
cout<<"一年后......"<<endl;
Sleep(1000);
cout<<"你打听到一个消息:新的国王十分坏(具体多坏,下期再说)"<<endl;
Sleep(1000);
cout<<"你决定要杀死国王"<<endl;
Sleep(1000);
cout<<"请期待下一部:<<刺杀国王>>"<<endl;
return 0;
}else goto kingwithme;
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
}
if(e3==2){
cout<<"你被二哈打死了"<<endl;
return 0;
}
}
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(e3==2) {
cout<<"逃跑失败"<<endl;
cout<<"机器人守卫使出了机器人之怒!克了75滴血"<<endl;
xue-=75;
}
}
}
if(xue<0||xue==0) {
cout<<"你挂了";
return 0;
}
if(e3==2) {
cout<<"逃跑失败"<<endl;
cout<<"大骑士使出了无影斩!克了100滴血"<<endl;
xue-=100;
}
}
}
else cout<<"哈哈哈哈哈哈哈哈哈哈!没想到你是个胆小鬼"<<endl;
Sleep(1000);
cout<<"你落荒而逃!"<<endl;
goto gamein;
}
if(a==6) {
hospital: cout<<"1.病房 2.药库 3.门诊 4.离开"<<endl; cin>>f; if(f==1) { cout<<"空无一人"<<endl; Sleep(1000); goto hospital; } if(f==2) { cout<<"您要什么药"<<endl; cout<<"1.蒲地蓝 2.香丹清 3.莎普爱思 4.999小儿感冒灵 5.金振口服液 6.布洛芬"<<endl; cin>>g; if(g==1||g==5||g==6) { cout<<"攻击加15,金币-100"<<endl; gong+=15; jin-=100; } if(g==2||g==3) { cout<<"血量加300,金币-130"<<endl; gong+=300; jin-=130; } else cout<<"经验+100,金币-150"<<endl; jife+=100; jin-150; } if(f==3) { cout<<"是否花60金币挂号"<<endl; cin>>a2; cout<<"超级big庸医:“哪来的臭小子,滚蛋滚蛋!”"<<endl; goto hospital; system("cls"); } else goto gamein; system("cls"); } if(a==7) { cout<<"放心,我这次不会坑你们了!虽然本天才经常玩坑爹游戏,因为我再坑你们,你们就会不玩了!"<<endl; Sleep(1500); cout<<"我也要靠这个火起来的"<<endl; Sleep(500); cout<<"but,!!!!我不会放过你们的,因为我也是靠我的才华进我们学校的编程校队"<<endl; Sleep(1000); cout<<"so,part 1.就是智力大考验"<<endl; Sleep(1000); cout<<"start"<<endl; cout<<"注意:除法直接求商,免余数,小数"<<endl; maths: s5=rand()%4; if(s5==1) { s3=rand()%15; s4=rand()%15; cout<<s3<<"+"<<s4<<endl; cin>>ans; if(ans=s3+s4) { cout<<"Bingo"<<endl; goto maths; sum+=1; } else cout<<"我为了惩罚你这个不知天高地厚,完全木有IQ的人,你的金币我没收了,哈哈哈哈哈!"<<endl; jin=0; goto gamein; sum=0; } if(s5==2) { s3=rand()%15; s4=rand()%15; cout<<s3<<"-"<<s4<<endl; cin>>ans; if(ans=s3-s4) { cout<<"Bingo"<<endl; goto maths; sum+=1; } else cout<<"我为了惩罚你这个不知天高地厚,完全木有IQ的人,你的金币我没收了,哈哈哈哈哈!"<<endl; jin=0; goto gamein; sum=0; } if(s5==3) { s3=rand()%15; s4=rand()%15; cout<<s3<<""<<s4<<endl; cin>>ans; if(ans==s3*s4) { cout<<"Bingo"<<endl; goto maths; sum+=1; } else cout<<"我为了惩罚你这个不知天高地厚,完全木有IQ的人,你的金币我没收了,哈哈哈哈哈!"<<endl; jin=0; goto gamein; sum=0; } if(s5==4) { s3=rand()%15; s4=rand()%15; cout<<s3<<"/"<<s4<<endl; cin>>ans; if(ans=s3/s4) { cout<<"Bingo"<<endl; goto maths; sum+=1; } else cout<<"我为了惩罚你这个不知天高地厚,完全木有IQ的人,你的金币我没收了,哈哈哈哈哈!"<<endl; jin=0; goto gamein; sum=0; } if(sum>=10) { cout<<"不错啊,小伙子!恭喜你的IQ值达到了250。"<<endl; cout<<"下一关"<<endl; system("color a0"); Sleep(1000); system("color c0"); Sleep(1000); system("color d0"); Sleep(1000); system("color f0"); Sleep(1250); cout<<"第二关:战斗训练:"<<endl<<"年轻人,这有两个机器人,你选哪个:1.破铜烂铁机器人 2.无敌金刚机器人"<<endl; cin>>a2; if(a2==1) { cout<<"破铜烂铁机器人倒下了"<<endl; Sleep(1000); cout<<"恭喜你,触发警报 。我为了惩罚你这个不知天高地厚,贪小便宜的人,你的金币我没收了,哈哈哈哈哈!"<<endl; jin=0; goto gamein; sum=0; } else cout<<"无敌金刚机器人使出技能强化"<<endl; cout<<"1.攻击 2.投降 3.技能(请勿打开)"<<endl; cin>>b2; if(b2==1) { cout<<"你对无敌金刚机器人减了%0.0000.......000001的血量"<<endl; Sleep(1000); cout<<"无敌金刚机器人使出了镭射死亡粒子射线"<<endl; Sleep(1000); cout<<"您已死亡!游戏结束"<<endl; return 0; } if(b2==2) { cout<<"无敌金刚机器人使出了镭射死亡粒子射线"<<endl; Sleep(1000); cout<<"您已死亡!游戏结束"<<endl; return 0; } else cout<<"1.葵花宝典 2.电脑病毒 3.X火箭炮 4.晶蟹太刀 5.98K三级头三级甲三级包 6.强化弓弩Pro+"<<endl; cout<<"7. kkksc03洛谷管理员 8.如花 9.绝世神医 10.无敌金刚机器人PLUS 11.你的妈妈爸爸 12.警察叔叔"<<endl; cout<<"13.班主任 14.土豪 15.狗 16.老王 17.拉屎之神 18.史上最最最最最最最最最最最帅的作者我--张孙权"<<endl; cin>>c2; if(c2==1) { cout<<"你断头自杀"<<endl; return 0; } if(c2==3||c2==4||c2==5||c2==6) { cout<<"小伙子,你想开挂啊!"<<endl; jin=0; goto gamein; } if(c2==7||c2==9||c2==11||c2==13||c2==14) { cout<<"快回家写作业,别耽误我打王者!说完送了你一个巴掌"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } if(c2==8) { cout<<"如花用了恶魔之吻"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } if(c2==10) { cout<<"恭喜你升级了无敌金刚机器人,成为超级无敌金刚机器人RX PRO PLUS+并秒掉了你"<<endl; } if(c2==12) { cout<<"原来你就是第二个准备盗窃国家金库的人,跟我走一趟吧!判死刑!"<<endl; cout<<"说完,拿出了AWM,爆了你的头!"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } if(c2==15) { cout<<"狗咬死了你"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } if(c2==16) { cout<<"老王给了你一个surprised"<<endl; cout<<"暂且保密! 突然你大叫了起来"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } if(c2==17) { cout<<"拉屎臭死了你"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } if(c2==18) { cout<<"哎呀,怎么找到这了,保安,把他拖下去斩了,真的太放肆了!"<<endl; cout<<"老弟,后会有期!透露一下,用电脑病毒打他"<<endl; Sleep(1000); cout<<"稍等一下"<<endl; for(int j=1; j<=6; j++) { cout<<"."; Sleep(2500); system("cls"); } goto gamein; cout<<"你死里逃生"<<endl; } if(c2==2) { cout<<"挺聪明的,奖励豪华跑车,私人沙滩,海边别墅,高级飞机,贴身秘书"<<endl; Sleep(1500); cout<<"高楼大厦,98K,三级头,三级甲,三级包,M214,强壮的保安......"<<endl; Sleep(1500); cout<<"以上说的都没有,只有一把下一关的钥匙。"<<endl; Sleep(1000); cout<<"恭喜解锁下一关"<<endl; Sleep(1000); sound: cout<<"没有人,没有线索"<<endl; Sleep(1000); cout<<"你要叫一下吗?1.叫 2.No"<<endl; cin>>d2; if(d2==1) { cout<<"没人"<<endl; cout<<"你要叫一下吗?1.叫 2.No"<<endl; cin>>d2; if(d2==1) { cout<<"您已启动声呐压人模式"<<endl; cout<<"您已死亡!游戏结束"<<endl; return 0; } } else cout<<"下一关"<<endl; Sleep(1000); mima: cout<<"请输入密码:"<<endl; Sleep(1000); cin>>e2; if(e2==mima) { cout<<"不错"<<endl; cout<<"请输入验证码:1314520"<<endl; cin>>f2; if(f2==yama) { cout<<"验证码正确"<<endl; cout<<"请输入内部人员强化密码:"; cin>>g2; if(qima==g2) { cout<<"正确"<<endl; cout<<"面部识别中......"; Sleep(1000); cout<<"原来是强子啊!"<<endl; Sleep(1000); cout<<"终极考核:选个圆盘。"<<endl; cout<<"1.一个是代表富贵的黄金圆盘 2.代表诚实勤俭不富贵的青铜圆盘"<<endl; cin>>a3; if(a3==1) { cout<<"你获得了1000金币,1500滴血,升15级!"<<endl; jin+=1000; xue+1500; deji+=15; } else cout<<"你在欺骗上天,明明要黄金,却故意选青铜!"<<endl; cout<<"去s吧,你被洪水淹死了"; return 0; } else cout<<"我为了惩罚你这个不知天高地厚的人,你的金币我没收了,哈哈哈哈哈!"<<endl; goto gamein; } else cout<<"我为了惩罚你这个不知天高地厚的人,你的金币我没收了,哈哈哈哈哈!"<<endl; goto gamein; } else cout<<"我为了惩罚你这个不知天高地厚的人,你的金币我没收了,哈哈哈哈哈!"<<endl; goto gamein; } } } if(a==8) { s6=rand()%300; if(s6<30) { xiao1+=500; while(xiao1>0) { cout<<"树人冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao1-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"树人还有"<<xiao1<<"滴血"<<endl; cout<<"树人使出了藤鞭攻击,克了20滴血"<<endl; xue-=20; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao1==0||xiao1<0) { cout<<"树人腐化了"<<endl; cout<<"经验+45,金币+200"<<endl; jife+=45; jin+=200; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"树人使出了藤鞭攻击,克了20滴血"<<endl; xue-=20; } } } if(s6>=31&&s6<=60) { xiao2+=200; while(xiao2>0) { cout<<"原始人门卫冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao2-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"原始人门卫还有"<<xiao2<<"滴血"<<endl; cout<<"原始人门卫揍了你一下,克了60滴血"<<endl; xue-=60; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao2==0||xiao2<0) { cout<<"原始人门卫逃跑了"<<endl; cout<<"经验+45,血量加100"<<endl; jife+=45; xue+=100; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"原始人门卫揍了你一下,克了60滴血"<<endl; xue-=60; } } } if(s6>=61&&s6<=85) { xiao3+=950; while(xiao3>0) { cout<<"树精卫士冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao3-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"树精卫士还有"<<xiao3<<"滴血"<<endl; cout<<"树精卫士树灵激光,克了45滴血"<<endl; xue-=45; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao3==0||xiao3<0) { cout<<"树精卫士腐化了"<<endl; cout<<"经验+100,金币+450"<<endl; jife+=45; xue+=100; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"树精卫士树灵激光,克了45滴血"<<endl; xue-=45; } } } if(s6>=86&&s6<=110) { xiao4+=500; while(xiao4>0) { cout<<"原始人战士冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao4-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"原始人战士还有"<<xiao4<<"滴血"<<endl; cout<<"原始人战士使出了剑气,克了100滴血"<<endl; xue-=100; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao4==0||xiao4<0) { cout<<"原始人战士逃跑了"<<endl; cout<<"经验+100,血量+200"<<endl; jife+=100; xue+=200; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"原始人战士使出了剑气,克了100滴血"<<endl; xue-=100; } } } if(s6>=111&&s6<=135) { xiao5+=1350; while(xiao5>0) { cout<<"妙蛙种子冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao5-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"妙蛙种子还有"<<xiao5<<"滴血"<<endl; cout<<"妙蛙种子使出了飞叶快刀,克了95滴血"<<endl; xue-=95; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao5==0||xiao5<0) { cout<<"妙蛙种子逃跑了"<<endl; cout<<"经验+300,金币+500"<<endl; jife+=300; xue+=500; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"妙蛙种子使出了飞叶快刀,克了95滴血"<<endl; xue-=95; } } } if(s6>=136&&s6<=170) { xiao6+=700; while(xiao6>0) { cout<<"原始人萨满冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao6-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"原始人萨满还有"<<xiao6<<"滴血"<<endl; cout<<"原始人萨满使出了法术之力,克了150滴血"<<endl; xue-=150; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao6==0||xiao6<0) { cout<<"原始人萨满逃跑了"<<endl; cout<<"经验+350,金币+450"<<endl; jife+=350; xue+=450; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"原始人萨满使出了法术之力,克了150滴血"<<endl; xue-=150; } } } if(s6>=171&&s6<=200) { xiao7+=1500; while(xiao7>0) { cout<<"原始暴君冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao7-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"原始暴君还有"<<xiao7<<"滴血"<<endl; cout<<"原始暴君使出了暴怒强拳,克了300滴血"<<endl; xue-=300; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao7==0||xiao7<0) { cout<<"原始暴君逃跑了"<<endl; cout<<"经验+600,金币+1000"<<endl; jife+=600; xue+=1000; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"原始暴君使出了暴怒强拳,克了300滴血"<<endl; xue-=300; } } } if(s6>=200&&s6<=240) { xiao8+=2250; while(xiao8>0) { cout<<"剑草精灵冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { xiao8-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"剑草精灵还有"<<xiao8<<"滴血"<<endl; cout<<"剑草精灵使出了草本刚剑,克了200滴血"<<endl; xue-=200; cout<<"你还有"<<xue<<"滴血"<<endl; } if(xiao8==0||xiao8<0) { cout<<"剑草精灵化成了仙尘"<<endl; cout<<"经验+500,金币+1200"<<endl; jife+=500; xue+=1200; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"剑草精灵使出了草本刚剑,克了200滴血"<<endl; xue-=200; } } } if(s6>=241&&s6<=265) { boss1+=5000; while(boss1>0) { cout<<"圣诞树人冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { boss1-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"圣诞树人还有"<<boss1<<"滴血"<<endl; cout<<"圣诞树人使出了躁树冲撞,克了200滴血"<<endl; xue-=200; cout<<"你还有"<<xue<<"滴血"<<endl; } if(boss1==0||boss1<0) { cout<<"圣诞树人腐化了"<<endl; cout<<"经验+1000,金币+5000"<<endl; jife+=1000; xue+=5000; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"圣诞树人使出了草本刚剑,克了200滴血"<<endl; xue-=200; } } } if(s6>=266&&s6<=290) { boss2+=3000; while(boss2>0) { cout<<"原始人祭司首领冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { boss1-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"原始人祭司首领还有"<<boss2<<"滴血"<<endl; cout<<"原始人祭司首领使出了天降陨石,克了200滴血"<<endl; xue-=200; cout<<"你还有"<<xue<<"滴血"<<endl; } if(boss1==0||boss1<0) { cout<<"原始人祭司首领逃跑了"<<endl; cout<<"经验+1000,金币+5000"<<endl; jife+=1000; xue+=5000; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"原始人祭司首领使出了天降陨石,克了200滴血"<<endl; xue-=200; } } } if(s6>=291&&s6<=300) { boss3+=7500; while(boss3>0) { cout<<"德鲁伊冲了出来"<<endl<<"1.攻击 2.逃跑"<<endl; Sleep(1000); cin>>b3; if(b3==1) { boss1-=gong; cout<<"克了"<<gong<<"滴血"<<endl; cout<<"德鲁伊还有"<<boss1<<"滴血"<<endl; cout<<"德鲁伊使出了千灵物种,克了350滴血"<<endl; xue-=350; cout<<"你还有"<<xue<<"滴血"<<endl; } if(boss1==0||boss1<0) { cout<<"德鲁伊逃跑了"<<endl; cout<<"经验+1500,金币+10000"<<endl; jife+=1500; xue+=10000; goto gamein; } if(xue<0||xue==0) { cout<<"你挂了"; return 0; } if(b3==2) { cout<<"逃跑失败"<<endl; cout<<"德鲁伊使出了千灵物种,克了350滴血"<<endl; xue-=350; } } } } if(a==10||a==9) { cout<<"暂未开放,下一版本开发"<<endl; goto gamein; } if(a==11) return 0; return 0; }
nb
兄弟你是五年级嘛
e,不是,这是我去年弄得。当时5年级,然后6年级测试发布在我们编程社的
您这是看不起苹果用户(雾)
苹果我还没试过,但是Win10运行不了qwq