溯源之惧诺伍德便车----Tracing the Source: Fear of Norwood Hitchhiking
#include<bits/stdc++.h>
#include<windows.h>
#include <conio.h>
using namespace std;
void put(string &text, int interval)
{
int n = text.length();
for (int i=0;i<n;i++)
{
cout<<text[i];
Sleep(interval);
}
return;
}
void sleep()
{
string s="...";
put(s,1000);
Sleep(1000);
system("cls");
Sleep(100);
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<<" ++++++++++++++++_____________ "<<endl;
cout<<" ---------------- ------------ "<<endl;
cout<<" !!!!!!!!~~~~~~~~~~~~~ =========== "<<endl;
Sleep(3000);
system("cls");
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<<"IIIII||||||||||~~`````````` ``````>>>>>>>>>>>>>>>~~~~ "<<endl;
cout<<" "<<endl;
cout<<" ++++ ------------ __ "<<endl;
cout<<" -- --- ------------ "<<endl;
cout<<" !! ~~~~~~ =========== "<<endl;
Sleep(100);
system("cls");
system("color 4f");
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<<" | \ / / / "<<endl;
cout<<" \ / / / "<<endl;
cout<<" \ \_\ / / "<<endl;
cout<<" \ \ / / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
system("color 0f");
Sleep(10);
system("cls");
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<<" ++++++++++++++++_____________ "<<endl;
cout<<" ---------------- ------------ "<<endl;
cout<<" !!!!!!!!~~~~~~~~~~~~~ =========== "<<endl;
Sleep(100);
system("cls");
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<<"IIIII||||||||||~~`````````` ``````>>>>>>>>>>>>>>>~~~~ "<<endl;
cout<<" "<<endl;
cout<<" ++++ ------------ __ "<<endl;
cout<<" -- --- ------------ "<<endl;
cout<<" !! ~~~~~~ =========== "<<endl;
Sleep(1000);
}
void end()
{
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<<" | \ / / / "<<endl;
cout<<" \ / / / "<<endl;
cout<<" \ \_\ / / "<<endl;
cout<<" \ \ / / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
for(int i=1;i<=10;i++){
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
}
return;
}
void speak(){
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<<" | \ / / / "<<endl;
cout<<" \ / / / "<<endl;
cout<<" \ \_\ / / "<<endl;
cout<<" \ \ / / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
Sleep(20);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
system("cls");
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<<" | \ / / / "<<endl;
cout<<" \ / / / "<<endl;
cout<<" \ / "<<endl;
cout<<" \ / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
Sleep(30);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
system("cls");
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<<" | ./ / / "<<endl;
cout<<" \ \ --==-=-0\ \| / "<<endl;
cout<<" \ / "<<endl;
cout<<" \ / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
Sleep(10);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
system("cls");
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<<" | \_______\=.,== / "<<endl;
cout<<" \ _-----___= / / "<<endl;
cout<<" \ \ / / "<<endl;
cout<<" \ / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
Sleep(20);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
system("cls");
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<<" | \_______\=.,== / "<<endl;
cout<<" \ _-----___= / / "<<endl;
cout<<" \ \ - --- / / "<<endl;
cout<<" \ \ = \/ / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
Sleep(10);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
system("cls");
}
void one(){
string wz;
wz="-------------------------------------";
put(wz,50);
wz="溯源之惧-----诺伍德便车";
put(wz,200);
wz="-----------------------------------\n";
put(wz,50);
Sleep(100);
wz="------------------------Tracing the Source: Fear of Norwood Hitchhiking------------------------\n";
put(wz,100);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
wz=" ";
put(wz,0);
Sleep(2000);
wz="第一章";
put(wz,200);
wz=" \n";
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
put(wz,0);
cout<<" 这是我在19随碰到的事 "<<endl;
Sleep(2000);
cout<<" 现在我已经21岁出头了 "<<endl;
Sleep(2000);
cout<<" 时至今日我仍记忆犹新,因为我当时吓得半死 "<<endl;
Sleep(2000);
cout<<" "<<endl;
cout<<" 我以前特别喜欢逛游戏展 "<<endl;
Sleep(2000);
cout<<" 只要有机会不管多远我都会去 "<<endl;
Sleep(2000);
cout<<" 有时我还能在现场见到网友 "<<endl;
Sleep(2000);
cout<<" "<<endl;
cout<<" 最然爸妈不止一次反对我跨州自驾 "<<endl;
Sleep(2000);
cout<<" 但我买不起高价飞机票 "<<endl;
Sleep(2000);
cout<<" "<<endl;
cout<<" 那次的游戏展可谓是精彩纷争 "<<endl;
Sleep(2000);
cout<<" 不过回家的日子很快就到了 "<<endl;
Sleep(2000);
cout<<" 动身不久后,我发现路上堵得要命 "<<endl;
Sleep(2000);
cout<<" "<<endl;
cout<<" 于是我决定绕远路以避开堵塞路段 "<<endl;
Sleep(2000);
cout<<" 车程略微超过12个小时 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="深夜,在车上...\n";
put(wz,150);
Sleep(1000);
wz="这条路似乎很久没人走了,路灯也没有,前方一片黑暗看不到一点光...\n";
put(wz,100);
Sleep(1000);
wz="车外传来撞击声,似乎是轮胎压在石头上了...你选择[A.下去看看 B.不管]\n";
put(wz,100);
Sleep(1000);
string a;
cin>>a;
if(a=="A"||a=="a"){
wz="车停在了路边,整条路都十分死寂,只有你的声音...\n";
put(wz,100);
Sleep(1000);
wz="并没有发现什么...\n";
put(wz,100);
Sleep(1000);
}else{
wz="车继续开着,但周围的环境隐约有点诡异...\n";
put(wz,100);
Sleep(1000);
}
wz="车继续开。\n";
put(wz,100);
Sleep(1000);
wz="手机:叮咚... 输入[Esc]查看消息\n";
put(wz,100);
Sleep(1000);
cin>>a;
if(a=="Esc"){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"***************************"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"***************************"<<endl;
cout<<"*爸爸:开车时小心一点,崔莉*"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"***************************"<<endl;
cout<<"*爸爸:开车时小心一点,崔莉*"<<endl;
cout<<"*妈妈,你必须做你该做的事 *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
}
wz="车继续开。\n";
put(wz,100);
Sleep(1000);
wz="路过一个勘测站...\n";
put(wz,100);
Sleep(1000);
wz="终于来了一辆车,是一辆货车,差点撞上...\n";
put(wz,100);
Sleep(1000);
wz="手机:叮咚... 输入[Esc]查看消息\n";
put(wz,100);
Sleep(1000);
cin>>a;
if(a=="Esc"){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"***************************"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"***************************"<<endl;
cout<<"*爸爸:你到哪了? *"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"*******************************"<<endl;
cout<<"*爸爸:你到哪了? *"<<endl;
cout<<"*崔莉:离目的地还有5小时的车程*"<<endl;
cout<<"* *"<<endl;
cout<<"*******************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"*******************************"<<endl;
cout<<"*爸爸:你到哪了? *"<<endl;
cout<<"*崔莉:离目的地还有5小时的车程*"<<endl;
cout<<"* 崔莉:被堵路上了 *"<<endl;
cout<<"*******************************"<<endl;
cout<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
}
wz="路上有几个电箱...\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 开到一半我才发现我快没汽油了 "<<endl;
Sleep(2000);
cout<<" 我不擅长开车 "<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="手机:叮咚... 输入[Esc]查看消息\n";
put(wz,100);
Sleep(1000);
string s;
cin>>s;
if(s=="Esc"){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"***************************"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"***************************"<<endl;
cout<<"*爸爸:都说了你坐飞机 *"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"*******************************"<<endl;
cout<<"*爸爸:都说了你坐飞机 *"<<endl;
cout<<"*爸爸:崔莉估计你要很晚才回来,*"<<endl;
cout<<"*希望你不要紧 *"<<endl;
cout<<"*******************************"<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
}
wz="前面有一个加油站,看上去是荒废了,实际上亮着灯,应该有人...[A.下去加油 B.继续往前走]\n";
put(wz,100);
Sleep(1000);
cin>>s;
if(!(s=="a"||s=="A")){
wz="车继续走着,但速度明显慢了下来...\n";
put(wz,100);
Sleep(1000);
wz="经过了1个小时\n";
put(wz,100);
Sleep(1000);
wz="车终于没油了...\n";
put(wz,100);
Sleep(1000);
wz="只剩下你一个人在这荒山野岭...\n";
put(wz,100);
Sleep(1000);
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<<" | \ / / / "<<endl;
cout<<" \ / / / "<<endl;
cout<<" \ \_\ / / "<<endl;
cout<<" \ \ / / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
for(int i=1;i<=10;i++){
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
}
}
wz="加油站并没有人...\n";
put(wz,100);
Sleep(1000);
wz="但是好像还能加\n";
put(wz,100);
Sleep(1000);
wz="......\n";
put(wz,1000);
wz="油加满了,车子又能动了\n";
put(wz,100);
Sleep(1000);
wz="继续沿小路向前开去,你突然想起了什么,你要回去吗? [A.Yes B.No]\n";
put(wz,100);
Sleep(1000);
cin>>s;
if(s=="a"||s=="A"){
wz="车子倒了回去\n";
put(wz,100);
Sleep(1000);
wz="那个熟悉的加油站再一次出现在视野里,灯还亮着...\n";
put(wz,100);
Sleep(1000);
wz="加油站的超市也亮着灯,只有一个店员 ...\n";
put(wz,100);
Sleep(1000);
wz="拿了一包还没过期的饼干,给了店员。\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"店员:你一个人上路?"<<endl;
Sleep(2000);
cout<<"崔莉:桥?"<<endl;
Sleep(2000);
cout<<"店员:我说的是诺伍德山谷路,每年这个时候没多少人,朝哪开的。"<<endl;
Sleep(2000);
cout<<"店员:小心点"<<endl;
Sleep(2000);
cout<<"崔莉:你什么意思?"<<endl;
Sleep(2000);
cout<<"店员:在过去的一个世纪中,好多人在哪里失踪"<<endl;
Sleep(2000);
cout<<"店员:去找他们的人也没有回来"<<endl;
Sleep(2000);
cout<<"店员:当地人声称诺伍德山谷的怪物把那些人撕裂,倒挂在树上"<<endl;
Sleep(2000);
cout<<"崔莉:好吧谢谢你"<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="你略微感到有一点害怕,掏出了手机[A.给父母发消息 B.不想让他们担心]\n";
put(wz,100);
Sleep(1000);
string s1;
cin>>s1;
if(s1=="a"||s1=="A"){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"***************************"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"***************************"<<endl;
cout<<"*崔莉:加油站好像有问题,那*"<<endl;
cout<<"*个店员好奇怪 *"<<endl;
cout<<"* *"<<endl;
cout<<"***************************"<<endl;
cout<<endl;
Sleep(2000);
cout<<"****************************"<<endl;
cout<<"*崔莉:加油站好像有问题,那*"<<endl;
cout<<"*个店员好奇怪 *"<<endl;
cout<<"*爸爸:你没事吧 *"<<endl;
cout<<"****************************"<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
Sleep(2000);
}else{
wz="把手机收了回去,但心中还是有点害怕...\n";
put(wz,100);
Sleep(1000);
}
}
wz="车继续开。\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 我必须承认我不是一个合格的司机 "<<endl;
Sleep(2000);
cout<<" 我不擅长开车 "<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
Sleep(1000);
wz="...\n";
put(wz,1000);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 开夜车对于我来说真的很可怕 "<<endl;
Sleep(2000);
cout<<" 至少以前是这样 "<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
Sleep(1000);
wz="道路一直蜿蜒下去,看不到尽头...\n";
put(wz,100);
Sleep(1000);
wz="...\n";
put(wz,100);
Sleep(1000);
wz="四周的环境走了这么久却还是一样...\n";
put(wz,100);
Sleep(1000);
wz="...\n";
put(wz,100);
Sleep(1000);
wz="不知过了几个小时来到了一座立交桥上。\n";
put(wz,100);
Sleep(1000);
wz="桥上隐约闪过一丝黑影...你想下去看看,但恐惧还是让你继续向前开去\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 周围的环境似乎变了 "<<endl;
Sleep(2000);
cout<<" 至少没有那么多树了 "<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
Sleep(1000);
wz="车继续开。\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 那晚有件事非常奇怪 "<<endl;
Sleep(2000);
cout<<" 我看见有两根大木桩挡住了前方的路 "<<endl;
Sleep(2000);
cout<<" 看上去似乎是有人故意放在哪里的 "<<endl;
Sleep(2000);
cout<<" 我以为自己可以开过那些木桩的,但就是开不动 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="似乎只有[A.开车撞过去 B.下去用手挪开]\n";
put(wz,100);
Sleep(1000);
cin>>s;
if(s=="a"||s=="A"){
wz="车狠狠地撞在了木头上,前玻璃都快撞碎了\n";
put(wz,100);
Sleep(1000);
wz="木头虽然挪开了,但似乎车盖上冒起了烟...\n";
put(wz,100);
Sleep(1000);
wz="车开不动了...\n";
put(wz,100);
Sleep(1000);
}else{
wz="木头真的很重...\n";
put(wz,100);
Sleep(1000);
wz="但至少还是挪出了一条路...\n";
put(wz,100);
Sleep(1000);
wz="转回去时车子已经开不动了...\n";
put(wz,100);
Sleep(1000);
}
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 就这样我被困在了荒郊野外,手机还没信号 "<<endl;
Sleep(2000);
cout<<" 即便如此我还是不相信那个店员的一派胡言 "<<endl;
Sleep(2000);
cout<<" 但要说我一点也不慌,那肯定是假的 "<<endl;
Sleep(2000);
cout<<" 我也不想把这件事说得跟恐怖故事一样 "<<endl;
Sleep(2000);
cout<<" 在平生中一直有人告诫我别上陌生人的车 "<<endl;
Sleep(2000);
cout<<" 但是那个时候我别无选择 "<<endl;
Sleep(2000);
cout<<" 我一直担心根本不会有人经过 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="晚上10:23\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 我看见一辆车正在靠近 "<<endl;
Sleep(2000);
cout<<" 纯粹的邪恶 "<<endl;
Sleep(2000);
cout<<" 我并不明白为什么有人想那样丢下别人不管 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="晚上10:43\n";
put(wz,100);
Sleep(1000);
wz="一辆货车从远处驶来\n";
put(wz,100);
Sleep(1000);
wz="它停下了\n";
put(wz,100);
Sleep(1000);
wz="你[A.上去寻救 B.继续等待]\n";
put(wz,100);
Sleep(1000);
cin>>s;
if(s=="B"||s=="b"){
wz="自此以后再也没有车来过...\n";
put(wz,100);
Sleep(1000);
end();
}
wz="上前去,一个熟悉的脑袋从车里探出\n";
put(wz,100);
Sleep(1000);
wz="是店员\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"店员:你是加油站的那个女孩?"<<endl;
Sleep(2000);
cout<<"崔莉:嗨"<<endl;
Sleep(2000);
cout<<"店员:你在外面捣鼓什么呢?"<<endl;
Sleep(2000);
cout<<"崔莉:我的车好像坏了"<<endl;
Sleep(2000);
cout<<"店员:..."<<endl;
Sleep(2000);
cout<<"崔莉:我没法打电话求助,这里没信号,我可以搭个便车吗"<<endl;
Sleep(2000);
cout<<"店员:你朝哪去"<<endl;
Sleep(2000);
cout<<"崔莉:就到最近的车站,我好打电话求助"<<endl;
Sleep(2000);
cout<<"店员:上车吧"<<endl;
Sleep(2000);
cout<<"崔莉:感谢上帝,我要拿自己的东西可以等我一会儿吗"<<endl;
Sleep(2000);
cout<<"店员:搞快点扔到后面就行我等不了多久"<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="...\n";
put(wz,1000);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"店员:快点上车我要发动了 "<<endl;
Sleep(2000);
cout<<"崔莉:我好了"<<endl;
Sleep(2000);
cout<<"店员:终于好了,快点上车,快点!"<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="车上\n";
put(wz,100);
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"店员:所以你是不打算告诉我你的名字和目的地咯? "<<endl;
Sleep(2000);
cout<<"崔莉:可以的话,我不想透露"<<endl;
Sleep(2000);
cout<<"店员:你说什么就是什么吧"<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="...\n";
put(wz,1000);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"店员:您今晚能在小镇的这头碰到我还是挺幸运的"<<endl;
Sleep(2000);
cout<<"店员:我必须说你是一个勇敢的女性"<<endl;
Sleep(2000);
cout<<"崔莉:什么意思"<<endl;
Sleep(2000);
cout<<"店员:你知道你车子是怎么坏的吗?"<<endl;
Sleep(2000);
cout<<"崔莉:我觉得是电池的原因"<<endl;
Sleep(2000);
cout<<"店员:就这?"<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="...\n";
put(wz,1000);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"店员:所以,在加油站加油时我说的话,你怎么看? "<<endl;
Sleep(2000);
cout<<"崔莉:你说的话吓死人了"<<endl;
Sleep(2000);
cout<<"店员:有趣..."<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="......\n";
put(wz,1000);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<"崔莉:所以,你说的话是真的吗"<<endl;
Sleep(2000);
cout<<"店员:什么?那个怪物吗?反正我是从来没见过"<<endl;
Sleep(2000);
cout<<"店员:外面有些东西,我估计你的车子坏了也是他们的杰作..."<<endl;
Sleep(2000);
cout<<"店员:嘿听好了...你得记住一件事..."<<endl;
Sleep(2000);
cout<<"店员:你不惊扰他们,他们也就不会惊扰你..."<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="......\n";
put(wz,1000);
Sleep(1000);
wz="凌晨00:08\n";
put(wz,100);
Sleep(1000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 在与司机几番闲聊过后,我在一家汽车旅馆旁下车了 "<<endl;
Sleep(2000);
cout<<" 很明显这家旅馆是提供公路援助的 "<<endl;
Sleep(2000);
cout<<" 我也正好能在这里歇一会儿 "<<endl;
Sleep(2000);
cout<<" "<<endl;
Sleep(2000);
cout<<" ”外面什么样的人都有,最好留个心眼“司机临走前说了这么一句 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
wz="旅馆办理入住处\n";
put(wz,100);
Sleep(1000);
wz="吧台后站着一个男人\n";
put(wz,100);
Sleep(1000);
wz="从哪个男人身上散发出不想的气息...\n";
put(wz,100);
Sleep(1000);
wz="男人:美女,开房间过夜吗?\n";
put(wz,100);
Sleep(1000);
wz="[A.开一间多少钱? B.呃,对,不过我只呆几个小时]\n";
put(wz,100);
Sleep(1000);
cin>>s;
if(s=="a"||s=="A"){
wz="男人:一间40元,只收现金\n";
put(wz,100);
Sleep(1000);
}else{
wz="男人:住几个小时也是要给钱的哦...\n";
put(wz,100);
Sleep(1000);
wz="男人:一间40元,只收现金\n";
put(wz,100);
Sleep(1000);
}
wz="...\n";
put(wz,100);
Sleep(1000);
wz="男人:9号房,就在那边\n";
put(wz,100);
Sleep(1000);
wz="男人:汤米是服务员,有什么事找他...\n";
put(wz,100);
Sleep(1000);
wz="...\n";
put(wz,100);
Sleep(1000);
wz="男人:最后提醒一下,不要吵醒别的顾客他们可不好惹\n";
put(wz,100);
Sleep(1000);
char mp1[20][200]={" ######### ######### ######### ######### ###############任"
," # No.1 # # No.2 # # No.3 # # No.4 # # #务"
," ######### ######### ######### ######### # # "
," # Check in # "
," ######### # #去"
," # No.9 & w a s d move # #房"
," ######### # #间"
," # service # "
," ######### ######### ######### ######### # center # "
," # No.5 # # No.6 # # No.7 # # No.8 # # # "
," ######### ######### ######### ######### ############### "
};
char mp[20][200]={" ######### ######### ######### ######### ###############任"
," # No.1 # # No.2 # # No.3 # # No.4 # # #务"
," ######### ######### ######### ######### # #"
," # Check in #"
," ######### # #去"
," # No.9 & w a s d move # #房"
," ######### # #间"
," # service #"
," ######### ######### ######### ######### # center #"
," # No.5 # # No.6 # # No.7 # # No.8 # # # "
," ######### ######### ######### ######### ###############"
};
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
struct node1{int x,y;}now;
now.y=5,now.x=100;
for(int i=0;i<11;i++){
cout<<mp[i]<<endl;
}
while(1){
char a=getch();
switch(a){
case 'w':
system("cls");
mp[now.y][now.x]=mp1[now.y][now.x];
now.y--;
if(mp[now.y][now.x]=='&'){
break;
}
mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp[i]<<endl;
}
break;
case 's':
system("cls");
mp[now.y][now.x]=mp1[now.y][now.x];
now.y++;
if(mp[now.y][now.x]=='&'){
break;
}
mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp[i]<<endl;
}
break;
case 'd':
system("cls");
mp[now.y][now.x]=mp1[now.y][now.x];
now.x++;
if(mp[now.y][now.x]=='&'){
break;
}
mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp[i]<<endl;
}
break;
case 'a':
system("cls");
mp[now.y][now.x]=mp1[now.y][now.x];
now.x--;
if(mp[now.y][now.x]=='&'){
break;
}
mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp[i]<<endl;
}
break;
}
if(mp[now.y][now.x]=='&'){
break;
}
}
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x06);
cout<<" 为什么我的房间门是开着的 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
char _mp[20][200]={"##################### TV #############"
,"# W # # # # # # # # # #"
,"# C # # # # #######"
,"# # #Phone#"
,"#######&###### #callc#"
,"# #####################"
,"# # #"
,"# % BED #"
,"# #####$###### # #"
,"# # Door # #####################"
,"###############################################"
};
char _mp1[20][200]={"##################### TV #############"
,"# W # # # # # # # # # #"
,"# C # # # # #######"
,"# # #Phone#"
,"#######&###### #callc#"
,"# #####################"
,"# # #"
,"# % BED #"
,"# #####$###### # #"
,"# # Door # #####################"
,"###############################################"
};
now.y=10,now.x=10;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
system("cls");
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
while(1){
char a=getch();
switch(a){
case 'w':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.y--;
if(_mp[now.y][now.x]=='&'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
case 's':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.y++;
if(_mp[now.y][now.x]=='&'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
case 'd':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.x++;
if(_mp[now.y][now.x]=='&'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
case 'a':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.x--;
if(_mp[now.y][now.x]=='&'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
}
if(_mp[now.y][now.x]=='&'){
for(int i=1;i<=3;i++){
speak();
}
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<<" | \_______\=.,== / "<<endl;
cout<<" \ _-----___= / / "<<endl;
cout<<" \ \ - --- / / "<<endl;
cout<<" \ \ = \/ / "<<endl;
cout<<" _______________________________/ "<<endl;
cout<<" "<<endl;
Sleep(80);
system("color 4f");
Sleep(10);
system("color 0f");
Sleep(10);
wz="汤米:你在这里做什么?\n";
put(wz,100);
Sleep(1000);
wz="崔莉:你吓了我一跳\n";
put(wz,100);
Sleep(1000);
wz="崔莉:你哪位\n";
put(wz,100);
Sleep(1000);
wz="汤米:我是汤米负责这家诺伍德最佳路边旅馆的客房服务\n";
put(wz,100);
Sleep(1000);
wz="崔莉:你在这里干嘛?\n";
put(wz,100);
Sleep(1000);
wz="汤米:嘿嘿嘿...你懂的...打扫卫生...\n";
put(wz,100);
Sleep(1000);
wz="崔莉:前台的人给了我这间房\n";
put(wz,100);
Sleep(1000);
wz="汤米:嘿嘿嘿,在我打扫完这间房间前请你呆在外面...\n";
put(wz,100);
Sleep(1000);
break;
}
}
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 不知过了多久,他终于出来了,床已经被铺好了 "<<endl;
Sleep(2000);
cout<<" 当时已经很晚了,我也很累了,应该去睡觉 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
system("cls");
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
while(1){
char a=getch();
switch(a){
case 'w':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.y--;
if(_mp[now.y][now.x]=='%'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
case 's':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.y++;
if(_mp[now.y][now.x]=='%'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
case 'd':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.x++;
if(_mp[now.y][now.x]=='%'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
case 'a':
system("cls");
_mp[now.y][now.x]=_mp1[now.y][now.x];
now.x--;
if(_mp[now.y][now.x]=='%'){
break;
}
_mp[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<_mp[i]<<endl;
}
break;
}
if(_mp[now.y][now.x]=='%'){
sleep();
break;
}
}
Sleep(2000);
system("cls");
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x04);
cout<<" 疲倦逐渐被焦虑覆盖 "<<endl;
Sleep(2000);
cout<<" 一杯热咖啡也许能帮上忙,我当时这么想 "<<endl;
Sleep(2000);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x07);
char mp2[20][200]={" ######### ######### ######### ########## ######### ###############任"
," # No.1 # # No.2 # # No.3 # # Coffee # # No.4 # # #务"
," ######### ######### ######### # Machine# ######### # #"
," #####$#### # Check in #"
," ######### # #喝"
," # No.9 & w a s d move # #咖"
," ######### # #啡"
," # service #"
," ######### ######### ######### ######### # center #"
," # No.5 # # No.6 # # No.7 # # No.8 # # # "
," ######### ######### ######### ######### ###############"
};
char _mp2[20][200]={" ######### ######### ######### ########## ######### ###############任"
," # No.1 # # No.2 # # No.3 # # Coffee # # No.4 # # #务"
," ######### ######### ######### # Machine# ######### # #"
," #####$#### # Check in #"
," ######### # #喝"
," # No.9 & w a s d move # #咖"
," ######### # #啡"
," # service #"
," ######### ######### ######### ######### # center #"
," # No.5 # # No.6 # # No.7 # # No.8 # # # "
," ######### ######### ######### ######### ###############"
};
system("cls");
for(int i=0;i<11;i++){
cout<<mp2[i]<<endl;
}
while(1){
char a=getch();
switch(a){
case 'w':
system("cls");
mp2[now.y][now.x]=_mp2[now.y][now.x];
now.y--;
if(mp2[now.y][now.x]=='$'){
break;
}
mp2[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp2[i]<<endl;
}
break;
case 's':
system("cls");
mp2[now.y][now.x]=_mp2[now.y][now.x];
now.y++;
if(mp2[now.y][now.x]=='$'){
break;
}
mp2[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp2[i]<<endl;
}
break;
case 'd':
system("cls");
mp2[now.y][now.x]=_mp2[now.y][now.x];
now.x++;
if(mp2[now.y][now.x]=='$'){
break;
}
mp2[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp2[i]<<endl;
}
break;
case 'a':
system("cls");
mp2[now.y][now.x]=_mp2[now.y][now.x];
now.x--;
if(mp2[now.y][now.x]=='$'){
break;
}
mp2[now.y][now.x]='*';
for(int i=0;i<11;i++){
cout<<mp2[i]<<endl;
}
break;
}
if(mp2[now.y][now.x]=='$'){
break;
}
}
}
void begin(){
cout<<"-----------------------------------------溯源之惧-------------------------------------------"<<endl;
cout<<"------------------------------The fear of tracing the source--------------------------------"<<endl;
string wz="此游戏为《溯源之惧》c++改编版\n";
put(wz,50);
Sleep(1000);
system("cls");
wz="注:前面有大量剧情,操作部分在后面\n";
put(wz,50);
Sleep(1000);
system("cls");
one();
}
int main(){
begin();
return 0;
}
本文来自博客园,作者:Arthur_Douglas,转载请注明原文链接:https://www.cnblogs.com/wenzhihao2023/p/17987413