概述
#include<bits/stdc++.h>#include<time.h>#include<windows.h>#include<stdlib.h>usingnamespacestd;
intmain(){
cout<<" 我";
Sleep(500);
cout<<" 的";
Sleep(500);
cout<<" 世";
Sleep(500);
cout<<" 界";
Sleep(1000);
cout<<endl<<"输入d"<<endl;
string a;
cin>>a;
if(a=="d") {
cout<<endl<<"相传世界由2名创世神所创造。一个叫Notch,一个叫Herobring。";
cout<<"他们是一对兄弟。";
cout<<endl<<endl<<"他们创造出了人类。Notch总是创造出对人类有益的东西,";
cout<<"可Herobring相反。";
cout<<endl<<endl<<"有一天,Herobring与Notch大战了一场,Herobring被Notch";
cout<<"击杀了。Herobring死前发誓要复仇。";
cout<<endl<<endl<<"可是,当大家都很高兴的时候,Notch找到你,对你说:";
cout<<endl<<endl<<"Him的创世之力不会被轻易消灭,总有一天,他会苏醒的!!去找我的传承!!别忘了去边境之地!!";
cout<<endl<<endl<<"苍老的Notch说完话,便倒下了。";
cout<<endl<<endl<<endl<<endl<<"一场新的故事,拉开了序幕...";
string name;
string d;
cout<<endl<<endl<<"你的名字:";
cin>>name;
if(name=="Notch") {
cout<<"你太作了,你怎么可能是Notch";
return0;
}
if(name=="Him" || name=="him" || name=="Herobrine") {
cout<<"啊啊啊啊!!!!Herobrine走开!!!!";
return0;
}
longlong a,b,c,him=0,xue=999,gong=100,ji=1,jin=0,tt=0,nxue=9999999,ngong=999;
longlong ji1=0,ji3=0,shang=0,gong1=1000,fgt=0,gong2=1099,ttt=0,fff=0,null=0;
longlong hxue1=99999999,hxue2=999999999,hxue3=9999999999,hxuezheng=9999999999999,money=100,chi=0,r,ci=0;
longlong xue1=990,xue2=999,xue3=1000,xue4=9000,xue5=9900,xue6=9990,xue7=9999,xue79=911910;//开头结束while(him<2) {
cout<<endl<<"1--冒险 2--商店 3--状态 4--领取传承";
cin>>a;
if(a==1) {
cout<<endl<<"0--铁傀儡之村 1--僵尸森林 2--骷髅大陆 3--女巫沼泽 4--末影宫殿 ";
cout<<"5--守卫之洋 6--林地府邸 7--边境之地 8--Null星球 9--herobring的封印1号 "<<endl;
cout<<"10--herobring的封印2号 11--herobring的封印3号 12--herobring真身的封印";
cin>>b;
if(b==0) {
while(xue7>0) {
cout<<endl<<"你不小心打到铁傀儡,铁傀儡向你扑来!";
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue7-=gong;
cout<<endl<<"铁傀儡克了"<<gong<<"滴血";
if(xue7>0) {
cout<<endl<<"铁傀儡还有"<<xue7<<"滴血";
cout<<endl<<"铁傀儡赏了你一巴掌!你克了900滴血";
xue-=900;
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"铁傀儡挂菜!";
} elseif(c==2) {
xue-=90;
cout<<endl<<"逃跑失败!克90滴血 ";
cout<<endl<<"你还有"<<xue<<"滴血";
}
if(xue<=0) {
cout<<endl<<"你死了!";
return0;
}
}
cout<<endl<<"打败铁傀儡,经验加90000点!获得99000元。";
jin+=90000;
xue7=9999;
money+=99000;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
gong+=9;
xue+=20;
}
}
if(b==1) {
while(xue1>0) {
cout<<endl<<"僵尸向你扑来!";
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue1-=gong;
cout<<endl<<"僵尸克了"<<gong<<"滴血";
if(xue1>0) {
cout<<endl<<"僵尸还有"<<xue1<<"滴血";
cout<<endl<<"僵尸咬了你!你克了30滴血";
xue-=30;
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"僵尸挂菜!";
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
cout<<endl<<"你还有"<<xue<<"滴血";
}
if(xue<=0) {
cout<<endl<<"你死了!";
return0;
}
}
cout<<endl<<"打败僵尸,经验加900点!获得1000元。";
jin+=900;
xue1=990;
money+=1000;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(1);
gong+=9;
xue+=20;
}
}
if(b==2) {
while(xue2>0) {
cout<<endl<<"骷髅拿起了弓!";
Sleep(1000);
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue2-=gong;
cout<<endl<<"骷髅克了"<<gong<<"滴血";
Sleep(10);
if(xue2>0) {
cout<<endl<<"骷髅还有"<<xue2<<"滴血";
Sleep(10);
cout<<endl<<"你被射中了!你克了100滴血";
Sleep(10);
xue-=100;
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
} elsecout<<endl<<"骷髅挂菜!";
Sleep(10);
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
Sleep(10);
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
}
if(xue<=0) {
cout<<endl<<"你死了!";
Sleep(10);
return0;
}
}
cout<<endl<<"打败骷髅,经验加950点!获得1050元";
Sleep(10);
jin+=950;
xue2=999;
money+=1050;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(10);
gong+=9;
xue+=20;
}
}
if(b==3) {
while(xue3>0) {
cout<<endl<<"女巫丢出了药水!";
Sleep(10);
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue3-=gong;
cout<<endl<<"女巫克了"<<gong<<"滴血";
Sleep(10);
if(xue3>0) {
cout<<endl<<"女巫还有"<<xue3<<"滴血";
Sleep(10);
cout<<endl<<"你被药水砸中了!你克了200滴血";
Sleep(10);
xue-=200;
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
} elsecout<<endl<<"女巫挂菜!";
Sleep(10);
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
Sleep(10);
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
}
if(xue<=0) {
cout<<endl<<"你死了!";
Sleep(10);
return0;
}
}
cout<<endl<<"打败女巫,经验加1000点!获得1100元";
Sleep(10);
jin+=1000;
xue3=1000;
money+=1100;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(10);
gong+=9;
xue+=20;
}
}
if(b==4) {
while(xue4>0) {
cout<<endl<<"你看见了末影人的眼睛!";
Sleep(10);
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue4-=gong;
cout<<endl<<"末影人克了"<<gong<<"滴血";
if(xue4>0) {
cout<<endl<<"末影人还有"<<xue4<<"滴血";
Sleep(10);
cout<<endl<<"你被末影人攻击了!你克了300滴血";
Sleep(10);
xue-=300;
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
} elsecout<<endl<<"末影人挂菜!";
Sleep(10);
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
Sleep(10);
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
}
if(xue<=0) {
cout<<endl<<"你死了!";
Sleep(10);
return0;
}
}
cout<<endl<<"打败末影人,经验加1050点!获1150元";
Sleep(10);
jin+=1050;
xue4=9000;
money+=1150;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(10);
gong+=9;
xue+=20;
}
}
if(b==5) {
while(xue5>0) {
cout<<endl<<"你被守卫者用光波链接了!";
Sleep(10);
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue5-=gong;
cout<<endl<<"守卫者克了"<<gong<<"滴血";
Sleep(10);
if(xue5>0) {
cout<<endl<<"守卫者还有"<<xue5<<"滴血";
Sleep(10);
cout<<endl<<"守卫者光波攻击成功!你克了450滴血";
Sleep(10);
xue-=450;
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
} elsecout<<endl<<"守卫者挂菜!";
Sleep(10);
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
Sleep(10);
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
}
if(xue<=0) {
cout<<endl<<"你死了!";
Sleep(1000);
return0;
}
}
cout<<endl<<"打败守卫者,经验加1100点!获得1200元";
Sleep(10);
jin+=1100;
xue5=9900;
money+=1200;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(10);
gong+=9;
xue+=20;
}
}
if(b==6) {
while(xue6>0) {
cout<<endl<<"卫道士拿出一把大斧头!";
Sleep(10);
cout<<endl<<"是否攻击/逃跑?(1/2)";
cin>>c;
if(c==1) {
xue6-=gong;
cout<<endl<<"卫道士克了"<<gong<<"滴血";
Sleep(10);
if(xue6>0) {
cout<<endl<<"卫道士还有"<<xue6<<"滴血";
Sleep(10);
cout<<endl<<"卫道士狠狠砍了你一斧!你克了500滴血";
Sleep(10);
xue-=500;
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
} elsecout<<endl<<"卫道士挂菜!";
Sleep(10);
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
Sleep(10);
cout<<endl<<"你还有"<<xue<<"滴血";
Sleep(10);
}
if(xue<=0) {
cout<<endl<<"你死了!";
Sleep(10);
return0;
}
}
cout<<endl<<"打败卫道士,经验加1300点!获得1500元";
Sleep(10);
jin+=1300;
xue6=9990;
money+=1500;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(10);
gong+=9;
xue+=20;
}
}
if(b==7) {
if(ci==0) {
cout<<endl<<"你进入了边境之地,看见了个奇怪的铁傀儡(一半是黑曜石,一半是无限金属)。奇怪的铁傀儡说:吾乃黑曜石守护者,吾皇有令,任何过路生灵,斩!"<<endl;
Sleep(1000);
cout<<"说完,他扑了过来"<<endl;
Sleep(1000);
cout<<endl<<"你攻击了黑曜石守护者"<<endl;
Sleep(1000);
cout<<endl<<"黑曜石守护者克了1滴血"<<endl;
Sleep(1000);
cout<<endl<<"黑曜石守护者还有"<<xue79-1<<"滴血"<<endl;
Sleep(1000);
cout<<endl<<"黑曜石守护者了使用了“暗黑光波”你只剩1滴血!!"<<endl;
Sleep(1000);
r=xue;
xue-=xue-1;
cout<<endl<<"逃!"<<endl;
Sleep(2000);
cout<<endl<<"黑曜石守护者轻轻剁了一下地,你摔倒在地。。。。"<<endl;
Sleep(1000);
cout<<endl<<"我死了????"<<endl;
Sleep(1000);
cout<<endl<<"不!我的世界要我来守护!!!!"<<endl;
Sleep(1000);
cout<<endl<<"你满血复活!升级!"<<endl;
Sleep(1000);
xue=r;
ji+=1;
gong+=9;
xue+=20;
ci=1;
while(xue79>0) {
c=1;
if(c==1) {
xue79-=gong;
cout<<"你攻击了黑曜石守护者"<<endl;
Sleep(10);
cout<<endl<<"黑曜石守护者克了"<<gong<<"滴血"<<endl;
Sleep(10);
if(xue79>0) {
cout<<endl<<"黑曜石守护者还有"<<xue79<<"滴血";
Sleep(10);
cout<<endl<<"黑曜石守护者使用了“暗黑光波”!你克了900滴血";
xue-=900;
Sleep(10);
cout<<endl<<"你还有"<<xue<<"滴血"<<endl;
Sleep(1000);
} elsecout<<endl<<"黑曜石守护者挂菜!";
Sleep(10);
}
if(xue<=0) {
cout<<endl<<"你死了!";
Sleep(10);
return0;
}
}
cout<<endl<<"打败黑曜石守护者,经验加990000点!获得999000元。拿到钥匙";
Sleep(10);
jin+=90000;
xue79=911910;
money+=99000;
chi=1 ;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
Sleep(10);
gong+=9;
xue+=20;
}
} else {
while(xue79>0) {
c=1;
if(c==1) {
xue79-=gong;
cout<<"你攻击了黑曜石守护者"<<endl;
cout<<endl<<"黑曜石守护者克了"<<gong<<"滴血"<<endl;
if(xue79>0) {
cout<<endl<<"黑曜石守护者还有"<<xue79<<"滴血";
cout<<endl<<"黑曜石守护者使用了!你克了900滴血";
xue-=900;
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"黑曜石守护者挂菜!";
}
if(xue<=0) {
cout<<endl<<"你死了!";
return0;
}
}
if(tt<=8) {
cout<<endl<<"打败黑曜石守护者,经验加990000点!获得999000元。拿到钥匙,得到Notch十分之一的传承";
jin+=90000;
xue79=911910;
money+=99000;
gong+=40000;
xue+=9990000;
money+=999999999;
fff+=1;
tt+=1;
chi=1 ;
while(jin>=100) {
jin-=100;
ji+=2;
cout<<endl<<name<<"升2级!";
gong+=18;
xue+=40;
}
}
if(tt>8) {
cout<<endl<<"打败黑曜石守护者,经验加990000点!获得999000元.";
jin+=90000;
xue79=911910;
money+=99000;
chi=1 ;
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
gong+=9;
xue+=20;
}
}
}
}
if(b==8) {
if(chi==1) {
cout<<"确定?(1/2)";
cin>>b;
if(b==1) {
cout<<"天地间一声巨响,Null闪亮登场!"<<endl;
cout<<"你就是Notch的传承人?!不堪一击!";
while(nxue>0) {
cout<<endl<<"Null冲了过来!";
Sleep(100);
if(c==1) {
nxue-=gong;
shang+=gong;
cout<<endl<<"Null克了"<<gong<<"滴血";
if(hxue1>0) {
if(ji1<10 && ji3<20) {
cout<<endl<<"Null还有"<<nxue<<"滴血";
cout<<endl<<"你被Null打中了!你克了"<<gong1<<"滴血";
xue-=ngong;
ji1++;
ji3++;
}
if(ji1==10) {
cout<<endl<<"Null还有"<<nxue<<"滴血";
cout<<endl<<"Null使用了“湮灭爆破”,你被Null打中了!你克了9900滴血!";
xue-=9900;
ji1=0;
}
if(shang>=99999) {
cout<<endl<<"Null还有"<<nxue<<"滴血";
cout<<endl<<"Null使用了“幻灭守护”,普攻加200,血加990";
ngong+=200;
nxue+=990;
shang=0;
}
if(ji3==20) {
cout<<endl<<"Null还有"<<nxue<<"滴血";
cout<<endl<<"Null使用了“幻灭之剑”,你被Null打中了!你克了9990滴血!";
xue-=9990;
ji3=0;
}
if(xue<=0) {
cout<<endl<<"你死了!";
return0;
} elsecout<<endl<<"你还有"<<xue<<"滴血";
Sleep(100);
} elsecout<<endl<<"Null死了!";
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
cout<<endl<<"你还有"<<xue<<"滴血";
}
}
cout<<endl<<"你击杀了Null,你得到十分之一的传承";
if(fgt==0) {
null=1;
gong+=40000;
xue+=9990000;
money+=999999999;
fff+=1;
}
}
} else {
cout<<"你没有钥匙!";
}
}
if(b==9) {
if(null==1) {
cout<<"确定?(1/2)";
cin>>b;
if(b==1) {
cout<<"天地间一声巨响,Him闪亮登场!"<<endl;
cout<<"你就是Notch的传承人?!不堪一击!";
while(hxue1>0) {
cout<<endl<<"Him冲了过来!";
Sleep(100);
if(c==1) {
hxue1-=gong;
shang+=gong;
cout<<endl<<"Him克了"<<gong<<"滴血";
if(hxue1>0) {
if(ji1<10 && ji3<20) {
cout<<endl<<"Him还有"<<hxue1<<"滴血";
cout<<endl<<"你被Him打中了!你克了"<<gong1<<"滴血";
xue-=gong1;
ji1++;
ji3++;
}
if(ji1==10) {
cout<<endl<<"Him还有"<<hxue1<<"滴血";
cout<<endl<<"Him使用了“天邪之石”,你被Him打中了!你克了9990滴血!";
xue-=9990;
ji1=0;
}
if(shang>=999999) {
cout<<endl<<"Him还有"<<hxue1<<"滴血";
cout<<endl<<"Him使用了“黑曜圣守护”,普攻加300,血加999";
gong1+=300;
hxue1+=999;
shang=0;
}
if(ji3==20) {
cout<<endl<<"Him还有"<<hxue1<<"滴血";
cout<<endl<<"Him使用了“黑曜石怒放”,你被Him打中了!你克了10099滴血!";
xue-=10099;
ji3=0;
}
if(xue<=0) {
cout<<endl<<"你死了!";
return0;
} elsecout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"Him死了!";
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
cout<<endl<<"你还有"<<xue<<"滴血";
}
}
cout<<endl<<"你击杀了Him 1号分身,你成了大英雄!血加4万";
xue+=40000;
if(fgt==0) {
him+=1;
fgt++;
ji1=0;
ji3=0;
shang=0;
}
}
} else {
cout<<"你没打Null!";
}
}
if(b==10) {
if(him>=1) {
cout<<"确定?(1/2)";
cin>>b;
if(b==1) {
cout<<"天地间一声巨响,Him闪亮登场!"<<endl;
cout<<"你就是Notch的传承人?!不堪一击!";
while(hxue2>0) {
cout<<endl<<"Him冲了过来!";
Sleep(100);
if(c==1) {
hxue2-=gong;
shang+=gong;
cout<<endl<<"Him克了"<<gong<<"滴血";
if(hxue2>0) {
if(ji1<10 && ji3<20) {
cout<<endl<<"Him还有"<<hxue2<<"滴血";
cout<<endl<<"你被Him打中了!你克了"<<gong2<<"滴血";
xue-=gong2;
ji1++;
ji3++;
}
if(ji1==10) {
cout<<endl<<"Him还有"<<hxue2<<"滴血";
cout<<endl<<"Him使用了“灭世之雷”,你被Him打中了!你克了9999滴血!";
xue-=9999;
ji1=0;
}
if(shang>=9999999) {
cout<<endl<<"Him还有"<<hxue2<<"滴血";
cout<<endl<<"Him使用了“黑圣雷守护”,普攻加309,血加1090";
gong2+=300;
hxue2+=1090;
shang=0;
}
if(ji3==20) {
cout<<endl<<"Him还有"<<hxue2<<"滴血";
cout<<endl<<"Him使用了“黑雷神天怒”,你被Him打中了!你克了10999滴血!";
xue-=10999;
ji3=0;
}
if(xue<=0) {
cout<<endl<<"你死了!";
return0;
} elsecout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"Him死了!";
} elseif(c==2) {
xue-=50;
cout<<endl<<"逃跑失败!克50滴血 ";
cout<<endl<<"你还有"<<xue<<"滴血";
}
}
cout<<endl<<"你击杀了Him 2号分身,你成了大英雄!血加4万";
xue+=40000;
if(fgt==1) {
him+=1;
fgt++;
}
}
} else {
cout<<"你没打1号!";
}
}
if(b==11) {
cout<<"暂未开放";
}
if(b==12) {
cout<<"暂未开放";
}
}
if(a==2) {
cout<<endl<<"你有"<<money<<"元";
cout<<endl<<"1--治疗药水(瞬间治疗9)9999元 2--治疗药水(瞬间治疗)30元 3--治疗药水(瞬间治疗2)50元 4--治疗药水(瞬间治疗3)500元 5--经验瓶1000元 6--咸鱼(家传宝) 9999元 7--钻石剑!!!!(99999元) 8--附魔钻石剑!!!(锋利100 999999元) 9--创世之剑!!!!!!!(Notch与him大战时忘在家里的 99999999元) 10--无尽星空!!!!!!(宇宙最强之剑!! 999999999元) 11--退出" ;
cin>>b;
if(b==1) {
if(money>=9999) {
money-=9999;
xue+=99999;
cout<<endl<<"购买成功!血加99999滴";
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"钱不够!";
}
if(b==2) {
if(money>=30) {
money-=30;
xue+=100;
cout<<endl<<"购买成功!血加一百滴";
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"钱不够!";
}
if(b==3) {
if(money>=50) {
money-=50;
xue+=200;
cout<<endl<<"购买成功!血加二百滴";
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<"钱不够!";
}
if(b==4) {
if(money>=500) {
money-=500;
xue+=1000;
cout<<endl<<"购买成功!血加一千滴";
cout<<endl<<"你还有"<<xue<<"滴血";
} elsecout<<endl<<"钱不够!";
}
if(b==5) {
if(money>=1000) {
money-=1000;
jin+=200;
cout<<endl<<"购买成功!经验加两百";
while(jin>=50) {
jin-=50;
ji+=1;
cout<<endl<<name<<"升级!";
gong+=9;
xue+=20;
}
} elsecout<<endl<<"钱不够!";
}
if(b==6) {
if(money>=9999) {
money-=9999;
gong+=100;
cout<<endl<<"购买成功!伤害加一千";
cout<<endl<<"你还有"<<gong<<"伤害";
} elsecout<<endl<<"钱不够!";
}
if(b==7) {
if(money>=99999) {
money-=99999;
gong+=5000;
cout<<endl<<"购买成功!伤害加五千";
cout<<endl<<"你还有"<<gong<<"伤害";
} elsecout<<endl<<"钱不够!";
}
if(b==8) {
if(money>=999999) {
money-=999999;
gong+=10000;
cout<<endl<<"购买成功!伤害加一万";
cout<<endl<<"你还有"<<gong<<"伤害";
} elsecout<<endl<<"钱不够!";
}
if(b==9) {
if(money>=99999999) {
money-=99999999;
gong+=20000;
cout<<endl<<"购买成功!伤害加两万!!";
cout<<endl<<"你还有"<<gong<<"伤害";
} elsecout<<endl<<"钱不够!";
}
if(b==10) {
if(money>=999999999) {
money-=9999999999;
gong+=99999999999999;
cout<<endl<<"购买成功!伤害加99999999999999!!!";
cout<<endl<<"你还有"<<gong<<"伤害";
} elsecout<<endl<<"钱不够!";
}
}
if(a==3) {
cout<<endl<<endl<<"血量"<<xue<<"滴"<<" 攻击"<<gong<<"点 ";
cout<<endl<<ji<<"级 "<<"还有"<<50-jin<<"点经验升级"<<" 还有"<<money<<"元 "<<"得到了Notch "<<fff<<"分之一的传承"<<endl;
}
if(a==4 && ttt==0) {
cout<<"请输入him对头的名字:"<<endl;
cin>>d;
if(d=="实体303") {
cout<<"回答正确,下一个问题,你的战斗力是多少?";
cin>>b;
if(b==gong) {
cout<<"回答正确,您得到Notch的十分之一的传承,攻击加4万,血量加999万,钱加999999999。"<<endl;
gong+=40000;
xue+=9990000;
money+=999999999;
ttt=1;
fff+=1;
}
}
}
}
cout<<endl<<"你赢了!";
}
return0;
}
有什么感想?
最后
以上就是唠叨小蝴蝶为你收集整理的c++我的世界小游戏的全部内容,希望文章能够帮你解决c++我的世界小游戏所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复