文字版游戏

#include <bits/stdc++.h>
#include <windows.h>
#include <conio.h>
#include <stdlib.h>
#include <stdio.h>
using namespace std ;
void printsetence(string &text, int interval)
{
	int n = text.length();
	for (int i=0;i<n;i++)
	{
		cout<<text[i];
		Sleep(interval);
	}
	return;
}
int main()
{
	int a,b;
	system("color 9f");
	for(int i=1;i<=9;i++) cout<<endl;
	cout<<"                                        抵制不良游戏,拒绝盗版游戏。"<<endl;
	cout<<"                                        注意自身保护,谨防受骗上当。"<<endl;
	cout<<"                                        适度游戏益脑,沉迷游戏伤身。"<<endl;
	cout<<"                                        合理安排时间,享受健康生活。"<<endl;
	Sleep(1000);
	cout<<endl<<endl<<endl<<endl;
	cout<<"                                                游戏加载中..."<<endl;
	cout<<"                                            ";
	for(int i=1;i<=10;i++)
	{
		cout<<"▊ ";
		Sleep(500);
	}
	cout<<endl<<endl<<endl<<endl;
	cout<<"                                               CH工作室出品"<<endl;
	Sleep(600);
	cout<<"                                             ";
	system("pause");
	system("cls");	
	cout<<"开始游戏"<<endl<<endl;
	ch1:
	string text="你是一个十分平常的普通人,后来你参军入伍,也学会了一些本领,今天是你退伍后的一年,有几个人找到了你,问你要不要去'ikun'。那是一个奇怪的组织,没人知道他是干什么的,但却有着官方的认证";
	printsetence(text,20);
	cout<<endl<<endl;
	text = "做出你的选择";
	printsetence(text,20);
	cout<<endl<<endl;
	text = "1 加入		2 拒绝";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a!=1)
	{
		system("color F4");
		text = "由于你拒绝了邀请,他杀害了你的亲人,最终你跳楼自尽。";
		printsetence(text,25);
		cout<<endl;
		text = "Game Over";
		printsetence(text,25);
		cout<<endl;
		text = "退出游戏请按1		重新开始请按2";
		printsetence(text,25);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto ch1;
		}
		return 2;
	}
	bk1:
	text = "你们去往了一处隐蔽的基地,他们塞给你了一个背包,里面有武器和装备,和一个任务单;大致是讲让你去调查一个房子,你们驱车来到了目的地,站在房屋的前面,你准备......";
	printsetence(text,20);
	cout<<endl<<endl;
	text = "1 观察一下周围,四周转转		2 破门而入";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a!=1)
	{
		system("color F4");
		text = "你破门而入,但很快你被无尽黑暗吞噬了";
		printsetence(text,20);
		cout<<endl;
		text ="Game Over";
		printsetence(text,20);
		cout<<endl<<endl;
		text ="退出游戏请按1		重新选择请按2";
		printsetence(text,20);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto bk1;
		}
		else return 2;
	}
	bk2:
	text ="后面窗户没关,沙发上躺着一个女人,在看电视。一只手上有一把血淋淋的刀";
	printsetence(text,20);
	cout<<endl<<endl;
	text ="1 上报给总部		2 进去,让女人别动";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls") ;
	if(a!=1)
	{
		system("color F4");
		text ="你猛然发现一把刀在你的胸口";
		printsetence(text,20);
		cout<<endl;
		text ="Game Over";
		printsetence(text,20);
		cout<<endl<<endl;
		text ="退出游戏请按1		重新选择请按2";
		printsetence(text,20);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto bk2;
		}
		return 2;
	}
	bk3:
	text ="你用对讲机报告了情况,对方沉默了一会,过了很久,终于传来了声音:轻轻的退回来,快!你望了一眼那个女人,她似乎在看你,“记住,发生什么都不要管”你准备……";
	printsetence(text,20);
	cout<<endl<<endl;
	text ="1 向车快跑		2 慢慢地向车挪去";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a!=2)
	{
		system("color F4");
		text ="由于你过于慌张,不小心摔倒了(平地摔),那个女人闻声冲了出来,用刀将你杀死了。";
		printsetence(text,20);
		cout<<endl;
		text ="Game Over";
		printsetence(text,20);
		cout<<endl<<endl;
		text ="退出游戏请按1		重新选择请按2";
		printsetence(text,20);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto bk3;
		}
		return 2;
	}
	bk4:
	text ="这时有人拍了拍你的肩膀";
	printsetence(text,20);
	cout<<endl<<endl;
	text ="1 回头		2 不管,继续走";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a!=2)
	{
		system("color F4");
		text ="你被拍你肩膀的人吓晕了过去,随后被女人刀了";
		printsetence(text,20);
		cout<<endl;
		text ="Game Over";
		printsetence(text,20);
		cout<<endl<<endl;
		text ="退出游戏请按1		重新选择请按2";
		printsetence(text,20);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto bk4;
		}
		return 2;
	}
	bk5:
	text ="一把刀从你背后插入了你的大腿";
	printsetence(text,20);
	cout<<endl<<endl;
	text ="1 查看		2 不管,继续往前走";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a!=1)
	{
		system("color F4");
		text ="由于你行动缓慢失血过多,最终死亡";
		printsetence(text,20);
		cout<<endl;
		text ="Game Over";
		printsetence(text,20);
		cout<<endl<<endl;
		text ="退出游戏请按1		重新选择请按2";
		printsetence(text,20);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto bk5;
		}
		return 2;
	}
	bk6:
	text ="你看到了一个男人的尸体,上面刻着:快跑";
	printsetence(text,20);
	cout<<endl<<endl;
	text ="1 开火		2 拔腿就跑";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a!=2)
	{
		system("color F4");
		text ="你的开火声引来了女人,你死了";
		printsetence(text,20);
		cout<<endl;
		text ="Game Over";
		printsetence(text,20);
		cout<<endl<<endl;
		text ="退出游戏请按1		重新选择请按2";
		printsetence(text,20);
		cout<<endl;
		cin>>b;
		if(b==2)
		{
			system("cls");
			system("color 9F");
			goto bk6;
		}
		return 2;
	}
	text ="你终于回到了车上,并且及时处理了伤口,目前没有生命危险,那个女人也没有跟上来";
	printsetence(text,20);
	cout<<endl<<endl;
	system("pause");
	ch2:
	system("cls");
	text="你在医院养好了伤,就在你出院的那一天,组织又给你指派了一个任务。";
	printsetence(text,20);
	cout<<endl<<endl;
	text ="你们十二人带着先进的潜水服和专用于水下作战的步抢,乘着快艇来到走到可疑地点,纵身跳下,你们发现在底部有一艘木制的沉船,旁边有一个洞穴。你准备......";
	printsetence(text,20);
	cout<<endl<<endl;
	text = "1 前往沉船甲板查看 			2 进入洞穴";
	printsetence(text,20);
	cout<<endl;
	cin>>a;
	system("cls");
	if(a%2==0)
	{
		bk7:
		text ="洞穴很深,很黑,你打开手电,黑暗吞没了手电发出的微弱光芒。于是你决定......";
		printsetence(text,20);
		cout<<endl<<endl;
		text = "1 进入		2 扔出照明弹 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="顺着照明弹的光芒,你看到了一张张丑陋的脸,皮肤像是被火烧过一般,扭曲的眼里透露出一股令人毛骨悚然的异样,他们向你扑了过来,你甚至连枪都没拔出来就被撕破了,一个个尖厉的牙齿刺入了你的体内,你死了。";
			printsetence(text,20);
			cout<<endl;
			text ="Game Over";
			printsetence(text,20);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,20);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk7;
			}
			return 2;
		}
		bk8:
		text="你游进了洞穴,然一只丑陋的手抓住你的脚,一直把你往下拖。你准备......";
		printsetence(text,20);
		cout<<endl<<endl;
		text="1 立马开火		2 顺着手臂往下看 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="你的枪声似乎惊动了什么,一张张丑陋的脸浮现在你眼前,皮肤像是被火烧过一般,扭曲的眼里透露出一股令人毛骨悚然的异样,一个个尖厉的牙齿刺入了你的体内。你死了......";
			printsetence(text,20);
			cout<<endl;
			text ="Game Over";
			printsetence(text,20);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,20);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk8;
			}
			return 2;
		}
		bk9:
		text="你还没看到就感觉十分难受,你昏了过去。不一会你醒了,你环顾四周,自己在一个黑暗的地方,不远处有一个黑黢黢,小小的黑影,一股令人恶心的声音像是有人在你耳边低语一般。说道“告诉你的长官,这里是黑斯希的地盘,让他别管这里的事,否则他懂的......”当你再次醒来时,已经在医院里了,他们说发现你时你在岸边昏死了过去。你准备......";
		printsetence(text,20);
		cout<<endl<<endl;
		text="1 当作一场梦,忘了那件事			2 立马把事情告诉长官";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="因为你的失误,你的组织连你一起消失在了这个世界";
			printsetence(text,20);
			cout<<endl;
			text ="Game Over";
			printsetence(text,20);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,20);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk9;
			}
			return 2;
		}
		text="“好的,我知道了。好好休息吧,这件事我会处理的。”";
		printsetence(text,20);
		cout<<endl<<endl;
		system("pause");
	}
	else
	{
		bk10:
		system("cls");
		system("color 9F");
		text = "你们发现这艘船很奇怪,只有一个房间在船的尾部,就没有发现其他房间了。你准备......" ;
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 查找其他房间			2 前往房间";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="查找过程中,你不慎踩到了一块腐烂的木板,掉到了船舱底部,一只触手将你拖入了黑暗......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk10;
			}
			return 2;
		}
		bk11:
		text="房间很简陋一只小吊床在房间的一角,还有一个木制的书桌和一个箱子摆在一起,房间里最显眼的莫过于一幅画,画上有一个男人在和一个怪物搏斗,怪物长得像一个被水浸过的肉瘤,浑身上下带一点绿色,极其丑陋。";
		printsetence(text,20);
		cout<<endl;
		text="忽然,船体一阵抖动,对讲机里传来了声音“你们好了没有,快出来,船不知道为什么,好像要塌了。”";
		printsetence(text,20);
		cout<<endl<<endl;
		text="1 赶紧跑 			2 继续查看 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="很不幸,船坍塌了,你死了";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk11;
			}
			return 2;
		}
		bk12:
			text="你回到了船上汇报了情况,你被送回了基地休息";
			printsetence(text,20);
			cout<<endl<<endl;
			system("pause");
	}
	ch3:
		system("cls");
		text="从深海里回来以后,你就一直在基地中休息,你的长官给你放了一个月的假期。但一天晚上,打破了你安稳的假期。";
		printsetence(text,25);
		cout<<endl<<endl;
		system("pause");
		system("cls");
		bk13:
		text="一天晚上,你的手摸到了一个质地奇怪,有点刺的东西......";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 开灯查看			2 不管了,继续睡 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="于是你就再也没有醒来";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk13;
			}
			return 2;
		}
	bk14:
		text="你发现那是一只硕大的乳白色的大虫";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 赶紧捏爆			2 大喊 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="他反咬了你一口,你的手快速腐烂,你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk14;
			}
			return 2;
		}
	bk15:
		text="不一会儿,卫士来了,他们问你怎么了,但你发现那只虫子不见了";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 没什么,只是做噩梦了			2 告诉他们刚刚的事情 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="卫士走了,但你又发现了那只虫子,它越来越大,最后爆炸了,爆炸产生的带有恶臭的液体布满了你全身,你的身体开始快速腐烂,你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk15;
			}
			return 2;
		}
	bk16:
		text="他们把你带了出去,并拉响了警报,不一会儿,基地里出现了一个个荷枪实弹的士兵,突然,一声声叫声让你们瞬间清醒,然后屋顶被炸开了,一只只奇形怪状的玩意钻了出来,开始攻击你们,一时间基地大乱......";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 跑			2 抄起一根铁棍打上去 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="一根尖刺穿过了你的脑袋,你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk16;
			}
			return 2;
		}
	bk17:
		text="你开始狂奔,并顺手捡了一把手枪......";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 反击			2 继续狂奔 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="你被绊倒了,一根钢管插进了你的脑子,你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk17;
			}
			return 2;
		}
	bk18:
		text="一个长着两条腿却没有手的人形怪物,朝你奔来";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 开火			2 跑 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="你被绊倒了,一根钢管插进了你的脑子,你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk18;
			}
			return 2;
		}
	bk19:
		text="你开火打在了他的身上,他倒在了地上";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 上前查看			2 查看四周 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="你上前查看,突然,它起身黏在了你的身上,口器刺进了你的身体,你的血被吸干了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk19;
			}
			return 2;
		}
	bk20:
		text="基地里死伤惨重,你看到不远处有一把kilo141,但一只巨型蜈蚣向你爬来......";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 上前拾取			2 跑 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="你很快就被蜈蚣一口咬死......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk20;
			}
			return 2;
		}
	bk21:
		text="你一个滑铲捡起了枪......";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 赶紧跑			2 向蜈蚣开火 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="你很快就被蜈蚣一口咬死......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk21;
			}
			return 2;
		}
	bk22:
		text="蜈蚣被你击退了,士兵们也在反击,但虫子们也在逐渐增多";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 去寻找载具			2 反击 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=1)
		{
			system("color F4");
			text ="最后,因为寡不敌众,所以失败了。你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk22;
			}
			return 2;
		}
	bk23:
		text="你发现远处有一辆装甲车";
		printsetence(text,25);
		cout<<endl<<endl;
		text =" 1 上车逃跑			2 招呼其他人快上车 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a!=2)
		{
			system("color F4");
			text ="许多怪物向你涌来,你被怪物拖下了车,随后被吃掉了。你死了......";
			printsetence(text,25);
			cout<<endl;
			text ="Game Over";
			printsetence(text,25);
			cout<<endl<<endl;
			text ="退出游戏请按1		重新选择请按2";
			printsetence(text,25);
			cout<<endl;
			cin>>b;
			if(b==2)
			{
				system("cls");
				system("color 9F");
				goto bk23;
			}
			return 2;
		}
	bk24:
		text="大家跑上了车,冲了出去";
		printsetence(text,25);
		cout<<endl<<endl;
		system("pause");
	ch4:
		int c=0,d=0;
		system("cls");
		text="你们坐着车,逃离了基地。";
		printsetence(text,20);
		text="路上你们检查了装甲车:油几乎全满,你们还在车上找到了一把CR56,只有几颗掉落在地上的子弹,车上还有一挺机枪,备弹充裕。";
		printsetence(text,20);
		cout<<endl<<endl;
		text =" 1 继续查看			2 观察四周 ";
		printsetence(text,20);
		cout<<endl;
		cin>>a;
		system("cls");
		if(a%2!=0)
		{
			ch4c1:
			text="突然,一把巨刃贯穿了车子,万幸的是你没被刺到,躲过一劫";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 抓起一把枪射击			2 开门 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			if(a%2!=0)
			{
				l1:
				text="车震了一下";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 继续射击			2 开门 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a!=2)
				{
					system("color F4");
					text ="车子突然炸了。你死了......";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						goto l1;
					}
					return 2;
				}
				l1s1:
				text="你打开了门";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 检查车子			2 跑 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a%2==0) goto ch5l1;
				l1s2:
				text="你找到了一把Swordish,弹夹还有一半";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 离开			2 继续查看 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a==1) goto ch5l2;
				bk25:
				text="什么也没有了";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 离开			2 自杀 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a!=1)
				{
					system("color F4");
					text ="虽然不知道为什么你这么选,但是你不管怎么样,你用枪结束了你的生命。";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						goto bk25;
					}
					return 2;
				}
				else goto ch5l2;
			}
			else
			{
				text="你打开车门发现身处高空";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 跳出车外			2 缩回身子 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a==1)
				{
					text="你跳了出去,摔落在地上,受了重伤。";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 跑			2 好奇看一眼 ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					if(a==1) goto ch5l1;
					text="你看到一个人";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 跑			2 ‘你是谁?’ ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					if (a==1) goto ch5l1;
					text="那个人消失了";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 跑			2 检查车子 ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					if(a==1) goto ch5l1;
					text="你找到一把Swordfish,弹夹还有一半。";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 离开			2 继续查看 ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					if(a==1) goto ch5l2;
					else goto bk25;
				}
				else
				{
					text="你的车被扔了出去,你收了重伤,你爬出了车子,四周空空如也";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 检查车子			2 跑 ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					if(a==2) goto ch5l1;
					else goto l1s2;
				}
			}
		}
		else
		{
			ch4c2:
			if(c>=1&&d>=1)
			{
				text="哈哈哈哈哈...你又死了...点击任意键回到上一个选择点";
				printsetence(text,25);
				cout<<endl<<endl;
				system("pause");
				system("cls");
			}
			c=d=0;
			text="你发现有一个约三米高的人行生物拿着一把巨刃向车走来";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 “闪开”			2 使用机枪射击 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			c=d=0;
			if (a==2)
			{
				die1:
				if(c>=1&&d>=1) goto ch4c2;
				text="怪人被击退了,但远处有一大堆‘虫子’向你们奔来";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 射击			2 开车逃离 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a==1)
				{
					system("color F4");
					text ="然而并没有什么软用,你们死了......";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						c+=1;
						goto die1;
					}
					return 2;
				}
				else
				{
					system("color F4");
					text ="虫子蜂拥而至,你们的车被一种不明液体腐蚀了,你们死了......";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						d+=1;
						goto die1;
					}
					return 2;
				}
			}
			c=d=0;
			ch4c2s1:
			if(c>=1&&d>=1)
			{
				text="哈哈哈哈哈...你又死了...点击任意键回到上一个选择点";
				printsetence(text,25);
				cout<<endl<<endl;
				system("pause");
				system("cls");
			}
			c=d=0;
			text="你们躲开了怪人的攻击";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 使用机枪射击			2 让司机赶快开车逃离 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			if(a!=2)
			{
				die2:
				if(c>=1&&d>=1) goto ch4c2s1 ;
				text="怪人被击退了";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 继续射击			2 让司机赶快开车逃离 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if (a==1)
				{
					system("color F4");
					text ="一颗石头砸到了你的脑袋上,你死了......";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						c+=1;
						goto die2;
					}
					return 2;
				}
				else
				{
					system("color F4");
					text ="你们撞上了石头,你们死了......";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						d+=1;
						goto die2;
					}
					return 2;
				}
			}
			text="你们撞上了石头,你爬出了车子,并受了重伤";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 检查车子			2 打开车门 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			if(a%2!=0) goto l1s2;
			else
			{
				text="你打开了车门";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 检查车子			2 离开 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a%2!=0) goto l1s2;
				else goto ch5l1;
			}
		}
		ch5l1:
			system("cls");
			system("color 9F");
			text="你逃跑了,跑了很久之后,你漫无目的地走着,天上忽然有‘嗡嗡嗡’的声音,你抬头一看,是一架直升机......";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 求救			2 隐蔽 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			if(a!=1)
			{
				system("color F4");
				text ="直升机略过了你,一个怪物冲了过来,你被撕成了碎片......";
				printsetence(text,25);
				cout<<endl;
				text ="Game Over";
				printsetence(text,25);
				cout<<endl<<endl;
				text ="退出游戏请按1		重新选择请按2";
				printsetence(text,25);
				cout<<endl;
				cin>>b;
				if(b==2)
				{
					system("cls");
					system("color 9F");
					goto ch5l1;
				}
				return 2;
			}
			ctn1:
			text="一个梯子落了下来,你爬了上去,是你的长官,他告诉你你们要去一个基地做防守。";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 跟他们走			2 拒绝 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			if(a==2)
			{
				system("color F4");
				text ="他们把你踢了下去,你摔死了......";
				printsetence(text,25);
				cout<<endl;
				text ="Game Over";
				printsetence(text,25);
				cout<<endl<<endl;
				text ="退出游戏请按1		重新选择请按2";
				printsetence(text,25);
				cout<<endl;
				cin>>b;
				if(b==2)
				{
					system("cls");
					system("color 9F");
					goto ctn1;
				}
				return 2;
			}
			else goto ch5e;
		ch5l2:
			system("cls");
			system("color 9F");
			text="你走到了一座房子前...";
			printsetence(text,25);
			cout<<endl<<endl;
			text =" 1 进入			2 继续走 ";
			printsetence(text,20);
			cout<<endl;
			cin>>a;
			system("cls");
			if(a==2)
			{
				b1:
				text="你漫无目的的走着,天上突然有‘嗡嗡嗡’的声音,是一架直升机...";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 求救			2 隐蔽 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a==1) goto ctn1;
				else
				{
					text="直升机略过了你,一个怪物冲了过来...";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 射击			2 射击(你别无选择) ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					system("color F4");
					text="你扛起的枪向怪物射击,你击退了怪物,你安全了,但是...你迷失了方向,你甚至找不到之前那栋屋子,最后你由于缺乏物资死亡";
					printsetence(text,25);
					cout<<endl;
					text ="Game Over";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="退出游戏请按1		重新选择请按2";
					printsetence(text,25);
					cout<<endl;
					cin>>b;
					if(b==2)
					{
						system("cls");
						system("color 9F");
						goto b1;
					}
					return 2;
				}
			}
			else
			{
				text="你进了屋子,里面有着简单的布局,这时广播里传来要所有士兵去临时第一防线,做防守...";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 前往			2 不去 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a==1)
				{
					text="你动身前往了基地";
					printsetence(text,25);
					cout<<endl<<endl;
					system("pause");
					system("cls");
					goto ch5e;
 
				}
				else
				{
					text="你趁乱逃走了,你变成了逃兵,但你活了下来,恭喜你。后来你也试图去和别人讲述你所经历的事情,但没有任何人相信你说的话。不久之后你亲人病故...";
					printsetence(text,25);
					cout<<endl<<endl;
					text="故事到这里就结束了...最终你过上了无忧无虑的生活,几年后,有关这个组织的所有信息全部被删除,你是唯一一个进过组织活着出来的人";
					printsetence(text,25);
					cout<<endl<<endl;
					text="非常感谢你的游玩";
					printsetence(text,25);
					cout<<endl<<endl;
					text ="本游戏已完结,作者:CH萧培跟";
					printsetence(text,50);
					cout<<endl;
					return 0;
				}
			}
			ch5e:
				system("cls");
				text="几个小时后,你们到达了基地,大家都在搭建防御设施。‘唉,那群鬼东西不知道从哪里出来的,整个世界应该就这是最平静的了。’‘这里马上就会成为地狱了,只有找到紫荆之门才能结束这一场屠杀...’";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 ‘是啊,这个世界...’			2 ‘什么是紫荆之门?’ ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a%2==0)
				{
					text="还没等别人回答,你就被叫去了基地会议室。";
					printsetence(text,25);
					cout<<endl<<endl;
				}
				if(a%2!=0)
				{
					text="还没等你说完,你就被叫去了会议室";
					printsetence(text,25);
					cout<<endl<<endl;
				}
				text="你是 小周 对吧";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 是我			2 你找错人了 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a%2!=0)
				{
					text="‘行,你现在是第三军 十四师 四队 的队长了,你负责掩护第三团运送物资,这是你的队员,还有...你的枪和狗牌,哦不,身份牌,去待命吧。’";
					printsetence(text,25);
					cout<<endl<<endl;
				}
				if(a%2==0)
				{
					text="那个人看了你一眼‘无所谓了,你现在是第三军 十四师 四队 的队长了,你负责掩护第三团运送物资,这是你的队员,还有...你的枪和狗牌,哦不,身份牌,去待命吧。’";
					printsetence(text,25);
					cout<<endl<<endl;
				}
				text="你们前往帮助第三团运送物资,很快战斗打响了,一支怪物部队从一个地方突破了,第三团全员阵亡,一只没有脑袋的巨人站在你们面前。";
				printsetence(text,25);
				cout<<endl<<endl;
				text =" 1 开火			2 闪避 ";
				printsetence(text,20);
				cout<<endl;
				cin>>a;
				system("cls");
				if(a%2!=0)
				{
					text="无头巨人在一片枪响中倒下了";
					printsetence(text,25);
					cout<<endl<<endl;
					only:
					text="更多怪物冲了过来";
					printsetence(text,25);
					cout<<endl<<endl;
					text =" 1 后退			2 闪避 ";
					printsetence(text,20);
					cout<<endl;
					cin>>a;
					system("cls");
					if(a%2!=0)
					{
						c1:
							text="你们退到了一处门后";
							printsetence(text,25);
							cout<<endl<<endl;
							text =" 1 破门而入			2 敲门 ";
							printsetence(text,20);
							cout<<endl;
							cin>>a;
							system("cls");
							if(a==1)
							{
								system("color F4");
								text="门没有打开,怪物蜂拥而来,将你们撕成碎片...";
								printsetence(text,25);
								cout<<endl;
								text ="Game Over";
								printsetence(text,25);
								cout<<endl<<endl;
								text ="退出游戏请按1		重新选择请按2";
								printsetence(text,25);
								cout<<endl;
								cin>>b;
								if(b==2)
								{
									system("cls");
									system("color 9F");
									goto c1;
								}
								return 2;
							}
							text="门‘夸啦’一声开了,里面有一队人。‘趴下!’他们向你们身后开火。‘快进来!’乘怪物被击退时,门关了。";
							printsetence(text,25);
							cout<<endl<<endl;
							text =" 1 谢谢你们,你们是?			2 感谢出手相助,现在情况怎么样? ";
							printsetence(text,20);
							cout<<endl;
							cin>>a;
							system("cls");
							if(a==1)
							{
								text="我们是三军第五营";
								printsetence(text,25);
								cout<<endl<<endl;
								text="这里基本已经沦陷了,快走吧";
								printsetence(text,25);
								cout<<endl<<endl;
								a1:
								text =" 1 好			2 不行,我们必须死守 ";
								printsetence(text,20);
								cout<<endl;
								cin>>a;
								system("cls");
								if(a==2)
								{
									text="你选择了死守基地,但是寡不敌众,你们最终却军覆没...";
									printsetence(text,25);
									cout<<endl<<endl;
									text="结局或许并没有这么差,你选择将任务执行到底,这足以体现你的坚定和责任心。";
									printsetence(text,25);
									cout<<endl<<endl;
									text="尽管你死了,但是你死的很伟大";
									printsetence(text,25);
									cout<<endl<<endl;
									system("pause");
									system("cls");
									text ="非常感谢你的游玩";
									printsetence(text,25);
									cout<<endl;
									text ="本游戏已完结,作者:CH萧培跟";
									printsetence(text,50);
									cout<<endl;
								}
								else
								{
									text="你们乘坐一架直升机飞走了";
									printsetence(text,25);
									cout<<endl<<endl;
									text="你们逃离了这个地方,你们都活了下来,但没有人相信你们的经历,你们的故事变成了一则传说,你过上了正常的生活。";
									printsetence(text,25);
									cout<<endl<<endl;
									system("pause");
									system("cls");
									text ="非常感谢你的游玩";
									printsetence(text,40);
									cout<<endl;
									text ="本游戏已完结,作者:CH萧培跟";
									printsetence(text,50);
									cout<<endl;
								}
							}
							else
							{
								text="不行了,其他队伍基本全死了,快走吧。";
								printsetence(text,25);
								cout<<endl<<endl;
								goto a1;
							}
					}
					else
					{
						text="你们突出了包围,来到了前线";
						printsetence(text,25);
						cout<<endl<<endl;
						text =" 1 防御			2 撤回 ";
						printsetence(text,20);
						cout<<endl;
						cin>>a;
						system("cls");
						if(a==1)
						{
							text="你们继续防守遇到了另一队人,他们说在基地后面的地下机场有一台武装直升机,让你们去开来";
							printsetence(text,25);
							cout<<endl<<endl;
							text =" 1 让他们去			2 带领队伍去开直升机 ";
							printsetence(text,20);
							cout<<endl;
							cin>>a;
							system("cls");
							if(a==1)
							{
								text="你们继续防守,很快,他们来了,你们上了直升机";
								printsetence(text,25);
								cout<<endl<<endl;
								text="你们逃离了这个地方,你们都活了下来,但没有人相信你们的经历,你们的故事变成了一则传说,你过上了正常的生活。";
								printsetence(text,25);
								cout<<endl<<endl;
								system("pause");
								system("cls");
								text ="非常感谢你的游玩";
								printsetence(text,40);
								cout<<endl;
								text ="本游戏已完结,作者:CH萧培跟";
								printsetence(text,50);
								cout<<endl;
							}
							else
							{
								text="你们去了那里,却发现直升机已经报废";
								printsetence(text,25);
								cout<<endl<<endl;
								text =" 1 返回			2 继续查找 ";
								printsetence(text,20);
								cout<<endl;
								cin>>a;
								system("cls");
								if(a==1)
								{
									fanhui:
									text="前线伤亡惨重,几乎没人了,怪物包围了你们";
									printsetence(text,25);
									cout<<endl<<endl;
									fu:
									text =" 1 反抗			2 求救 ";
									printsetence(text,20);
									cout<<endl;
									cin>>a;
									system("cls");
									if(a!=2)
									{
										fan:
											text="你们拼死反抗,但远处出现了一个个巨大的身影,大到冲破天际,你感到了绝望,一根根飞刺飞来,你们死了...";
											printsetence(text,25);
											cout<<endl<<endl;
											text="故事到这里也就结束了。尽管你在最后想拼搏到底,试图力挽狂澜,但是你失败了。你死的很悲壮,你尽力了。";
											printsetence(text,25);
											cout<<endl<<endl;
											system("pause");
											system("cls");
											text ="非常感谢你的游玩";
											printsetence(text,40);
											cout<<endl;
											text ="本游戏已完结,作者:CH萧培跟";
											printsetence(text,50);
											cout<<endl;
									}
									if(a==2)
									{
										text="你试图呼救,但是,没有任何人应答,现在整个基地只有你们队还活着";
										printsetence(text,25);
										cout<<endl<<endl;
										text =" 1 反抗			2 自杀 ";
										printsetence(text,20);
										cout<<endl;
										cin>>a;
										system("cls");
										if(a==2)
										{
											text="你自杀了,在生命的最后一刻...你笑了,感叹道,这个世界多么美好啊";
											printsetence(text,25);
											cout<<endl<<endl;
											system("pause");
											system("cls");
											text ="非常感谢你的游玩";
											printsetence(text,40);
											cout<<endl;
											text ="本游戏已完结,作者:CH萧培跟";
											printsetence(text,50);
											cout<<endl;
										}
										else goto fan;
									}
								}
								text="你们继续查找,但是全是报废的";
								printsetence(text,25);
								cout<<endl<<endl;
								text =" 1 返回			2 返回(你别无选择) ";
								printsetence(text,20);
								cout<<endl;
								cin>>a;
								system("cls");
								goto fanhui;
							}
						}
						else
						{
							text="你们撤了回去,来到了中心,你们看到了一台小型机甲在地上,驾驶员已死,但机甲貌似还可以用";
							printsetence(text,25);
							cout<<endl<<endl;
							text =" 1 过去查看			2 过去查看(你别无选择) ";
							printsetence(text,20);
							cout<<endl;
							cin>>a;
							system("cls");
							text="你登上了机甲,还能用,而且还搭载了一把重型榴弹发射器";
							printsetence(text,25);
							cout<<endl<<endl;
							text =" 1 返回前线			2 四处查看 ";
							printsetence(text,20);
							cout<<endl;
							if(a==1)
							{
								text="前线伤亡惨重,几乎没人了,怪物包围了你们";
								printsetence(text,25);
								cout<<endl<<endl;
								goto fu;
							}
							else
							{
								text="周围只剩下尸体,怪物包围了你们";
								printsetence(text,25);
								cout<<endl<<endl;
								goto fu;
							}
						}
					}
				}
				else
				{
					text="你们躲开了";
					printsetence(text,25);
					cout<<endl<<endl;
					goto only;
				}
	return 1;
} 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值