一个小学生干了半年才干出的赚钱游戏(这是完成的5.0版本)(纯手写)(求个点赞关注)

#include<bits/stdc++.h> 
#include<cstring>
#include<windows.h>
using namespace std;
unsigned long long a=0,e=6,f=100,x=0;
//a=钱,e=赚钱速度,f=升级钱数,x=名声
string ccj1="未获得",ccj2="未获得",ccj3="未获得",ccj4="未获得",ccj5="未获得",ccj6="未获得",ccj7="未获得"; 
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;
bool cj_hd1=0,cj_hd2=0,cj_hd3=0,cj_hd4=0,cj_hd5=0,cj_hd6=0,cj_hd7=0;
//买车数据 
 

//隐藏光标
void hide(){
	HANDLE h_GAME =GetStdHandle(STD_OUTPUT_HANDLE);
	CONSOLE_CURSOR_INFO cursor_info;
	GetConsoleCursorInfo(h_GAME,&cursor_info);
	cursor_info.bVisible=false;
	SetConsoleCursorInfo(h_GAME,&cursor_info);
}
 
 
 
void paiming(int dj){//称号规则输出 
	if(dj<4){
		cout<<"等级不够,还差"<<4-dj<<"级"<<endl;
		Sleep(1000);
		return ;
	}
	if(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;
		}
		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");
		}
	}
	cout<<"按n退出:";
	while(1){
		if (-32767 == GetAsyncKeyState('N')){
	        return ;
	    }
	}
}
 
 
 
 
 
 
 
void maiche(int k){
	int shuliang;
	cout<<"要1辆按1 要10辆按2 要100辆按3 要1000辆按4 要一万辆按5 要十万辆按6 要一百万辆按7"<<endl;
	while(1){
		if (-32767 == GetAsyncKeyState('1')){
			shuliang=1;
			break;
		}
		if (-32767 == GetAsyncKeyState('2')){
			shuliang=10;
			break;
		}
		if (-32767 == GetAsyncKeyState('3')){
			shuliang=100;
			break;
		}
		if (-32767 == GetAsyncKeyState('4')){
			shuliang=1000;
			break;
		}
		if (-32767 == GetAsyncKeyState('5')){
			shuliang=10000;
			break;
		}
		if (-32767 == GetAsyncKeyState('6')){
			shuliang=100000;
			break;
		}
		if (-32767 == GetAsyncKeyState('7')){
			shuliang=1000000;
			break;
		}
	} 
	system("cls");
	if(k==1&&a<(shuliang*1000)){
		cout<<"钱不够,还差"<<shuliang*1000-a<<"元"<<endl;
	}else if(k==1){
		a=a-1000*shuliang;
		x=x+1*shuliang;
		mc1+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆自行车!!!"<<endl;
		Sleep(2000);
		if(mc1>=10000&&cj_hd1==0){
			cout<<"恭喜获得成就:好多自行车!!!"<<endl;
			ccj1="已获得"; 
			cj_hd1=1;
		}
	}
	if(k==2&&a<shuliang*5000){
		cout<<"钱不够,还差"<<shuliang*5000-a<<"元"<<endl;
	}else if(k==2){
		a=a-5000*shuliang;
		x=x+6*shuliang;
		mc2+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆小电驴!!!"<<endl;
		Sleep(2000);
		if(mc2>=10000&&cj_hd2==0){
			cout<<"恭喜获得成就:小电驴大亨"<<endl;
			ccj2="已获得";
			cj_hd2=1;
		}
	}
	if(k==3&&a<shuliang*20000){
		cout<<"钱不够,还差"<<shuliang*20000-a<<"元"<<endl;
	}else if(k==3){
		a=a-20000*shuliang;
		x=x+25*shuliang;
		mc3+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆二手摩托车!!!"<<endl;
	}
	if(k==4&&a<100000*shuliang){
		cout<<"钱不够,还差"<<shuliang*100000-a<<"元"<<endl;
	}else if(k==4){
		a=a-100000*shuliang;
		x=x+130*shuliang;
		mc4+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆小摩托车!!!"<<endl;
		Sleep(2000);
		if(mc4>=10000&&cj_hd3==0){
			cout<<"恭喜获得成就:骑上我心爱的小摩托"<<endl;
			ccj3="已获得";
			cj_hd3=1;
		}
	}
	if(k==5&&a<500000*shuliang){
		cout<<"钱不够,还差"<<shuliang*500000-a<<"元"<<endl;
	}else if(k==5){
		a=a-500000*shuliang;
		x=x+655*shuliang;
		mc5+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆电动摩托车!!!"<<endl;
	}
	if(k==6&&a<2000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*2000000-a<<"元"<<endl;
	}else if(k==6){
		a=a-2000000*shuliang;
		x=x+2630*shuliang;
		mc6+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆汽油摩托车!!!"<<endl;
	}
	if(k==7&&a<3000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*3000000-a<<"元"<<endl;
	}else if(k==7){
		a=a-3000000*shuliang;
		x=x+3950*shuliang;
		mc7+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆二手汽车!!!"<<endl;
	}
	if(k==8&&a<10000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*10000000-a<<"元"<<endl;
	}else if(k==8){
		a=a-10000000*shuliang;
		x=x+13160*shuliang;
		mc8+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆小汽车!!!"<<endl;
		if(mc5>=10000&&cj_hd4==0){
			cout<<"恭喜获得成就:坐上我心爱的小汽车"<<endl;
			ccj4="已获得";
			cj_hd4=1;
		}
	}
	if(k==9&&a<50000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*50000000-a<<"元"<<endl;
	}else if(k==9){
		a=a-50000000*shuliang;
		x=x+65810*shuliang;
		mc9+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆新能源汽车!!!"<<endl;
	}
	if(k==10&&a<200000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*200000000-a<<"元"<<endl;
	}else if(k==10){
		a=a-200000000*shuliang;
		x=x+263270*shuliang;
		mc10+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"辆汽油车!!!"<<endl;
	}
	if(k==11&&a<1000000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*1000000000-a<<"元"<<endl;
	}else if(k==11){
		a=a-1000000000*shuliang;
		x=x+1316350*shuliang;
		mc11+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"架私人飞机!!!"<<endl;
	}
	if(k==12&&a<5000000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*5000000000-a<<"元"<<endl;
	}else if(k==12){
		a=a-5000000000*shuliang;
		x=x+6581700*shuliang;
		mc12+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"架大型私人飞机!!!"<<endl;
	}
	if(k==13&&a<200000000000*shuliang){
		cout<<"钱不够,还差"<<shuliang*200000000000-a<<"元"<<endl;
	}else if(k==13){
		a=a-200000000000*shuliang;
		x=x+30000000*shuliang;
		mc13+=shuliang;
		cout<<"恭喜获得"<<shuliang<<"个火箭!!!"<<endl;
	}
	cout<<"按n退出 按m继续买";
	while(1){
		if (-32767 == GetAsyncKeyState('N')){
	        return ;
	    }
	    if (-32767 == GetAsyncKeyState('M')){
	        maiche(k); 
	        return ; 
	    }
	}
}
 
 
 
 
 
 
 
