#include<bits/stdc++.h>
#include<stdio.h>
#include<conio.h>
#include<iostream> 
#include<stdlib.h>
#include<windows.h>
#include<time.h>
#define framex 2
#define framey 2
#define wide 40
#define high 25
#pragma GCC optimize(3)
#pragma GCC optimize(2)
#pragma GCC optimize(1)
int clak=114514;
char ss,sss; 
int a;
int ab=9;
void color(int c){
	SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), c);
}
void diyu(){
	
}
int g[101010101];
using namespace std;
int main(){
	ss=char(11626);
	sss=char(11625);
	color(2); 
	cout << "狭路相逢(吃鸡)" << '\n';
	color(4);
	cout << "作者:";
	Sleep(1000);
	color(6);
	cout<<"黄文博\n"; 
	color(3);
	Sleep(500);
	cout << "是否开始游戏?" << '\n';
	color(5);
	cout << "a 开始" << "  " << "b 退出" << '\n'; 
	string s;
	cin >> s;
	if(s == "a"){
		system("cls");
		color(9);
		while(ab--){
			for(int i=1;i<=5;i++){
				for(int j=i-1;j>=1;j--){
					cout<<"\n";
				}
				if(i%2==0){
					color(clak++);
					cout<<'#';	
				}else{
					color(clak++);
					cout<<"*";
				}
				//Sleep(10);
				system("cls");
			}
			for(int i=1;i<=10;i++){
				for(int j=5;j>=1;j--){
					cout<<"\n";
				}
				for(int j=i-1;j>=1;j--){
					cout<<" ";
				}
				if(i%2==0){
					color(clak++);
					cout<<'-';	
				}else{
					color(clak++);
					cout<<"|";
				}
				//Sleep(10);
				system("cls");
			}
			for(int i=1;i<=5;i++){
				for(int j=5-i;j>=1;j--){
					cout<<"\n";
				}
				for(int j=10;j>=1;j--){
					cout<<" ";
				}
				if(i%2==0){
					color(clak++);
					cout<<"?";	
				}else{
					color(clak++);
					cout<<"=";
				}
				
				//Sleep(10);
				system("cls");
			}
			for(int i=1;i<=10;i++){
				for(int j=10-i;j>=1;j--){
					cout<<" ";
				}
				if(i%2==0){
					color(clak++);
					cout<<'@';	
				}else{
					color(clak++);
					cout<<"/";
				}
				//Sleep(10);
				system("cls");
			}
		}
		color(8); 
    	Beep(1000, 100);
		Sleep(50);
		Beep(1000, 100); 
		MessageBox(NULL, "您已进入游戏!", "系统提示", MB_OK); 
		Sleep(1000);
		system("cls");
		color(9);
		cout<<"#%#^^&%#%^*^&*%#%&\n";
		Sleep(500);
		cout<<"#@%#%%……%%¥@¥\n";
		cout<<"你被叫骂声吵醒了,发现自己竟然再飞坤上\n";
		MessageBox(NULL, "选择区域", "广播", MB_OK);
		cout<<"1.河边 2.人群集聚地 3.人群稀疏的地方\n";
		cin>>a;
		if(a==1){
			cout<<"你来到河边,发现了一把AK47\n";
			cout<<"远处传来了阵阵枪响\n";
			cout<<"是否过去\n";
			cout<<"1.我很勇的 2.算了\n";
			cin>>a;
			if(a==1){
				cout<<"你走过去";
				cout<<"发现了一个房子,枪响是从房子里发出的,房子走出了一个人,他要和你组队\n"; 
				cout<<"1.好的 2.沙了他\n";
				cin>>a;
				if(a==1){
					cout<<"要不要开启地狱模式\n";
					cin>>s;
					if(s=="要"){
						MessageBox(NULL, "好的", "系统提示", MB_OK); 
						cout<<"你想对他说什么\n"; 
						cin>>s;
						if(s[0]==ss){
							if(s[9]==sss){
								cout<<"那人:我才是坤坤\n";
								color(4);
								Sleep(1000);
								system("cls");
								cout<<"彩蛋结局\n";
								cout<<"来抽奖吧\n";
								int i;
								int a=1;
								int m;
								int a1[100];
								cout<<" _______________________________________________ \n"; 
								cout<<"|                                               |\n"; 
								cout<<"|               |  幸运大抽奖  |                |\n"; 
								cout<<"|_______________________________________________|\n"; 
								cout<<"玩几把?\n"; 
								cin>>m;
								for(int i=1;i<=10;i++){
									a1[i]=0;
								} 
								while(a<=m){
									cout<<"请输入1~200之间的数:" ; 
									cin>>i;
									if(i==100){
										cout<<"原十故事:葱前有亿座三,叫化果三,三上有亿块神师,忽然,师头里蹦出一只候子,咱十分神勇,候子们叫它没候王,现在,咱要趣拜师了。\n";
										cout<<"改后故事:从前有一座山,叫花果山,山上有一块神石,忽然,石头里蹦出一只猴子,它十分神勇,猴子们叫它美猴王,现在,它要去拜师了。\n"; 
									}
									else if(i==23){
										if(a1[1]==0){
											cout<<"再来3次\n"; 
											cout<<"  ________________________________________________________________ _"<<endl; 
											cout<<" /                                                               /   "<<endl; 
											cout<<"|                                                               |    |"<<endl; 
											cout<<"  _______________________________________________________________ _ /"<<endl; 
											cout<<"                                                                      ";
											cout<<"                                                                      ";
											cout<<"                                                                      ";
											cout<<"                                                                      ";
											cout<<"                                                                      ";
											cout<<" _______________________________________________________________"<<endl; 
											cout<<"|_______________________________________________________________|"<<endl; 
											cout<<"|_______________________________________________________________|"<<endl;
											a-=3;
											a1[1]=1; 
										}else{
											cout<<"不能重复抽\n";
											a+=1; 
										}
										
									}
									else if(i==34){
										cout<<"  ";
									}
									else if(i==45){
										cout<<"  ";
									}
									else if(i==56){
										if(a1[2]==0){
											cout<<"再来2次\n"; 
											a-=2;
											a1[2]=1;
										}else{
											cout<<"不能重复抽\n";
											a+=1;
										}
										
									}
									else if(i==67){
										cout<<"  ";
									}
									else if(i==74){
										cout<<"  ";
									}
									else if(i==87) {
										cout<<"  ";
									}
									else if(i==90){
										cout<<"恭喜你,通关了!\n";
										cout<<"________________________________________\n"; 
										cout<<"|       *   *  *     *  *   *          |\n"; 
										cout<<"|          **_* *ENO* *_**             |\n"; 
										cout<<"|____________||_______||_______________|\n"; 
										cout<<"中1000W"; 
										return 0;
									}
									else if(i==102){
										cout<<"  ";
									}
									else if(i==110){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==128){
										if(a1[3]==0){
											cout<<"再来5次\n"; 
											cout<<"    _____________________________\n";
											cout<<"   |_______|*|-     ________|*|- |\n";
											cout<<"获得大蛇皮肤:____________________|\n";
											a-=5;
											a1[3]=1;
										}else{
											cout<<"不能重复抽\n";
											a+=1;
										}
										
									}
									else if(i==131){
										cout<<"  ";
									}
									else if(i==149){
										cout<<"  ";
									}
									else if(i==156){
										a+=1;
									}
									else if(i==153){
										if(a1[4]==0){
											cout<<"再来十次  \n";
											cout<<"        .          .                       .            .               \n";
											cout<<"          .      .           .     .        .          .                \n";
											cout<<"          .      .       .                    .     .     .            .\n";
											cout<<"           .              .   .     ..    .    .                        \n";
											cout<<"          .       .          .     .       .     .       .   ..         \n";
											cout<<"          .              .       .        .            .               .\n";
											cout<<"      __________________________________________________________________\n";
											cout<<"    /                                                                   \n";
											cout<<"   |                                                                    \n";
											cout<<"__/                                                                     \n";
											cout<<"获得小蛇皮肤:_________|*|-\n"; 
											a-=10;
											a1[4]=1;
										}else{
											cout<<"不能重复抽\n";
											a+=1;
										}
										
									}
									else if(i==177){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==133){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==143){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==12){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==115){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==116){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==138){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==115){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==119){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==177){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==133){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==143){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==12){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==115){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==116){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==138){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==115){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==119){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==172){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==134){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==146){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==18){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==112){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==115){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==131){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==111){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==140){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==132){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==11){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==123){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==192){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==199){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==200){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==137){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==178){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else if(i==187){
										cout<<"再来1次\n"; 
										a-=1;
									}
									else {
										cout<<"扣1次\n";
										a++;
									}
									a++;
								}
								cout<<"GAME OVER";
							}
						}else{
							cout<<"提示结局\n";
							cout<<"11626 11625 11630 11625 11636 11617 11625 11629 11621 11625"; 
						}
					}else{
						cout<<"你们成为了兄弟\n";
						cout<<"你要\n";
						cout<<"1.伏地 2.勇\n";
						cin>>a;
						if(a==1){
							cout<<"你耐心等待\n";
							cout<<"赢了\n";
							Sleep(3000);
							cout<<"但你的兄弟把你sha了";
						}else{
							cout<<"不要太鲁莽(狭路相逢勇者胜)\n";
							cout<<"你兄弟赢了\n";
							Sleep(1000);
							system("cls");
							cout<<"线索:jinitaimei";
						}
					}
				}else{
					cout<<"正当你要动手时,你被爆头了\n";
					Sleep(1000);
					system("cls");
					cout<<"结局:\n";
					color(11);
					cout<<"社会黑老大";
				}
			}else if(a==2){
				cout<<"你被爆头了\n";
				Sleep(1000); 
				system("cls");
				cout<<"结局:\n";
				color(11);
				cout<<"人体靶子";
			}
		}else if(a==2){
			cout<<"你和一群人组了队\n";
			cout<<"但你们人太多了,转移速度慢,毒圈即将来临\n";
			cout<<"你要\n";
			cout<<"1.和一个人一起跑 2.一起\n";
			cin>>a;
			if(a==1){
				cout<<"你苟活了下来\n";
				MessageBox(NULL, "还剩5人,已为你开启地狱模式", "广播", MB_OK);
				MessageBox(NULL, "好的", "系统提示", MB_OK); 
				cout<<"你想对他说什么\n"; 
				cin>>s;
				if(s[0]==ss){
					if(s[9]==sss){
						cout<<"那人:我才是坤坤\n";
						color(4);
						Sleep(1000);
						system("cls");
						cout<<"彩蛋结局\n";
						cout<<"来抽奖吧\n";
						int i;
						int a=1;
						int m;
						int a1[100];
						cout<<" _______________________________________________ \n"; 
						cout<<"|                                               |\n"; 
						cout<<"|               |  幸运大抽奖  |                |\n"; 
						cout<<"|_______________________________________________|\n"; 
						cout<<"玩几把?\n"; 
						cin>>m;
						for(int i=1;i<=10;i++){
							a1[i]=0;
						} 
						while(a<=m){
							cout<<"请输入1~200之间的数:" ; 
							cin>>i;
							if(i==100){
								cout<<"原十故事:葱前有亿座三,叫化果三,三上有亿块神师,忽然,师头里蹦出一只候子,咱十分神勇,候子们叫它没候王,现在,咱要趣拜师了。\n";
								cout<<"改后故事:从前有一座山,叫花果山,山上有一块神石,忽然,石头里蹦出一只猴子,它十分神勇,猴子们叫它美猴王,现在,它要去拜师了。\n"; 
							}
							else if(i==23){
								if(a1[1]==0){
									cout<<"再来3次\n"; 
									cout<<"  ________________________________________________________________ _"<<endl; 
									cout<<" /                                                               /   "<<endl; 
									cout<<"|                                                               |    |"<<endl; 
									cout<<"  _______________________________________________________________ _ /"<<endl; 
									cout<<"                                                                      ";
									cout<<"                                                                      ";
									cout<<"                                                                      ";
									cout<<"                                                                      ";
									cout<<"                                                                      ";
									cout<<" _______________________________________________________________"<<endl; 
									cout<<"|_______________________________________________________________|"<<endl; 
									cout<<"|_______________________________________________________________|"<<endl;
									a-=3;
									a1[1]=1; 
								}else{
									cout<<"不能重复抽\n";
									a+=1; 
								}
								
							}
							else if(i==34){
								cout<<"  ";
							}
							else if(i==45){
								cout<<"  ";
							}
							else if(i==56){
								if(a1[2]==0){
									cout<<"再来2次\n"; 
									a-=2;
									a1[2]=1;
								}else{
									cout<<"不能重复抽\n";
									a+=1;
								}
								
							}
							else if(i==67){
								cout<<"  ";
							}
							else if(i==74){
								cout<<"  ";
							}
							else if(i==87) {
								cout<<"  ";
							}
							else if(i==90){
								cout<<"恭喜你,通关了!\n";
								cout<<"________________________________________\n"; 
								cout<<"|       *   *  *     *  *   *          |\n"; 
								cout<<"|          **_* *ENO* *_**             |\n"; 
								cout<<"|____________||_______||_______________|\n"; 
								cout<<"中1000W"; 
								return 0;
							}
							else if(i==102){
								cout<<"  ";
							}
							else if(i==110){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==128){
								if(a1[3]==0){
									cout<<"再来5次\n"; 
									cout<<"    _____________________________\n";
									cout<<"   |_______|*|-     ________|*|- |\n";
									cout<<"获得大蛇皮肤:____________________|\n";
									a-=5;
									a1[3]=1;
								}else{
									cout<<"不能重复抽\n";
									a+=1;
								}
								
							}
							else if(i==131){
								cout<<"  ";
							}
							else if(i==149){
								cout<<"  ";
							}
							else if(i==156){
								a+=1;
							}
							else if(i==153){
								if(a1[4]==0){
									cout<<"再来十次  \n";
									cout<<"        .          .                       .            .               \n";
									cout<<"          .      .           .     .        .          .                \n";
									cout<<"          .      .       .                    .     .     .            .\n";
									cout<<"           .              .   .     ..    .    .                        \n";
									cout<<"          .       .          .     .       .     .       .   ..         \n";
									cout<<"          .              .       .        .            .               .\n";
									cout<<"      __________________________________________________________________\n";
									cout<<"    /                                                                   \n";
									cout<<"   |                                                                    \n";
									cout<<"__/                                                                     \n";
									cout<<"获得小蛇皮肤:_________|*|-\n"; 
									a-=10;
									a1[4]=1;
								}else{
									cout<<"不能重复抽\n";
									a+=1;
								}
							
							}
							else if(i==177){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==133){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==143){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==12){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==115){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==116){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==138){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==115){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==119){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==177){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==133){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==143){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==12){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==115){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==116){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==138){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==115){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==119){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==172){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==134){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==146){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==18){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==112){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==115){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==131){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==111){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==140){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==132){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==11){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==123){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==192){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==199){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==200){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==137){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==178){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else if(i==187){
								cout<<"再来1次\n"; 
								a-=1;
							}
							else {
								cout<<"扣1次\n";
								a++;
							}
							a++;
						}
						cout<<"GAME OVER";
					}
				}else{
					cout<<"提示结局\n";
					cout<<"11626 11625 11630 11625 11636 11617 11625 11629 11621 11625"; 
				}
			}else{
				cout<<"你还是低估了毒圈的速度\n";
				cout<<"jinitaimei";
			}
		}else if(a==3){
			cout<<"去\n";
			Sleep(2000);
			cout<<"玩\n";
			Sleep(2000);
			cout<<"1\n";
			Sleep(2000);
			cout<<"2\n";
			Sleep(2000);
			cout<<"吧\n";
			Sleep(2000);
			cout<<",\n";
			Sleep(2000);
			cout<<"这\n";
			Sleep(2000);
			cout<<"个\n";
			Sleep(2000);
			cout<<"还\n";
			Sleep(2000);
			cout<<"没\n";
			Sleep(2000);
			cout<<"做";
			return 123;
		}else{
			system("cls");
			MessageBox(NULL, "不遵守规则的人还是别玩吧!", "系统", MB_OK);
		}
	}else{
		if(s == "b"){
			system("cls");
			color(3);
			cout << "既然你选择了退出游戏" << '\n';
			cout << "那么直接结束游戏" << '\n';
			Sleep(1000);
			MessageBox(NULL, "下次再来哦", "作者:", MB_OK);
			return 0;
		}
	}
	return 0; 
}