#include<bits/stdc++.h>
#include<cstring>
#include<windows.h>
using namespace std;
int main(){
MessageBox(NULL, "请不要输入字符,否则导致游戏崩溃!!!(除了输入兑换码)", "提示", MB_OK);
int dj=1,g=0,x=0,o;
int d;
bool so=false;
//dj=等级,d=日常输入,g=经验,x=名声,o=难度
unsigned long long a=0,e=1,f=5;
//a=钱,e=赚钱速度,f=升级钱数
int mc1=0,mc2=0,mc3=0,mc4=0,mc5=0,mc6=0,mc7=0,mc8=0,mc9=0,mc10=0,mc11=0,mc12=0,mc13=0;
//买车数据
//标题输出
for(int i=1;i<=21;i++){
cout<<"=";
Sleep(150);
} cout<<endl;
cout<<"=";
Sleep(150);
cout<<" 一千万亿很简单 ";
Sleep(150);
cout<<"=";
cout<<endl<<"=";
for(int i=1;i<=6;i++){
cout<<" ";
}
cout<<"(3.0)";
for(int i=1;i<=6;i++){
cout<<" ";
}
cout<<"=";
cout<<endl;
Sleep(150);
for(int i=1;i<=21;i++){
cout<<"=";
Sleep(200);
}
cout<<endl;
Sleep(100);
cout<<"=";Sleep(200);
cout<<"备";Sleep(300);
cout<<"注";Sleep(300);
cout<<":";Sleep(500);
cout<<"(";Sleep(300);
cout<<"可";Sleep(300);
cout<<"能";Sleep(300);
cout<<"吧";Sleep(300);
cout<<"~";Sleep(300);
cout<<"~";Sleep(300);
cout<<"~";Sleep(300);
cout<<")";Sleep(300);
cout<<"="<<endl;
Sleep(800);
cout<<"=";Sleep(300);
cout<<" (";Sleep(300);
cout<<"-";Sleep(300);
cout<<"_";Sleep(300);
cout<<"-";Sleep(300);
cout<<"'";Sleep(300);
cout<<")";Sleep(300);
cout<<" ="<<endl;
Sleep(300);
cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"="<<endl;
Sleep(1000);
//难度输入
cout<<"简单:3 中等:4 困难:5" <<endl;
for(int i=4;i>=1;i--){
cin>>o;
if(o<3||o>5){
if(i-1==0){
cout<<"你没有机会了!";
Sleep(1500);
cout<<"已自动设为简单模式"<<endl;
Sleep(2000);
o=2;
}else {
cout<<"输错了!你还有"<<i-1<<"次机会";
Sleep(200);
cout<<"(";
Sleep(200);
cout<<"^";
Sleep(200);
cout<<"_";
Sleep(200);
cout<<"^";
Sleep(200);
cout<<")"<<endl;
}
}else break;
}
cout<<"正在编辑中";
for(int i=1;i<=6;i++){
cout<<".";
Sleep(400);
}
cout<<endl;
Sleep(2000);
cout<<"计算结束 状态正常!"<<endl;
Sleep(2500);
cout<<"游戏正式开始!!!"<<endl;
Sleep(1000);
system("cls");
//主代码
int dlb1=0,dlb2=0,dlb3=0;
bool flag=0;
//兑换码
for(int X=0;;X++){
if(flag){
system("cls");
flag=0;
}
cout<<"赚钱:1(赚钱速度为"<<e<<") 升级:2(升级钱数为"<<f<<") 排行:3 $:"<<a<<" 级别:"<<dj<<" 买车,买房:4"<<" 经验:"<<g<<" 兑换码:5"<<" 挂机:6"<<" 攻略:7"<<endl;
while(cin>>d){
Sleep(100);
if(d>=8||d<=0){
cout<<"没有这个功能,请重新输入。"<<endl;
Sleep(1000);
flag=1;
}
else break;
}
if(X%350==0&&X!=0){
int yxsc=0;
//游戏时长
cout<<"玩太久了哦,休息一下^_^"<<endl;
yxsc=X/175;
Sleep(yxsc);
}
if(X%20==0&&X!=0){
g=g+1;
e=e*1.5;
}
if(d==7){
system("cls");
cout<<endl<<"攻略:"<<endl;
cout<<"想快点赚钱就快点升级(手动赚钱最快哦!!!)" <<endl;
Sleep(3000);
cout<<"记得看排名(到了最强王者或最强王者以上有惊喜!!!)"<<endl;
Sleep(3500);
cout<<"没时间玩的话试试挂机,但最多挂机30分钟"<<endl;
Sleep(3000);
cout<<"偷偷告诉你个兑换码:大钱包礼金"<<endl;
Sleep(3000);
cout<<"买车买房中可以获得成就哦!"<<endl;
Sleep(4000);
cout<<"等等,兑换码似乎有点不对劲,好像是字的位置错了。好吧,就这样吧,攻略结束^_^"<<endl;
Sleep(4000);
system("cls");
}
if(d==6){
system("cls");
long long guaji=0;//金钱
int gjsj=0;//时间
Sleep(200);
MessageBox(NULL, "挂机时间无法做任何操作!!!", "注意", MB_OK);
MessageBox(NULL, "最多挂机30分钟,每秒获得一次金钱。", "注意", MB_OK);
while(1){
cout<<"退出按1,挂机按2"<<endl;
int as;
cin>> as;
if(as==1){
system("cls");
break;
}
if(as==2){
system("cls");
cout<<"您现在已经进入挂机模式" <<endl;
cout<<"请输入挂机时间 (按秒计算):";
for(int i=3;i>=0;i--){
cin>>gjsj;
cout<<endl;
if(gjsj>=1801&&i>0){
cout<<"时间太多,请重新输入。您还剩"<<i<<"次机会,机会没时,将自动变为1分钟"<<endl;
}else if(gjsj>=1801&&i==0){
cout<<"您没有机会了!"<<endl;
Sleep(200);
cout<<"已自动变为1分钟" <<endl;
}else{
system("cls");
break;
}
}
cout<<"准备挂机"<<endl;
Sleep(1500);
as=0;
cout<<"开始挂机"<<endl;
while(as<=gjsj){
cout<<"还剩"<<gjsj-as<<"秒"<<endl;
Sleep(1000);
system("cls");
as++;
}
a+=(e*gjsj);
cout<<"已挂机完毕,您获得了"<<e*gjsj<<"元"<<endl;
}
}
}
if(d==5){
system("cls");
string dhm;
cout<<endl;
Sleep(200);
cout<<"请输入兑换码:"<<endl;
cin>>dhm;
if(dhm=="金钱大礼包"&&dlb2==0){
dlb2++;
a+=10000000;
cout<<endl;
cout<<"已兑换金钱大礼包 你获得了10000000元"<<endl;
system("cls");
}else if(dhm=="新手大礼包"&&dlb3==0){
a+=1000;
f/=2;
so=true;
dlb3++;
cout<<endl;
cout<<"已兑换新手大礼包 你获得了半价升级(一次),1000金币"<<endl;
system("cls");
}else if(dhm=="新手大礼包"&&dlb3!=0||dhm=="金钱大礼包"&&dlb2!=0){
cout<<"此兑换码已被使用"<<endl;
system("cls");
}else {
cout<<"兑换码错误"<<endl;
system("cls");
}
}
if(d==1){
a=a+e;
flag=1;
}
if(d==2&&a<f){
cout<<"钱不够,还差"<<f-a<<"元"<<endl;
Sleep(1000);
flag=1;
}
if(d==2&&a>=f){
dj=dj+1;
if(o==3) e=e*2;
if(o==4) e=e*3;
if(o==5) e=e*4;
a=a-f;
f=f*o;
if(so==true){
so=false;
f=f*2;
}
flag=1;
}
if(d==3&&dj<4){
cout<<"等级不够,还差"<<4-dj<<"级"<<endl;
Sleep(1000);
}
//排名规则输出
if(d==3&&dj>=4){
cout<<"青铜4: 4级 "<<endl;
cout<<"青铜3: 5级 "<<endl;
cout<<"青铜2: 6级 "<<endl;
cout<<"青铜1: 7级 "<<endl;
cout<<"白银4: 8级 "<<endl;
cout<<"白银3: 9级 "<<endl;
cout<<"白银2: 10级 "<<endl;
cout<<"白银1: 11级 "<<endl;
cout<<"黄金4: 12级"<<endl;
cout<<"黄金3: 13级"<<endl;
cout<<"黄金2: 14级"<<endl;
cout<<"黄金1: 15级"<<endl;
cout<<"铂金4: 16级"<<endl;
cout<<"铂金3: 17级"<<endl;
cout<<"铂金2: 18级"<<endl;
cout<<"铂金1: 19级"<<endl;
cout<<"钻石4: 20级"<<endl;
cout<<"钻石3: 21级"<<endl;
cout<<"钻石2: 22级"<<endl;
cout<<"钻石1: 23级"<<endl;
cout<<"超凡大师3: 24级"<<endl;
cout<<"超凡大师2: 25级"<<endl;
cout<<"超凡大师1: 26级"<<endl;
cout<<"最强王者3: 27级"<<endl;
cout<<"最强王者2: 28级"<<endl;
cout<<"最强王者1: 29级"<<endl;
cout<<"超神: 30级"<<endl;
cout<<endl<<endl;
//判断排名
if(dj==4){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜4="<<endl;
cout<<" ======="<<endl;
}
if(dj==5){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜3="<<endl;
cout<<" ======="<<endl;
}
if(dj==6){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜2="<<endl;
cout<<" ======="<<endl;
}
if(dj==7){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜1="<<endl;
cout<<" ======="<<endl;
}
if(dj==8){
cout<<" ======="<<endl;
cout<<"您现在是: =白银4="<<endl;
cout<<" ======="<<endl;
}
if(dj==9){
cout<<" ======="<<endl;
cout<<"您现在是: =白银3="<<endl;
cout<<" ======="<<endl;
}
if(dj==10){
cout<<" ======="<<endl;
cout<<"您现在是: =白银2="<<endl;
cout<<" ======="<<endl;
}
if(dj==11){
cout<<" ======="<<endl;
cout<<"您现在是: =白银1="<<endl;
cout<<" ======="<<endl;
}
if(dj==12){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金4="<<endl;
cout<<" ======="<<endl;
}
if(dj==13){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金3="<<endl;
cout<<" ======="<<endl;
}
if(dj==14){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金2="<<endl;
cout<<" ======="<<endl;
}
if(dj==15){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金1="<<endl;
cout<<" ======="<<endl;
}
if(dj==16){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金4="<<endl;
cout<<" ======="<<endl;
}
if(dj==17){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金3="<<endl;
cout<<" ======="<<endl;
}
if(dj==18){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金2="<<endl;
cout<<" ======="<<endl;
}
if(dj==19){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金1="<<endl;
cout<<" ======="<<endl;
}
if(dj==20){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石4="<<endl;
cout<<" ======="<<endl;
}
if(dj==21){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石3="<<endl;
cout<<" ======="<<endl;
}
if(dj==22){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石2="<<endl;
cout<<" ======="<<endl;
}
if(dj==23){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石1="<<endl;
cout<<" ======="<<endl;
}
if(dj==24){
cout<<" ==========="<<endl;
cout<<"您现在是: =超凡大师3="<<endl;
cout<<" ==========="<<endl;
}
if(dj==25){
cout<<" ==========="<<endl;
cout<<"您现在是: =超凡大师2="<<endl;
cout<<" ==========="<<endl;
}
if(dj==26){
cout<<" ==========="<<endl;
cout<<"您现在是: =超凡大师1="<<endl;
cout<<" ==========="<<endl;
}
if(dj==27){
cout<<" ==========="<<endl;
cout<<"您现在是: =最强王者3="<<endl;
cout<<" ==========="<<endl;
}
if(dj==28){
cout<<" ==========="<<endl;
cout<<"您现在是: =最强王者2="<<endl;
cout<<" ==========="<<endl;
Sleep(500);
cout<<"下一级有彩蛋!!!"<<endl;
}
if(dj==29){
cout<<" ==========="<<endl;
cout<<"您现在是: =最强王者1="<<endl;
cout<<" ==========="<<endl;
Sleep(500);
cout<<"彩蛋马上开始!!!" <<endl;
Sleep(1000);
system("start https://www.bilibili.com/video/BV1gc411W7ei/?spm_id_from=trigger_reload&vd_source=22158b889b5360491372ab2771a35e80");
Sleep(10000);
cout<<"下一级还有彩蛋哦!!!"<<endl;
}
if(dj==30){
cout<<" ======"<<endl;
cout<<"您现在是: =超神="<<endl;
cout<<" ======"<<endl;
Sleep(500);
cout<<"彩蛋马上开始!!!" <<endl;
Sleep(1000);
system("start https://www.bilibili.com/video/BV1Kv4y1p7n3/?spm_id_from=333.788.recommend_more_video.2&vd_source=22158b889b5360491372ab2771a35e80");
}
if(dj==30){
cout<<"您已无敌"<<endl;
cout<<"祝贺你"<<endl;
cout<<" *** ***"<<endl;
cout<<" ***** *****"<<endl;
cout<<" ******* *******"<<endl;
cout<<" *****************"<<endl;
cout<<" *****************"<<endl;
cout<<" ***************"<<endl;
cout<<" *************"<<endl;
cout<<" ***********"<<endl;
cout<<" *********"<<endl;
cout<<" *******"<<endl;
cout<<" *****"<<endl;
cout<<" ***"<<endl;
cout<<"你是我的yyds"<<endl;
system("start https://www.bilibili.com/video/BV1hs4y197wU/?spm_id_from=autoNext&vd_source=22158b889b5360491372ab2771a35e80");
cout<<"小提示:"<<endl;
cout<<"31级(一级不多,一级不少)时打开排行榜"<<endl;
cout<<"又可触发彩蛋!!!"<<endl;
cout<<"快去试试吧!" <<endl;
cout<<"赚钱:1(赚钱速度为"<<e<<") 升级:2(升级钱数为"<<f<<") 排行:3 $:"<<a<<" 级别:"<<dj<<" 买车,买房:4"<<" 经验:"<<g<<endl;
}
if(dj==31){
cout<<"你已触发彩蛋"<<endl;
Sleep(500);
cout<<"观看视频"<<endl;
Sleep(1000);
system("start https://www.bilibili.com/video/BV1ST411h73B/?spm_id_from=333.337.search-card.all.click");
}
}
if(d==4){
for(int i=0;;i++){
int c=0,k=0;
system("cls");
cout<<"买车:1 买房:2 退出:3 $:"<<a<<" 名声:"<<x<<" 成就:4"<<" 仓库:5"<<endl;
cin>>c;
if(c==5){
cout<<"您的自行车有"<<mc1<<"辆"<<endl;
Sleep(500);
cout<<"您的小电驴有"<<mc2<<"辆"<<endl;
Sleep(500);
cout<<"您的二手摩托车有"<<mc3<<"辆"<<endl;
Sleep(500);
cout<<"您的小摩托车有"<<mc4<<"辆"<<endl;
Sleep(500);
cout<<"您的电动摩托车有"<<mc5<<"辆"<<endl;
Sleep(500);
cout<<"您的汽油摩托车有"<<mc6<<"辆"<<endl;
Sleep(500);
cout<<"您的二手汽车有"<<mc7<<"辆"<<endl;
Sleep(500);
cout<<"您的小汽车有"<<mc8<<"辆"<<endl;
Sleep(500);
cout<<"您的新能源汽车有"<<mc9<<"辆"<<endl;
Sleep(500);
cout<<"您的汽油汽车有"<<mc10<<"辆"<<endl;
Sleep(500);
cout<<"您的私人飞机有"<<mc11<<"架"<<endl;
Sleep(500);
cout<<"您的大型私人飞机有"<<mc12<<"架"<<endl;
Sleep(500);
cout<<"您的火箭有"<<mc13<<"个"<<endl;
Sleep(1000);
}
if(c==4){
break;
}
if(c==1){
while(1){
system("cls");
cout<<"==================================================="<<endl;
cout<<"==10000$ 自行车 (名声+1) 1 =="<<endl;
cout<<"==50000$ 小电驴 (名声+6) 2 =="<<endl;
cout<<"==200000$ 二手摩托车 (名声+25) 3 =="<<endl;
cout<<"==1000000$ 小摩托车 (名声+130) 4 =="<<endl;
cout<<"==5000000$ 电动摩托车 (名声+655) 5 =="<<endl;
cout<<"==20000000$ 汽油摩托车 (名声+2630) 6 =="<<endl;
cout<<"==30000000$ 二手汽车 (名声+3950) 7 =="<<endl;
cout<<"==100000000$ 小汽车 (名声+13160) 8 =="<<endl;
cout<<"==500000000$ 新能源汽车 (名声+65810) 9 =="<<endl;
cout<<"==2000000000$ 汽油汽车 (名声+263270) 10 =="<<endl;
cout<<"==10000000000$ 私人飞机 (名声+1316350) 11 =="<<endl;
cout<<"==50000000000$ 大型私人飞机 (名声+6581700) 12 =="<<endl;
cout<<"==2000000000000$ 火箭 (名声+30000000) 13 =="<<endl;
cout<<"==退出 14 =="<<endl;
cout<<"==================================================="<<endl;
cout<<"名声:"<<x<<endl;
cout<<"$:"<<a<<endl;
cin>>k;
if(k==1&&a<10000){
cout<<"钱不够,还差"<<10000-a<<"元"<<endl;
Sleep(1000);
}
if(k==1&&a>=10000){
a=a-10000;
x=x+1;
mc1+=1;
cout<<"恭喜获得一辆自行车!!!"<<endl;
Sleep(2000);
}
if(k==2&&a<50000){
cout<<"钱不够,还差"<<50000-a<<"元"<<endl;
Sleep(1000);
}
if(k==2&&a>=50000){
a=a-50000;
x=x+6;
mc2+=1;
cout<<"恭喜获得一辆小电驴!!!"<<endl;
Sleep(2000);
}
if(k==3&&a<200000){
cout<<"钱不够,还差"<<200000-a<<"元"<<endl;
}
if(k==3&&a>=200000){
a=a-200000;
x=x+25;
mc3+=1;
cout<<"恭喜获得一辆二手摩托车!!!"<<endl;
Sleep(2000);
}
if(k==4&&a<1000000){
cout<<"钱不够,还差"<<1000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==4&&a>=1000000){
a=a-1000000;
x=x+130;
mc4+=1;
cout<<"恭喜获得一辆小摩托车!!!"<<endl;
Sleep(2000);
}
if(k==5&&a<5000000){
cout<<"钱不够,还差"<<5000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==5&&a>=5000000){
a=a-5000000;
x=x+655;
mc5+=1;
cout<<"恭喜获得一辆电动摩托车!!!"<<endl;
Sleep(2000);
}
if(k==6&&a<20000000){
cout<<"钱不够,还差"<<20000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==6&&a>=20000000){
a=a-20000000;
x=x+2630;
mc6+=1;
cout<<"恭喜获得一辆汽油摩托车!!!"<<endl;
Sleep(2000);
}
if(k==7&&a<30000000){
cout<<"钱不够,还差"<<30000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==7&&a>=30000000){
a=a-30000000;
x=x+3950;
mc7+=1;
cout<<"恭喜获得一辆二手汽车!!!"<<endl;
Sleep(2000);
}
if(k==8&&a<100000000){
cout<<"钱不够,还差"<<100000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==8&&a>=100000000){
a=a-100000000;
x=x+13160;
mc8+=1;
cout<<"恭喜获得一辆小汽车!!!"<<endl;
Sleep(2000);
}
if(k==9&&a<500000000){
cout<<"钱不够,还差"<<500000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==9&&a>=500000000){
a=a-500000000;
x=x+65810;
mc9+=1;
cout<<"恭喜获得一辆新能源汽车!!!"<<endl;
Sleep(2000);
}
if(k==10&&a<2000000000){
cout<<"钱不够,还差"<<2000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==10&&a>=2000000000){
a=a-2000000000;
x=x+263270;
mc10+=1;
cout<<"恭喜获得一辆汽油车!!!"<<endl;
Sleep(2000);
}
if(k==11&&a<10000000000){
cout<<"钱不够,还差"<<10000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==11&&a>=10000000000){
a=a-10000000000;
x=x+1316350;
mc11+=1;
cout<<"恭喜获得一架私人飞机!!!"<<endl;
Sleep(2000);
}
if(k==12&&a<50000000000){
cout<<"钱不够,还差"<<50000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==12&&a>=50000000000){
a=a-50000000000;
x=x+6581700;
mc12+=1;
cout<<"恭喜获得一架大型私人飞机!!!"<<endl;
Sleep(2000);
}
if(k==12&&a<2000000000000){
cout<<"钱不够,还差"<<2000000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==12&&a>=2000000000000){
a=a-2000000000000;
x=x+30000000;
mc13+=1;
cout<<"恭喜获得一个火箭!!!"<<endl;
Sleep(2000);
}
if(k==14){
break;
}
}
}
if(c==2){
cout<<"还未开发完毕"<<endl;
}
if(c==3){
break;
}
}
}
}
return 0;
}
#include<bits/stdc++.h>
#include<cstring>
#include<windows.h>
using namespace std;
int main(){
MessageBox(NULL, "请不要输入字符,否则导致游戏崩溃!!!(除了输入兑换码)", "提示", MB_OK);
int dj=1,g=0,x=0,o;
int d;
bool so=false;
//dj=等级,d=日常输入,g=经验,x=名声,o=难度
unsigned long long a=0,e=1,f=5;
//a=钱,e=赚钱速度,f=升级钱数
int mc1=0,mc2=0,mc3=0,mc4=0,mc5=0,mc6=0,mc7=0,mc8=0,mc9=0,mc10=0,mc11=0,mc12=0,mc13=0;
//买车数据
//标题输出
for(int i=1;i<=21;i++){
cout<<"=";
Sleep(150);
} cout<<endl;
cout<<"=";
Sleep(150);
cout<<" 一千万亿很简单 ";
Sleep(150);
cout<<"=";
cout<<endl<<"=";
for(int i=1;i<=6;i++){
cout<<" ";
}
cout<<"(3.0)";
for(int i=1;i<=6;i++){
cout<<" ";
}
cout<<"=";
cout<<endl;
Sleep(150);
for(int i=1;i<=21;i++){
cout<<"=";
Sleep(200);
}
cout<<endl;
Sleep(100);
cout<<"=";Sleep(200);
cout<<"备";Sleep(300);
cout<<"注";Sleep(300);
cout<<":";Sleep(500);
cout<<"(";Sleep(300);
cout<<"可";Sleep(300);
cout<<"能";Sleep(300);
cout<<"吧";Sleep(300);
cout<<"~";Sleep(300);
cout<<"~";Sleep(300);
cout<<"~";Sleep(300);
cout<<")";Sleep(300);
cout<<"="<<endl;
Sleep(800);
cout<<"=";Sleep(300);
cout<<" (";Sleep(300);
cout<<"-";Sleep(300);
cout<<"_";Sleep(300);
cout<<"-";Sleep(300);
cout<<"'";Sleep(300);
cout<<")";Sleep(300);
cout<<" ="<<endl;
Sleep(300);
cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"=";Sleep(150);cout<<"="<<endl;
Sleep(1000);
//难度输入
cout<<"简单:3 中等:4 困难:5" <<endl;
for(int i=4;i>=1;i--){
cin>>o;
if(o<3||o>5){
if(i-1==0){
cout<<"你没有机会了!";
Sleep(1500);
cout<<"已自动设为简单模式"<<endl;
Sleep(2000);
o=2;
}else {
cout<<"输错了!你还有"<<i-1<<"次机会";
Sleep(200);
cout<<"(";
Sleep(200);
cout<<"^";
Sleep(200);
cout<<"_";
Sleep(200);
cout<<"^";
Sleep(200);
cout<<")"<<endl;
}
}else break;
}
cout<<"正在编辑中";
for(int i=1;i<=6;i++){
cout<<".";
Sleep(400);
}
cout<<endl;
Sleep(2000);
cout<<"计算结束 状态正常!"<<endl;
Sleep(2500);
cout<<"游戏正式开始!!!"<<endl;
Sleep(1000);
system("cls");
//主代码
int dlb1=0,dlb2=0,dlb3=0;
bool flag=0;
//兑换码
for(int X=0;;X++){
if(flag){
system("cls");
flag=0;
}
cout<<"赚钱:1(赚钱速度为"<<e<<") 升级:2(升级钱数为"<<f<<") 排行:3 $:"<<a<<" 级别:"<<dj<<" 买车,买房:4"<<" 经验:"<<g<<" 兑换码:5"<<" 挂机:6"<<" 攻略:7"<<endl;
while(cin>>d){
Sleep(100);
if(d>=8||d<=0){
cout<<"没有这个功能,请重新输入。"<<endl;
Sleep(1000);
flag=1;
}
else break;
}
if(X%350==0&&X!=0){
int yxsc=0;
//游戏时长
cout<<"玩太久了哦,休息一下^_^"<<endl;
yxsc=X/175;
Sleep(yxsc);
}
if(X%20==0&&X!=0){
g=g+1;
e=e*1.5;
}
if(d==7){
system("cls");
cout<<endl<<"攻略:"<<endl;
cout<<"想快点赚钱就快点升级(手动赚钱最快哦!!!)" <<endl;
Sleep(3000);
cout<<"记得看排名(到了最强王者或最强王者以上有惊喜!!!)"<<endl;
Sleep(3500);
cout<<"没时间玩的话试试挂机,但最多挂机30分钟"<<endl;
Sleep(3000);
cout<<"偷偷告诉你个兑换码:大钱包礼金"<<endl;
Sleep(3000);
cout<<"买车买房中可以获得成就哦!"<<endl;
Sleep(4000);
cout<<"等等,兑换码似乎有点不对劲,好像是字的位置错了。好吧,就这样吧,攻略结束^_^"<<endl;
Sleep(4000);
system("cls");
}
if(d==6){
system("cls");
long long guaji=0;//金钱
int gjsj=0;//时间
Sleep(200);
MessageBox(NULL, "挂机时间无法做任何操作!!!", "注意", MB_OK);
MessageBox(NULL, "最多挂机30分钟,每秒获得一次金钱。", "注意", MB_OK);
while(1){
cout<<"退出按1,挂机按2"<<endl;
int as;
cin>> as;
if(as==1){
system("cls");
break;
}
if(as==2){
system("cls");
cout<<"您现在已经进入挂机模式" <<endl;
cout<<"请输入挂机时间 (按秒计算):";
for(int i=3;i>=0;i--){
cin>>gjsj;
cout<<endl;
if(gjsj>=1801&&i>0){
cout<<"时间太多,请重新输入。您还剩"<<i<<"次机会,机会没时,将自动变为1分钟"<<endl;
}else if(gjsj>=1801&&i==0){
cout<<"您没有机会了!"<<endl;
Sleep(200);
cout<<"已自动变为1分钟" <<endl;
}else{
system("cls");
break;
}
}
cout<<"准备挂机"<<endl;
Sleep(1500);
as=0;
cout<<"开始挂机"<<endl;
while(as<=gjsj){
cout<<"还剩"<<gjsj-as<<"秒"<<endl;
Sleep(1000);
system("cls");
as++;
}
a+=(e*gjsj);
cout<<"已挂机完毕,您获得了"<<e*gjsj<<"元"<<endl;
}
}
}
if(d==5){
system("cls");
string dhm;
cout<<endl;
Sleep(200);
cout<<"请输入兑换码:"<<endl;
cin>>dhm;
if(dhm=="金钱大礼包"&&dlb2==0){
dlb2++;
a+=10000000;
cout<<endl;
cout<<"已兑换金钱大礼包 你获得了10000000元"<<endl;
system("cls");
}else if(dhm=="新手大礼包"&&dlb3==0){
a+=1000;
f/=2;
so=true;
dlb3++;
cout<<endl;
cout<<"已兑换新手大礼包 你获得了半价升级(一次),1000金币"<<endl;
system("cls");
}else if(dhm=="新手大礼包"&&dlb3!=0||dhm=="金钱大礼包"&&dlb2!=0){
cout<<"此兑换码已被使用"<<endl;
system("cls");
}else {
cout<<"兑换码错误"<<endl;
system("cls");
}
}
if(d==1){
a=a+e;
flag=1;
}
if(d==2&&a<f){
cout<<"钱不够,还差"<<f-a<<"元"<<endl;
Sleep(1000);
flag=1;
}
if(d==2&&a>=f){
dj=dj+1;
if(o==3) e=e*2;
if(o==4) e=e*3;
if(o==5) e=e*4;
a=a-f;
f=f*o;
if(so==true){
so=false;
f=f*2;
}
flag=1;
}
if(d==3&&dj<4){
cout<<"等级不够,还差"<<4-dj<<"级"<<endl;
Sleep(1000);
}
//排名规则输出
if(d==3&&dj>=4){
cout<<"青铜4: 4级 "<<endl;
cout<<"青铜3: 5级 "<<endl;
cout<<"青铜2: 6级 "<<endl;
cout<<"青铜1: 7级 "<<endl;
cout<<"白银4: 8级 "<<endl;
cout<<"白银3: 9级 "<<endl;
cout<<"白银2: 10级 "<<endl;
cout<<"白银1: 11级 "<<endl;
cout<<"黄金4: 12级"<<endl;
cout<<"黄金3: 13级"<<endl;
cout<<"黄金2: 14级"<<endl;
cout<<"黄金1: 15级"<<endl;
cout<<"铂金4: 16级"<<endl;
cout<<"铂金3: 17级"<<endl;
cout<<"铂金2: 18级"<<endl;
cout<<"铂金1: 19级"<<endl;
cout<<"钻石4: 20级"<<endl;
cout<<"钻石3: 21级"<<endl;
cout<<"钻石2: 22级"<<endl;
cout<<"钻石1: 23级"<<endl;
cout<<"超凡大师3: 24级"<<endl;
cout<<"超凡大师2: 25级"<<endl;
cout<<"超凡大师1: 26级"<<endl;
cout<<"最强王者3: 27级"<<endl;
cout<<"最强王者2: 28级"<<endl;
cout<<"最强王者1: 29级"<<endl;
cout<<"超神: 30级"<<endl;
cout<<endl<<endl;
//判断排名
if(dj==4){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜4="<<endl;
cout<<" ======="<<endl;
}
if(dj==5){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜3="<<endl;
cout<<" ======="<<endl;
}
if(dj==6){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜2="<<endl;
cout<<" ======="<<endl;
}
if(dj==7){
cout<<" ======="<<endl;
cout<<"您现在是: =青铜1="<<endl;
cout<<" ======="<<endl;
}
if(dj==8){
cout<<" ======="<<endl;
cout<<"您现在是: =白银4="<<endl;
cout<<" ======="<<endl;
}
if(dj==9){
cout<<" ======="<<endl;
cout<<"您现在是: =白银3="<<endl;
cout<<" ======="<<endl;
}
if(dj==10){
cout<<" ======="<<endl;
cout<<"您现在是: =白银2="<<endl;
cout<<" ======="<<endl;
}
if(dj==11){
cout<<" ======="<<endl;
cout<<"您现在是: =白银1="<<endl;
cout<<" ======="<<endl;
}
if(dj==12){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金4="<<endl;
cout<<" ======="<<endl;
}
if(dj==13){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金3="<<endl;
cout<<" ======="<<endl;
}
if(dj==14){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金2="<<endl;
cout<<" ======="<<endl;
}
if(dj==15){
cout<<" ======="<<endl;
cout<<"您现在是: =黄金1="<<endl;
cout<<" ======="<<endl;
}
if(dj==16){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金4="<<endl;
cout<<" ======="<<endl;
}
if(dj==17){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金3="<<endl;
cout<<" ======="<<endl;
}
if(dj==18){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金2="<<endl;
cout<<" ======="<<endl;
}
if(dj==19){
cout<<" ======="<<endl;
cout<<"您现在是: =铂金1="<<endl;
cout<<" ======="<<endl;
}
if(dj==20){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石4="<<endl;
cout<<" ======="<<endl;
}
if(dj==21){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石3="<<endl;
cout<<" ======="<<endl;
}
if(dj==22){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石2="<<endl;
cout<<" ======="<<endl;
}
if(dj==23){
cout<<" ======="<<endl;
cout<<"您现在是: =钻石1="<<endl;
cout<<" ======="<<endl;
}
if(dj==24){
cout<<" ==========="<<endl;
cout<<"您现在是: =超凡大师3="<<endl;
cout<<" ==========="<<endl;
}
if(dj==25){
cout<<" ==========="<<endl;
cout<<"您现在是: =超凡大师2="<<endl;
cout<<" ==========="<<endl;
}
if(dj==26){
cout<<" ==========="<<endl;
cout<<"您现在是: =超凡大师1="<<endl;
cout<<" ==========="<<endl;
}
if(dj==27){
cout<<" ==========="<<endl;
cout<<"您现在是: =最强王者3="<<endl;
cout<<" ==========="<<endl;
}
if(dj==28){
cout<<" ==========="<<endl;
cout<<"您现在是: =最强王者2="<<endl;
cout<<" ==========="<<endl;
Sleep(500);
cout<<"下一级有彩蛋!!!"<<endl;
}
if(dj==29){
cout<<" ==========="<<endl;
cout<<"您现在是: =最强王者1="<<endl;
cout<<" ==========="<<endl;
Sleep(500);
cout<<"彩蛋马上开始!!!" <<endl;
Sleep(1000);
system("start https://www.bilibili.com/video/BV1gc411W7ei/?spm_id_from=trigger_reload&vd_source=22158b889b5360491372ab2771a35e80");
Sleep(10000);
cout<<"下一级还有彩蛋哦!!!"<<endl;
}
if(dj==30){
cout<<" ======"<<endl;
cout<<"您现在是: =超神="<<endl;
cout<<" ======"<<endl;
Sleep(500);
cout<<"彩蛋马上开始!!!" <<endl;
Sleep(1000);
system("start https://www.bilibili.com/video/BV1Kv4y1p7n3/?spm_id_from=333.788.recommend_more_video.2&vd_source=22158b889b5360491372ab2771a35e80");
}
if(dj==30){
cout<<"您已无敌"<<endl;
cout<<"祝贺你"<<endl;
cout<<" *** ***"<<endl;
cout<<" ***** *****"<<endl;
cout<<" ******* *******"<<endl;
cout<<" *****************"<<endl;
cout<<" *****************"<<endl;
cout<<" ***************"<<endl;
cout<<" *************"<<endl;
cout<<" ***********"<<endl;
cout<<" *********"<<endl;
cout<<" *******"<<endl;
cout<<" *****"<<endl;
cout<<" ***"<<endl;
cout<<"你是我的yyds"<<endl;
system("start https://www.bilibili.com/video/BV1hs4y197wU/?spm_id_from=autoNext&vd_source=22158b889b5360491372ab2771a35e80");
cout<<"小提示:"<<endl;
cout<<"31级(一级不多,一级不少)时打开排行榜"<<endl;
cout<<"又可触发彩蛋!!!"<<endl;
cout<<"快去试试吧!" <<endl;
cout<<"赚钱:1(赚钱速度为"<<e<<") 升级:2(升级钱数为"<<f<<") 排行:3 $:"<<a<<" 级别:"<<dj<<" 买车,买房:4"<<" 经验:"<<g<<endl;
}
if(dj==31){
cout<<"你已触发彩蛋"<<endl;
Sleep(500);
cout<<"观看视频"<<endl;
Sleep(1000);
system("start https://www.bilibili.com/video/BV1ST411h73B/?spm_id_from=333.337.search-card.all.click");
}
}
if(d==4){
for(int i=0;;i++){
int c=0,k=0;
system("cls");
cout<<"买车:1 买房:2 退出:3 $:"<<a<<" 名声:"<<x<<" 成就:4"<<" 仓库:5"<<endl;
cin>>c;
if(c==5){
cout<<"您的自行车有"<<mc1<<"辆"<<endl;
Sleep(500);
cout<<"您的小电驴有"<<mc2<<"辆"<<endl;
Sleep(500);
cout<<"您的二手摩托车有"<<mc3<<"辆"<<endl;
Sleep(500);
cout<<"您的小摩托车有"<<mc4<<"辆"<<endl;
Sleep(500);
cout<<"您的电动摩托车有"<<mc5<<"辆"<<endl;
Sleep(500);
cout<<"您的汽油摩托车有"<<mc6<<"辆"<<endl;
Sleep(500);
cout<<"您的二手汽车有"<<mc7<<"辆"<<endl;
Sleep(500);
cout<<"您的小汽车有"<<mc8<<"辆"<<endl;
Sleep(500);
cout<<"您的新能源汽车有"<<mc9<<"辆"<<endl;
Sleep(500);
cout<<"您的汽油汽车有"<<mc10<<"辆"<<endl;
Sleep(500);
cout<<"您的私人飞机有"<<mc11<<"架"<<endl;
Sleep(500);
cout<<"您的大型私人飞机有"<<mc12<<"架"<<endl;
Sleep(500);
cout<<"您的火箭有"<<mc13<<"个"<<endl;
Sleep(1000);
}
if(c==4){
break;
}
if(c==1){
while(1){
system("cls");
cout<<"==================================================="<<endl;
cout<<"==10000$ 自行车 (名声+1) 1 =="<<endl;
cout<<"==50000$ 小电驴 (名声+6) 2 =="<<endl;
cout<<"==200000$ 二手摩托车 (名声+25) 3 =="<<endl;
cout<<"==1000000$ 小摩托车 (名声+130) 4 =="<<endl;
cout<<"==5000000$ 电动摩托车 (名声+655) 5 =="<<endl;
cout<<"==20000000$ 汽油摩托车 (名声+2630) 6 =="<<endl;
cout<<"==30000000$ 二手汽车 (名声+3950) 7 =="<<endl;
cout<<"==100000000$ 小汽车 (名声+13160) 8 =="<<endl;
cout<<"==500000000$ 新能源汽车 (名声+65810) 9 =="<<endl;
cout<<"==2000000000$ 汽油汽车 (名声+263270) 10 =="<<endl;
cout<<"==10000000000$ 私人飞机 (名声+1316350) 11 =="<<endl;
cout<<"==50000000000$ 大型私人飞机 (名声+6581700) 12 =="<<endl;
cout<<"==2000000000000$ 火箭 (名声+30000000) 13 =="<<endl;
cout<<"==退出 14 =="<<endl;
cout<<"==================================================="<<endl;
cout<<"名声:"<<x<<endl;
cout<<"$:"<<a<<endl;
cin>>k;
if(k==1&&a<10000){
cout<<"钱不够,还差"<<10000-a<<"元"<<endl;
Sleep(1000);
}
if(k==1&&a>=10000){
a=a-10000;
x=x+1;
mc1+=1;
cout<<"恭喜获得一辆自行车!!!"<<endl;
Sleep(2000);
}
if(k==2&&a<50000){
cout<<"钱不够,还差"<<50000-a<<"元"<<endl;
Sleep(1000);
}
if(k==2&&a>=50000){
a=a-50000;
x=x+6;
mc2+=1;
cout<<"恭喜获得一辆小电驴!!!"<<endl;
Sleep(2000);
}
if(k==3&&a<200000){
cout<<"钱不够,还差"<<200000-a<<"元"<<endl;
}
if(k==3&&a>=200000){
a=a-200000;
x=x+25;
mc3+=1;
cout<<"恭喜获得一辆二手摩托车!!!"<<endl;
Sleep(2000);
}
if(k==4&&a<1000000){
cout<<"钱不够,还差"<<1000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==4&&a>=1000000){
a=a-1000000;
x=x+130;
mc4+=1;
cout<<"恭喜获得一辆小摩托车!!!"<<endl;
Sleep(2000);
}
if(k==5&&a<5000000){
cout<<"钱不够,还差"<<5000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==5&&a>=5000000){
a=a-5000000;
x=x+655;
mc5+=1;
cout<<"恭喜获得一辆电动摩托车!!!"<<endl;
Sleep(2000);
}
if(k==6&&a<20000000){
cout<<"钱不够,还差"<<20000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==6&&a>=20000000){
a=a-20000000;
x=x+2630;
mc6+=1;
cout<<"恭喜获得一辆汽油摩托车!!!"<<endl;
Sleep(2000);
}
if(k==7&&a<30000000){
cout<<"钱不够,还差"<<30000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==7&&a>=30000000){
a=a-30000000;
x=x+3950;
mc7+=1;
cout<<"恭喜获得一辆二手汽车!!!"<<endl;
Sleep(2000);
}
if(k==8&&a<100000000){
cout<<"钱不够,还差"<<100000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==8&&a>=100000000){
a=a-100000000;
x=x+13160;
mc8+=1;
cout<<"恭喜获得一辆小汽车!!!"<<endl;
Sleep(2000);
}
if(k==9&&a<500000000){
cout<<"钱不够,还差"<<500000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==9&&a>=500000000){
a=a-500000000;
x=x+65810;
mc9+=1;
cout<<"恭喜获得一辆新能源汽车!!!"<<endl;
Sleep(2000);
}
if(k==10&&a<2000000000){
cout<<"钱不够,还差"<<2000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==10&&a>=2000000000){
a=a-2000000000;
x=x+263270;
mc10+=1;
cout<<"恭喜获得一辆汽油车!!!"<<endl;
Sleep(2000);
}
if(k==11&&a<10000000000){
cout<<"钱不够,还差"<<10000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==11&&a>=10000000000){
a=a-10000000000;
x=x+1316350;
mc11+=1;
cout<<"恭喜获得一架私人飞机!!!"<<endl;
Sleep(2000);
}
if(k==12&&a<50000000000){
cout<<"钱不够,还差"<<50000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==12&&a>=50000000000){
a=a-50000000000;
x=x+6581700;
mc12+=1;
cout<<"恭喜获得一架大型私人飞机!!!"<<endl;
Sleep(2000);
}
if(k==12&&a<2000000000000){
cout<<"钱不够,还差"<<2000000000000-a<<"元"<<endl;
Sleep(1000);
}
if(k==12&&a>=2000000000000){
a=a-2000000000000;
x=x+30000000;
mc13+=1;
cout<<"恭喜获得一个火箭!!!"<<endl;
Sleep(2000);
}
if(k==14){
break;
}
}
}
if(c==2){
cout<<"还未开发完毕"<<endl;
}
if(c==3){
break;
}
}
}
}
return 0;
}