int main(){
	hide();
	int dj=1,g=0,o;
	int d;
	bool so=false;
	//dj=等级,d=日常输入,g=经验,o=难度
	//标题输出 
	for(int i=1;i<=21;i++){
		cout<<"=";
		Sleep(100);
	}
	cout<<endl;
	cout<<"=";
	Sleep(150);
	cout<<"  一千万亿很简单   ";
	Sleep(150);
	cout<<"="; 
	cout<<endl<<"=";
	for(int i=1;i<=6;i++){
		cout<<" ";
	}
	cout<<"(5.0)"; 
	cout<<"      =";
	cout<<endl;
	Sleep(150);
	for(int i=1;i<=21;i++){
		cout<<"=";
		Sleep(100);
	}
	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);
	for(int i=1;i<=21;i++){
		cout<<"=";
		Sleep(100);
	}
	cout<<endl; 
	Sleep(1000);
	//难度输入 
	hide();
	system("cls"); 
	cout<<"简单:1  中等:2  困难:3" <<endl;
	while(1){
		if (-32767 == GetAsyncKeyState('1')){
			o=1;
			break;
		}
		if (-32767 == GetAsyncKeyState('2')){
			o=2;
			break;
		}
		if (-32767 == GetAsyncKeyState('3')){
			o=3;
			break;
		}
	}
	for(int i=1;i<=3;i++){
		system("cls"); 
		cout<<"loading";
		for(int i=1;i<=6;i++){
			cout<<".";
			Sleep(200);
		}
	}
	system("cls");
	Sleep(2000);
	//主代码
	for(int X=0;;X++){
		hide();
		system("cls");
		cout<<"赚钱:1(赚钱速度为"<<e<<")"<<endl;
		cout<<"升级:2(升级钱数为"<<f<<")"<<endl;
		cout<<"$:"<<a<<"    级别:"<<dj<<"    经验:"<<g<<endl;
		cout<<"=============="<<endl;
		cout<<"=称号:3      ="<<endl;
		cout<<"=买车,买房:4="<<endl;
		cout<<"=挂机:5      ="<<endl;
		cout<<"=攻略:6     ="<<endl;
		cout<<"=============="<<endl;
		Sleep(100);
		while(1){
			if (-32767 == GetAsyncKeyState('1')){
				d=1;
				break;
			}
			if (-32767 == GetAsyncKeyState('2')){
				d=2;
				break;
			}
			if (-32767 == GetAsyncKeyState('3')){
				d=3;
				system("cls");
				break;
			}
			if (-32767 == GetAsyncKeyState('4')){
				d=4;
				break;
			}
			if (-32767 == GetAsyncKeyState('5')){
				d=5;
				break;
			}
			if (-32767 == GetAsyncKeyState('6')){
				d=6;
				system("cls");
				break;
			}
		}
		if(X%50==0&&X!=0){
			g=g+1;
			e+=e/8;
		}
		if(d==6){
			cout<<"========="<<endl;
			cout<<"=按n继续="<<endl;
			cout<<"========="<<endl;
			cout<<endl<<"攻略:"<<endl; 
			cout<<"想快点赚钱就快点升级(手动赚钱最快哦!!!)" <<endl;
			while(1){
				if (-32767 == GetAsyncKeyState('N')){
			        break;
			    }
			}
			cout<<"经验也可以增加赚钱速度!"<<endl; 
			while(1){
				if (-32767 == GetAsyncKeyState('N')){
			        break;
			    }
			}
			cout<<"记得看称号(到了最强王者或最强王者以上有惊喜!!!)"<<endl; 
			while(1){
				if (-32767 == GetAsyncKeyState('N')){
			        break;
			    }
			}
			cout<<"没时间玩的话试试挂机,但最多挂机100分钟,挂机也可以加经验哟!"<<endl;
			while(1){
				if (-32767 == GetAsyncKeyState('N')){
			        break;
			    }
			}
			cout<<"买车买房中可以获得成就哦!"<<endl;
			while(1){
				if (-32767 == GetAsyncKeyState('N')){
			        break;
			    }
			}
			cout<<"好吧,就这样吧,攻略结束^_^"<<endl;
			while(1){
				if (-32767 == GetAsyncKeyState('N')){
			        break;
			    }
			}
		}
		if(d==5){
			long long guaji=0;//金钱 
			int gjsj=0;//时间 
			int as;
			Sleep(200);
			MessageBox(NULL, "挂机中按n退出", "注意", MB_OK);
			MessageBox(NULL, "最多挂机100分钟,每秒获得一次金钱。", "注意", MB_OK);
			while(1){
				system("cls");
				cout<<"退出按1,挂机按2"<<endl;
				while(1){
					if (-32767 == GetAsyncKeyState('1')){
						as=1;
						break;
					}
					if (-32767 == GetAsyncKeyState('2')){
						as=2;
						break;
					}
				}
				if(as==1){
					break;
				} 
				if(as==2){
					system("cls");
					cout<<"您现在已经进入挂机模式,是否开始挂机?(y/n)" <<endl;
					while(1){
						if (-32767 == GetAsyncKeyState('Y')){
							cout<<"开始挂机"<<endl;
							for(int i=0;i<=6000;i++){
								cout<<"已挂机"<<i<<"秒"<<endl;
								for(int j=1;j<=80;j++){
									if (-32767 == GetAsyncKeyState('N')){
										as=0;
										break;
									}
									Sleep(1);
								}
								gjsj++;
								if(as==0) break;
								X++;
								if(X%50==0){
									g=g+1;
									e+=e/8;
								}
								system("cls");
							}
							a+=(e*gjsj);
							cout<<"已挂机完毕,您获得了"<<e*gjsj<<"元"<<endl;
							MessageBox(NULL, "已挂机完毕", "提示", MB_OK);
							break;
						}
						if (-32767 == GetAsyncKeyState('N')){
							break;
						}
					}
					
				}
			}
		}
		if(d==1){
			a=a+e;
		}
		if(d==2&&a<f){
			system("cls");
			cout<<"钱不够,还差"<<f-a<<"元"<<endl;
			Sleep(500);
		}
		if(d==2&&a>=f){
			dj=dj+1;
			a=a-f;
			if(o==1){
				e+=e/6;
				f+=f*0.75;//f+=f/100*65;
			}
			if(o==2){
				e+=e/6;
				f+=f*0.85;//f+=f/100*75;
			}
			if(o==3){
				e+=e/6;
				f+=f*0.95;//f+=f/100*85;
			}
			if(so==true){
				so=false;
				f=f*2;
			}
		}
		if(d==3){
			paiming(dj);
		}
		if(d==4){
			while(1){
				int c=0,k=0;
				system("cls");
				cout<<"买车:1    买房:2    退出:3    $:"<<a<<"    名声:"<<x<<"    成就:4"<<"    仓库:5"<<endl;
				while(1){
					if (-32767 == GetAsyncKeyState('1')){
						c=1;
						break;
					}
					if (-32767 == GetAsyncKeyState('2')){
						c=2;
						break;
					}
					if (-32767 == GetAsyncKeyState('3')){
						c=3;
						break;
					}
					if (-32767 == GetAsyncKeyState('4')){
						c=4;
						break;
					}
					if (-32767 == GetAsyncKeyState('5')){
						c=5;
						break;
					}
				}
				if(c==5){
					system("cls");
					cout<<"您的自行车有"<<mc1<<"辆"<<endl;
					cout<<"您的小电驴有"<<mc2<<"辆"<<endl;
					cout<<"您的二手摩托车有"<<mc3<<"辆"<<endl;
					cout<<"您的小摩托车有"<<mc4<<"辆"<<endl;
					cout<<"您的电动摩托车有"<<mc5<<"辆"<<endl;
					cout<<"您的汽油摩托车有"<<mc6<<"辆"<<endl;
					cout<<"您的二手汽车有"<<mc7<<"辆"<<endl;
					cout<<"您的小汽车有"<<mc8<<"辆"<<endl;
					cout<<"您的新能源汽车有"<<mc9<<"辆"<<endl;
					cout<<"您的汽油汽车有"<<mc10<<"辆"<<endl;
					cout<<"您的私人飞机有"<<mc11<<"架"<<endl;
					cout<<"您的大型私人飞机有"<<mc12<<"架"<<endl;
					cout<<"您的火箭有"<<mc13<<"个"<<endl;
					Sleep(500);
					cout<<"按n退出"<<endl; 
					while(1){
						if (-32767 == GetAsyncKeyState('N')){
							break;
						}
					}	
				} 
				if(c==4){
					system("cls");
					cout<<"成就:"<<endl;
					cout<<"===================================================="<<endl;
					cout<<"=1.好多自行车          (拥有自行车10000辆)   "<<ccj1<<"="<<endl;
					cout<<"=2.小电驴大亨          (拥有小电驴10000辆)   "<<ccj2<<"="<<endl;
					cout<<"=3.骑上我心爱的小摩托  (拥有小摩托车10000辆) "<<ccj3<<"="<<endl;
					cout<<"=4.坐上我心爱的小汽车  (拥有小汽车10000辆)   "<<ccj4<<"="<<endl;
					cout<<"===================================================="<<endl;
					Sleep(500);
					cout<<"按n退出"<<endl; 
					while(1){
						if (-32767 == GetAsyncKeyState('N')){
							break;
						}
					}
				} 
				if(c==1){
					while(1){
						system("cls");
						cout<<"===================================================="<<endl;
						cout<<"==1000$         自行车       (名声+1)        按1  =="<<endl;
						cout<<"==5000$         小电驴       (名声+6)        按2  =="<<endl;
						cout<<"==20000$        二手摩托车   (名声+25)       按3  =="<<endl;
						cout<<"==100000$       小摩托车     (名声+130)      按4  =="<<endl;
						cout<<"==500000$       电动摩托车   (名声+655)      按5  =="<<endl;
						cout<<"==2000000$      汽油摩托车   (名声+2630)     按6  =="<<endl;
						cout<<"==3000000$      二手汽车     (名声+3950)     按7  =="<<endl;
						cout<<"==10000000$     小汽车       (名声+13160)    按8  =="<<endl;
						cout<<"==50000000$     新能源汽车   (名声+65810)    按9  =="<<endl;
						cout<<"==200000000$    汽油汽车     (名声+263270)   按a  =="<<endl;
						cout<<"==1000000000$   私人飞机     (名声+1316350)  按b  =="<<endl;
						cout<<"==5000000000$   大型私人飞机 (名声+6581700)  按c  =="<<endl;
						cout<<"==200000000000$ 火箭         (名声+30000000) 按d  =="<<endl; 
						cout<<"==退出  按e                                       =="<<endl;
						cout<<"===================================================="<<endl;
						cout<<"名声:"<<x<<endl;
						cout<<"$:"<<a<<endl;
						while(1){
							if (-32767 == GetAsyncKeyState('1')){
								k=1; 
								break;
							}
							if (-32767 == GetAsyncKeyState('2')){
								k=2;
								break;
							}
							if (-32767 == GetAsyncKeyState('3')){
								k=3;
								break;
							}
							if (-32767 == GetAsyncKeyState('4')){
								k=4;
								break;
							}
							if (-32767 == GetAsyncKeyState('5')){
								k=5;
								break;
							}
							if (-32767 == GetAsyncKeyState('6')){
								k=6;
								break;
							}
							if (-32767 == GetAsyncKeyState('7')){
								k=7;
								break;
							}
							if (-32767 == GetAsyncKeyState('8')){
								k=8;
								break;
							}
							if (-32767 == GetAsyncKeyState('9')){
								k=9;
								break;
							}
							if (-32767 == GetAsyncKeyState('A')){
								k=10;
								break;
							}
							if (-32767 == GetAsyncKeyState('B')){
								k=11;
								break;
							}
							if (-32767 == GetAsyncKeyState('C')){
								k=12;
								break;
							}
							if (-32767 == GetAsyncKeyState('D')){
								k=13;
								break;
							}
							if (-32767 == GetAsyncKeyState('E')){
								k=14;
								break;
							}
						}
						system("cls");
						if(k==14){
							break;
						}
						maiche(k);
					}
				}
				if(c==2){
					cout<<"还未开发完毕"<<endl;
				}
				if(c==3){
					break;
				}
			}
			system("cls");
		}
		system("cls");
	}
	return 0;
}

#include<bits/stdc++.h> 
#include<cstring>
#include<windows.h>
using namespace std;
unsigned long long a=0,e=6,f=100,x=0;
//a=钱,e=赚钱速度,f=升级钱数,x=名声
string ccj1="未获得",ccj2="未获得",ccj3="未获得",ccj4="未获得",ccj5="未获得",ccj6="未获得",ccj7="未获得"; 
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;
bool cj_hd1=0,cj_hd2=0,cj_hd3=0,cj_hd4=0,cj_hd5=0,cj_hd6=0,cj_hd7=0;
//买车数据 
 

//隐藏光标
void hide(){
    HANDLE h_GAME =GetStdHandle(STD_OUTPUT_HANDLE);
    CONSOLE_CURSOR_INFO cursor_info;
    GetConsoleCursorInfo(h_GAME,&cursor_info);
    cursor_info.bVisible=false;
    SetConsoleCursorInfo(h_GAME,&cursor_info);
}
 
 
 
void paiming(int dj){//称号规则输出 
    if(dj<4){
        cout<<"等级不够,还差"<<4-dj<<"级"<<endl;
        Sleep(1000);
        return ;
    }
    if(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;
        }
        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");
        }
    }
    cout<<"按n退出:";
    while(1){
        if (-32767 == GetAsyncKeyState('N')){
            return ;
        }
    }
}
 
 
 
 
 
 
 
void maiche(int k){
    int shuliang;
    cout<<"要1辆按1 要10辆按2 要100辆按3 要1000辆按4 要一万辆按5 要十万辆按6 要一百万辆按7"<<endl;
    while(1){
        if (-32767 == GetAsyncKeyState('1')){
            shuliang=1;
            break;
        }
        if (-32767 == GetAsyncKeyState('2')){
            shuliang=10;
            break;
        }
        if (-32767 == GetAsyncKeyState('3')){
            shuliang=100;
            break;
        }
        if (-32767 == GetAsyncKeyState('4')){
            shuliang=1000;
            break;
        }
        if (-32767 == GetAsyncKeyState('5')){
            shuliang=10000;
            break;
        }
        if (-32767 == GetAsyncKeyState('6')){
            shuliang=100000;
            break;
        }
        if (-32767 == GetAsyncKeyState('7')){
            shuliang=1000000;
            break;
        }
    } 
    system("cls");
    if(k==1&&a<(shuliang*1000)){
        cout<<"钱不够,还差"<<shuliang*1000-a<<"元"<<endl;
    }else if(k==1){
        a=a-1000*shuliang;
        x=x+1*shuliang;
        mc1+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆自行车!!!"<<endl;
        Sleep(2000);
        if(mc1>=10000&&cj_hd1==0){
            cout<<"恭喜获得成就:好多自行车!!!"<<endl;
            ccj1="已获得"; 
            cj_hd1=1;
        }
    }
    if(k==2&&a<shuliang*5000){
        cout<<"钱不够,还差"<<shuliang*5000-a<<"元"<<endl;
    }else if(k==2){
        a=a-5000*shuliang;
        x=x+6*shuliang;
        mc2+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆小电驴!!!"<<endl;
        Sleep(2000);
        if(mc2>=10000&&cj_hd2==0){
            cout<<"恭喜获得成就:小电驴大亨"<<endl;
            ccj2="已获得";
            cj_hd2=1;
        }
    }
    if(k==3&&a<shuliang*20000){
        cout<<"钱不够,还差"<<shuliang*20000-a<<"元"<<endl;
    }else if(k==3){
        a=a-20000*shuliang;
        x=x+25*shuliang;
        mc3+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆二手摩托车!!!"<<endl;
    }
    if(k==4&&a<100000*shuliang){
        cout<<"钱不够,还差"<<shuliang*100000-a<<"元"<<endl;
    }else if(k==4){
        a=a-100000*shuliang;
        x=x+130*shuliang;
        mc4+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆小摩托车!!!"<<endl;
        Sleep(2000);
        if(mc4>=10000&&cj_hd3==0){
            cout<<"恭喜获得成就:骑上我心爱的小摩托"<<endl;
            ccj3="已获得";
            cj_hd3=1;
        }
    }
    if(k==5&&a<500000*shuliang){
        cout<<"钱不够,还差"<<shuliang*500000-a<<"元"<<endl;
    }else if(k==5){
        a=a-500000*shuliang;
        x=x+655*shuliang;
        mc5+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆电动摩托车!!!"<<endl;
    }
    if(k==6&&a<2000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*2000000-a<<"元"<<endl;
    }else if(k==6){
        a=a-2000000*shuliang;
        x=x+2630*shuliang;
        mc6+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆汽油摩托车!!!"<<endl;
    }
    if(k==7&&a<3000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*3000000-a<<"元"<<endl;
    }else if(k==7){
        a=a-3000000*shuliang;
        x=x+3950*shuliang;
        mc7+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆二手汽车!!!"<<endl;
    }
    if(k==8&&a<10000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*10000000-a<<"元"<<endl;
    }else if(k==8){
        a=a-10000000*shuliang;
        x=x+13160*shuliang;
        mc8+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆小汽车!!!"<<endl;
        if(mc5>=10000&&cj_hd4==0){
            cout<<"恭喜获得成就:坐上我心爱的小汽车"<<endl;
            ccj4="已获得";
            cj_hd4=1;
        }
    }
    if(k==9&&a<50000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*50000000-a<<"元"<<endl;
    }else if(k==9){
        a=a-50000000*shuliang;
        x=x+65810*shuliang;
        mc9+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆新能源汽车!!!"<<endl;
    }
    if(k==10&&a<200000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*200000000-a<<"元"<<endl;
    }else if(k==10){
        a=a-200000000*shuliang;
        x=x+263270*shuliang;
        mc10+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"辆汽油车!!!"<<endl;
    }
    if(k==11&&a<1000000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*1000000000-a<<"元"<<endl;
    }else if(k==11){
        a=a-1000000000*shuliang;
        x=x+1316350*shuliang;
        mc11+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"架私人飞机!!!"<<endl;
    }
    if(k==12&&a<5000000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*5000000000-a<<"元"<<endl;
    }else if(k==12){
        a=a-5000000000*shuliang;
        x=x+6581700*shuliang;
        mc12+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"架大型私人飞机!!!"<<endl;
    }
    if(k==13&&a<200000000000*shuliang){
        cout<<"钱不够,还差"<<shuliang*200000000000-a<<"元"<<endl;
    }else if(k==13){
        a=a-200000000000*shuliang;
        x=x+30000000*shuliang;
        mc13+=shuliang;
        cout<<"恭喜获得"<<shuliang<<"个火箭!!!"<<endl;
    }
    cout<<"按n退出 按m继续买";
    while(1){
        if (-32767 == GetAsyncKeyState('N')){
            return ;
        }
        if (-32767 == GetAsyncKeyState('M')){
            maiche(k); 
            return ; 
        }
    }
}
 
 
 
 
 
 
 
int main(){
    hide();
    int dj=1,g=0,o;
    int d;
    bool so=false;
    //dj=等级,d=日常输入,g=经验,o=难度
    //标题输出 
    for(int i=1;i<=21;i++){
        cout<<"=";
        Sleep(100);
    }
    cout<<endl;
    cout<<"=";
    Sleep(150);
    cout<<"  一千万亿很简单   ";
    Sleep(150);
    cout<<"="; 
    cout<<endl<<"=";
    for(int i=1;i<=6;i++){
        cout<<" ";
    }
    cout<<"(5.0)"; 
    cout<<"      =";
    cout<<endl;
    Sleep(150);
    for(int i=1;i<=21;i++){
        cout<<"=";
        Sleep(100);
    }
    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);
    for(int i=1;i<=21;i++){
        cout<<"=";
        Sleep(100);
    }
    cout<<endl; 
    Sleep(1000);
    //难度输入 
    hide();
    system("cls"); 
    cout<<"简单:1  中等:2  困难:3" <<endl;
    while(1){
        if (-32767 == GetAsyncKeyState('1')){
            o=1;
            break;
        }
        if (-32767 == GetAsyncKeyState('2')){
            o=2;
            break;
        }
        if (-32767 == GetAsyncKeyState('3')){
            o=3;
            break;
        }
    }
    for(int i=1;i<=3;i++){
        system("cls"); 
        cout<<"loading";
        for(int i=1;i<=6;i++){
            cout<<".";
            Sleep(200);
        }
    }
    system("cls");
    Sleep(2000);
    //主代码
    for(int X=0;;X++){
        hide();
        system("cls");
        cout<<"赚钱:1(赚钱速度为"<<e<<")"<<endl;
        cout<<"升级:2(升级钱数为"<<f<<")"<<endl;
        cout<<"$:"<<a<<"    级别:"<<dj<<"    经验:"<<g<<endl;
        cout<<"=============="<<endl;
        cout<<"=称号:3      ="<<endl;
        cout<<"=买车,买房:4="<<endl;
        cout<<"=挂机:5      ="<<endl;
        cout<<"=攻略:6     ="<<endl;
        cout<<"=============="<<endl;
        Sleep(100);
        while(1){
            if (-32767 == GetAsyncKeyState('1')){
                d=1;
                break;
            }
            if (-32767 == GetAsyncKeyState('2')){
                d=2;
                break;
            }
            if (-32767 == GetAsyncKeyState('3')){
                d=3;
                system("cls");
                break;
            }
            if (-32767 == GetAsyncKeyState('4')){
                d=4;
                break;
            }
            if (-32767 == GetAsyncKeyState('5')){
                d=5;
                break;
            }
            if (-32767 == GetAsyncKeyState('6')){
                d=6;
                system("cls");
                break;
            }
        }
        if(X%50==0&&X!=0){
            g=g+1;
            e+=e/8;
        }
        if(d==6){
            cout<<"========="<<endl;
            cout<<"=按n继续="<<endl;
            cout<<"========="<<endl;
            cout<<endl<<"攻略:"<<endl; 
            cout<<"想快点赚钱就快点升级(手动赚钱最快哦!!!)" <<endl;
            while(1){
                if (-32767 == GetAsyncKeyState('N')){
                    break;
                }
            }
            cout<<"经验也可以增加赚钱速度!"<<endl; 
            while(1){
                if (-32767 == GetAsyncKeyState('N')){
                    break;
                }
            }
            cout<<"记得看称号(到了最强王者或最强王者以上有惊喜!!!)"<<endl; 
            while(1){
                if (-32767 == GetAsyncKeyState('N')){
                    break;
                }
            }
            cout<<"没时间玩的话试试挂机,但最多挂机100分钟,挂机也可以加经验哟!"<<endl;
            while(1){
                if (-32767 == GetAsyncKeyState('N')){
                    break;
                }
            }
            cout<<"买车买房中可以获得成就哦!"<<endl;
            while(1){
                if (-32767 == GetAsyncKeyState('N')){
                    break;
                }
            }
            cout<<"好吧,就这样吧,攻略结束^_^"<<endl;
            while(1){
                if (-32767 == GetAsyncKeyState('N')){
                    break;
                }
            }
        }
        if(d==5){
            long long guaji=0;//金钱 
            int gjsj=0;//时间 
            int as;
            Sleep(200);
            MessageBox(NULL, "挂机中按n退出", "注意", MB_OK);
            MessageBox(NULL, "最多挂机100分钟,每秒获得一次金钱。", "注意", MB_OK);
            while(1){
                system("cls");
                cout<<"退出按1,挂机按2"<<endl;
                while(1){
                    if (-32767 == GetAsyncKeyState('1')){
                        as=1;
                        break;
                    }
                    if (-32767 == GetAsyncKeyState('2')){
                        as=2;
                        break;
                    }
                }
                if(as==1){
                    break;
                } 
                if(as==2){
                    system("cls");
                    cout<<"您现在已经进入挂机模式,是否开始挂机?(y/n)" <<endl;
                    while(1){
                        if (-32767 == GetAsyncKeyState('Y')){
                            cout<<"开始挂机"<<endl;
                            for(int i=0;i<=6000;i++){
                                cout<<"已挂机"<<i<<"秒"<<endl;
                                for(int j=1;j<=80;j++){
                                    if (-32767 == GetAsyncKeyState('N')){
                                        as=0;
                                        break;
                                    }
                                    Sleep(1);
                                }
                                gjsj++;
                                if(as==0) break;
                                X++;
                                if(X%50==0){
                                    g=g+1;
                                    e+=e/8;
                                }
                                system("cls");
                            }
                            a+=(e*gjsj);
                            cout<<"已挂机完毕,您获得了"<<e*gjsj<<"元"<<endl;
                            MessageBox(NULL, "已挂机完毕", "提示", MB_OK);
                            break;
                        }
                        if (-32767 == GetAsyncKeyState('N')){
                            break;
                        }
                    }
                    
                }
            }
        }
        if(d==1){
            a=a+e;
        }
        if(d==2&&a<f){
            system("cls");
            cout<<"钱不够,还差"<<f-a<<"元"<<endl;
            Sleep(500);
        }
        if(d==2&&a>=f){
            dj=dj+1;
            a=a-f;
            if(o==1){
                e+=e/6;
                f+=f*0.75;//f+=f/100*65;
            }
            if(o==2){
                e+=e/6;
                f+=f*0.85;//f+=f/100*75;
            }
            if(o==3){
                e+=e/6;
                f+=f*0.95;//f+=f/100*85;
            }
            if(so==true){
                so=false;
                f=f*2;
            }
        }
        if(d==3){
            paiming(dj);
        }
        if(d==4){
            while(1){
                int c=0,k=0;
                system("cls");
                cout<<"买车:1    买房:2    退出:3    $:"<<a<<"    名声:"<<x<<"    成就:4"<<"    仓库:5"<<endl;
                while(1){
                    if (-32767 == GetAsyncKeyState('1')){
                        c=1;
                        break;
                    }
                    if (-32767 == GetAsyncKeyState('2')){
                        c=2;
                        break;
                    }
                    if (-32767 == GetAsyncKeyState('3')){
                        c=3;
                        break;
                    }
                    if (-32767 == GetAsyncKeyState('4')){
                        c=4;
                        break;
                    }
                    if (-32767 == GetAsyncKeyState('5')){
                        c=5;
                        break;
                    }
                }
                if(c==5){
                    system("cls");
                    cout<<"您的自行车有"<<mc1<<"辆"<<endl;
                    cout<<"您的小电驴有"<<mc2<<"辆"<<endl;
                    cout<<"您的二手摩托车有"<<mc3<<"辆"<<endl;
                    cout<<"您的小摩托车有"<<mc4<<"辆"<<endl;
                    cout<<"您的电动摩托车有"<<mc5<<"辆"<<endl;
                    cout<<"您的汽油摩托车有"<<mc6<<"辆"<<endl;
                    cout<<"您的二手汽车有"<<mc7<<"辆"<<endl;
                    cout<<"您的小汽车有"<<mc8<<"辆"<<endl;
                    cout<<"您的新能源汽车有"<<mc9<<"辆"<<endl;
                    cout<<"您的汽油汽车有"<<mc10<<"辆"<<endl;
                    cout<<"您的私人飞机有"<<mc11<<"架"<<endl;
                    cout<<"您的大型私人飞机有"<<mc12<<"架"<<endl;
                    cout<<"您的火箭有"<<mc13<<"个"<<endl;
                    Sleep(500);
                    cout<<"按n退出"<<endl; 
                    while(1){
                        if (-32767 == GetAsyncKeyState('N')){
                            break;
                        }
                    }    
                } 
                if(c==4){
                    system("cls");
                    cout<<"成就:"<<endl;
                    cout<<"===================================================="<<endl;
                    cout<<"=1.好多自行车          (拥有自行车10000辆)   "<<ccj1<<"="<<endl;
                    cout<<"=2.小电驴大亨          (拥有小电驴10000辆)   "<<ccj2<<"="<<endl;
                    cout<<"=3.骑上我心爱的小摩托  (拥有小摩托车10000辆) "<<ccj3<<"="<<endl;
                    cout<<"=4.坐上我心爱的小汽车  (拥有小汽车10000辆)   "<<ccj4<<"="<<endl;
                    cout<<"===================================================="<<endl;
                    Sleep(500);
                    cout<<"按n退出"<<endl; 
                    while(1){
                        if (-32767 == GetAsyncKeyState('N')){
                            break;
                        }
                    }
                } 
                if(c==1){
                    while(1){
                        system("cls");
                        cout<<"===================================================="<<endl;
                        cout<<"==1000$         自行车       (名声+1)        按1  =="<<endl;
                        cout<<"==5000$         小电驴       (名声+6)        按2  =="<<endl;
                        cout<<"==20000$        二手摩托车   (名声+25)       按3  =="<<endl;
                        cout<<"==100000$       小摩托车     (名声+130)      按4  =="<<endl;
                        cout<<"==500000$       电动摩托车   (名声+655)      按5  =="<<endl;
                        cout<<"==2000000$      汽油摩托车   (名声+2630)     按6  =="<<endl;
                        cout<<"==3000000$      二手汽车     (名声+3950)     按7  =="<<endl;
                        cout<<"==10000000$     小汽车       (名声+13160)    按8  =="<<endl;
                        cout<<"==50000000$     新能源汽车   (名声+65810)    按9  =="<<endl;
                        cout<<"==200000000$    汽油汽车     (名声+263270)   按a  =="<<endl;
                        cout<<"==1000000000$   私人飞机     (名声+1316350)  按b  =="<<endl;
                        cout<<"==5000000000$   大型私人飞机 (名声+6581700)  按c  =="<<endl;
                        cout<<"==200000000000$ 火箭         (名声+30000000) 按d  =="<<endl; 
                        cout<<"==退出  按e                                       =="<<endl;
                        cout<<"===================================================="<<endl;
                        cout<<"名声:"<<x<<endl;
                        cout<<"$:"<<a<<endl;
                        while(1){
                            if (-32767 == GetAsyncKeyState('1')){
                                k=1; 
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('2')){
                                k=2;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('3')){
                                k=3;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('4')){
                                k=4;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('5')){
                                k=5;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('6')){
                                k=6;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('7')){
                                k=7;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('8')){
                                k=8;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('9')){
                                k=9;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('A')){
                                k=10;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('B')){
                                k=11;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('C')){
                                k=12;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('D')){
                                k=13;
                                break;
                            }
                            if (-32767 == GetAsyncKeyState('E')){
                                k=14;
                                break;
                            }
                        }
                        system("cls");
                        if(k==14){
                            break;
                        }
                        maiche(k);
                    }
                }
                if(c==2){
                    cout<<"还未开发完毕"<<endl;
                }
                if(c==3){
                    break;
                }
            }
            system("cls");
        }
        system("cls");
    }
    return 0;
}

  • 8
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值