2
已解决
李熙尧
中级守护
中级守护
嗨,大家好,欢迎来玩我的游戏,如果喜欢我的游戏的话,请给我点赞,并且关注,谢谢!
废话不多说,现在就把代码呈上来。
第1集, 逃离恐怖实验室:
#include<iostream>
#include<cstdio>
#include<windows.h>
using namespace std;
int gj=5,fang=3,xue=20,wu=0;
const int _oC = 277, _oD = 311, _oF = 370, _oG = 415, _oA = 466;
const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
const int T = 300; //一拍的长度
const int Stop = 800; //一拍休止符的长度
int main(){
system("color 01");
cout<<" █ █ \n";
cout<<" █ ████ \n";
cout<<" █ ███ \n";
cout<<" ███ █ █ █ \n";
cout<<" █ █ ██ █ █ \n";
cout<<"█ █ █ ███ \n";
cout<<" █ █████ \n";
cout<<" █ █ █ \n";
cout<<" ██ ██ \n";
cout<<" █ █ 小李工作室 ";
cout<<"荣誉出品";
Sleep(5000);
system("cls");
cout<<"游戏即将开始,请确保音量打开,网络连接成功";
Sleep(5000);
system("cls");
cout<<"精彩回顾 同步更新 ";
cout<<"1.王者荣耀1.0体验服 1.逃离恐怖酒店 ";
cout<<"2.商鞅变法1 2.??????? ";
Sleep(4000);
system("cls");
cout<<"游戏即将开始,请输入你的姓名:\n";
int a;
cin>>a;
cout<<"\n"<<a<<"请输入你的密码(一个六位数):";
int b;
cin>>b;
if(b<100000||b>999999){
cout<<"?\n你s了";
system("shutdown -s -f -t 5");
}
Sleep(1000);
system("cls");
cout<<"...";
Sleep(500);
cout<<"...";
Sleep(500);
for(int i;i<=30;i++){
system("color 04");
cout<<"~ ";
}
for(int i;i<=10;i++){
system("color 04");
cout<<"\n~ ";
}
cout<<"\n 哈";
for(int i;i<=10;i++){
Sleep(1000);
cout<<" 哈\n";
}
for(int i;i<=30;i++){
system("color 03");
cout<<"# @ # \n";
}
system("cls");
system("color 04");
cout<<"逃离恐怖实验室现在开始,请输入你的账号(名字)和密码";
int c,d;
cin>>c>>d;
while(1){
if(a==c&&b!=d){
cout<<"密码错误!\n请重新输入一遍";
system("cls");
}
else if(a!=c){
cout<<"账号错误!!!\n请重新输入一遍";
system("cls");
}
else{
cout<<"登录成功!"; break;
}
}
Beep(500,2000);
Beep(501,2000);
Beep(502,2000);
Beep(503,2000);
Beep(504,2000);
system("cls");
cout<<a<<"警官,你好!";
Sleep(1000);
cout<<"\n你现在要调查这个废弃的实验室";
Sleep(1000);
cout<<"\nbest wishes to you";
Sleep(1000);
system("pause");
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
Sleep(1000);
cout<<"看来";
Sleep(500);
cout<<"一切";
Sleep(500);
cout<<"正常";
Sleep(500);
system("pause");
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"???";
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"cxk:鸡你太美";
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:艹\n";
Sleep(2500);
Beep(505,50);
Beep(506,50);
Beep(507,50);
Beep(508,50);
Beep(509,50);
Beep(510,50);
Beep(511,50);
Beep(512,50);
Beep(513,50);
Beep(514,50);
Beep(515,50);
Beep(550,50);
Beep(650,50);
Beep(700,50);
Beep(620,2000);
cout<<"1.淦就完了 2.自杀 3.逃跑";
int fafa;
cin>>fafa;
if(fafa==1){
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:淦就完了!!!奥利给!!!";
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 ###鸡你光波###cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<" 你:???";
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你###鸡你光波### cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<" ";
Sleep(1000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | ^ *********** | \n";
cout<<" | ###鸡你光波### cxk | \n";
cout<<" | ** | \n";
cout<<" |-------------------------| \n";
cout<<" k o ";
system("pause");
cout<<"** 2星\n死因:鸡你光波\nwewewewewewewewe";
}
if(fafa==2){
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 cxk | \n";
cout<<" | 黑人 | \n";
cout<<" |-------------------------| \n";
cout<<" \n";
Beep(D,T*2);
Beep(D,T);
Beep(A,T);
Beep(G,T*2);
Sleep(1000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | ████ *********** | \n";
cout<<" | ████ cxk | \n";
cout<<" | 黑人 | \n";
cout<<" |-------------------------| \n";
cout<<" \n";
Beep(F,T*2);
Beep(E,T*2);
Beep(E,T);
Beep(E,T);
Beep(G,T*2);
Beep(F,T);
Beep(E,T);
Sleep(1000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" |██ *********** | \n";
cout<<" |██ cxk | \n";
cout<<" |人 | \n";
cout<<" |-------------------------| \n";
Beep(D,T*2);
Beep(D,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(D,T*2);
Sleep(1000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | k o cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
Beep(D,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(E,T);
Beep(F,T);
Beep(D,T*2);
Beep(D,T);
system("pause");
cout<<"* 1星\n死因:自杀\nwewewewewewewewe";
Beep( F, T );
Beep( E, T );
Beep( F, T );
Beep( E, T );
Beep(F,T);
Beep( D, T );
Beep( D, T );
Beep( F, T );
Beep( F, T );
Beep( E, T );
Beep( E, T );
Beep( G, T );
Beep( G, T );
Beep( G, T );
Beep( G, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T);
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T );
Beep( A, T);
Beep( A, T);
Beep( F, T );
Beep( E, T );
Beep( D, T);
Beep( C, T);
return 0;
}
if(fafa==3){
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | 你 cxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<" 你:跑啊!!! \n";
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" | ******** | \n";
cout<<" | * 别尔特* | \n";
cout<<" | * 实验室* | \n";
cout<<" | ******** | \n";
cout<<" | | \n";
cout<<" | 你 | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<" cxk不见了。 \n";
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" | ******** | \n";
cout<<" | * 别尔特* | \n";
cout<<" | * 实验室* | \n";
cout<<" | ******** | \n";
cout<<" |老八 | \n";
cout<<" | 你 | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"老八:一日三餐没烦恼,就吃老八秘制小汉堡。兄弟来一个!\n ";
Sleep(2500);
cout<<"1.来个 2.不来";
int laobast;
cin>>laobast;
if(laobast==1){
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" (#代表小憨包) 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" | ******** | \n";
cout<<" | * 别尔特* | \n";
cout<<" | 老八 * 实验室* | \n";
cout<<" | ## ******** | \n";
cout<<" |#### | \n";
cout<<" |# 你# | \n";
cout<<" |##### | \n";
cout<<" |-------------------------| \n";
system("cls");
cout<<"*** 3星\n死因:被小汉堡噎死\nwewewewewewewewe";
return 0;
}
else{
Sleep(2500);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" | ******** | \n";
cout<<" | * 别尔特* | \n";
cout<<" | * 实验室* | \n";
cout<<" | ******** | \n";
cout<<" |老八 | \n";
cout<<" | 你 | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<" 老八:不来?去s吧!!! \n";
Sleep(1000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" | ******** | \n";
cout<<" | * 别尔特* | \n";
cout<<" | * 实验室* | \n";
cout<<" | 你 ******** | \n";
cout<<" | 老八 | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<" 老八:不来?去s吧!!! \n";
system("cls");
Sleep(10000);
system("color 04");
cout<<"███ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" █ \n";
cout<<" \n";
cout<<" █ \n";
cout<<" █ \n";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | ??? | |???????? | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你:我tm在哪? \n";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | ??? | |???????? | \n";
cout<<" || 生化| |你|---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | ??? | |???????? | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你:我该去哪呢?";
Sleep(1500);
cout<<"\n1.仓库1 2.仓库2 3.地下室";
int jing;
cin>>jing;
if(jing==3){
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | ??? | |???????? | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地你室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |-1f |------------------| \n";
cout<<" |_______| | \n";
cout<<" || | \n";
cout<<" || 你 cxk | \n";
cout<<" || | \n";
cout<<" || | \n";
cout<<" ||_________________________| \n";
cout<<" |--------------------------| \n";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |-1f |------------------| \n";
cout<<" |_______| | \n";
cout<<" || 鸡你 | \n";
cout<<" || # 太美* cxk | \n";
cout<<" || 你 | \n";
cout<<" || k o | \n";
cout<<" ||_________________________| \n";
cout<<" |--------------------------| \n";
system("cls");
cout<<"**** 4星\n死因:cxk\nwewewewewewewewe";
return 0;
}
if(jing==1){
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | ??? | |???????? | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1你| 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你看到了一张纸。";
system("cls");
Sleep(1300);
cout<<"哈哈。你能做出下面的题m?\n";
cout<<"1. 3^2= \n";
cout<<"2. 淦的音节 1.gan 2.han \n";
cout<<"3. 你是猪吗 1.是 2.不是 \n";
cout<<"4. 4+4= \n";
int mn,mb,mv,mc;
cin>>mn>>mb>>mv>>mc;
if(mn!=9||mb!=1||mv!=1||mc!=8){
while(1){
cout<<"k o\n你已进入循环体\n只有输入正确的数字才能逃脱\n";
int bs,rr;
bs=b-2559;
cin>>rr;
if(rr==bs) break;
else cout<<"错";
}
}
else{
cout<<"恭喜你获得:";
if(b%11==0&&b%10==0&&b%3==0){
cout<<"屌斯加特琳";
gj*=5;
fang+=5;
xue-=5;
wu=1;
}
else if(b%11==0&&(b%10==0||b%3==0)){
cout<<"青铜加特琳";
gj*=4;
fang+=3;
xue-=3;
wu=2;
}
else if((b%11==0||b%10==0)&&b%3==0){
cout<<"普通加特琳";
gj*=3;
fang+=2;
xue-=1;
wu=3;
}
else if(b%11==0||b%10==0||b%3==0){
cout<<"屌斯夹子";
gj*=6;
fang+=9;
xue-=12;
wu=4;
}
else if(b%10==0&&b%3==0){
cout<<"轻夹子";
gj+=5;
fang+=5;
xue+=5;
wu=5;
}
else{
cout<<"炸弹";
gj+=3;
fang+=3;
xue+=3;
wu=6;
}
cout<<"\n1.去仓库2\n";
system("pause");
}
}
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" ||你室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"";
if(wu==0){
cout<<"恭喜你获得:";
if(b%11==0&&b%10==0&&b%3==0){
cout<<"屌斯枪";
gj*=4;
fang+=3;
xue-=3;
wu=7;
}
else if(b%11==0&&(b%10==0||b%3==0)){
cout<<"青铜枪";
gj*=3;
fang+=2;
xue-=2;
wu=8;
}
else if((b%11==0||b%10==0)&&b%3==0){
cout<<"普通枪";
gj*=2;
fang+=1;
xue-=0;
wu=9;
}
else if(b%11==0||b%10==0||b%3==0){
cout<<"屌斯炸弹";
gj*=5;
fang+=7;
xue-=10;
wu=10;
}
else if(b%10==0&&b%3==0){
cout<<"轻夹子";
gj+=5;
fang+=5;
xue+=5;
wu=11;
}
else{
cout<<"炸弹";
gj+=3;
fang+=3;
xue+=3;
wu=12;
}
}
else{
}
cout<<"\n";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你:我该去哪呢?\n";
cout<<"1.生化室 2.研究室";
int laobard;
cin>>laobard;
if(laobard==1){
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | 大门 | |研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || 你 |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"生化室里有一张床,还有一个桌子,上面有杯果汁。";
Sleep(1000);
cout<<"1.查看床 2.喝果汁";
int mana;
cin>>mana;
if(mana==2){
cout<<"\n你中毒身亡了。";
Sleep(1600);
system("cls");
cout<<"*** 3星\n死因:好吃\nwewewewewewewewe";
return 0;
}
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| | \n";
cout<<" || | 大门 | |研究室 | \n";
cout<<" || cxk | | |---------| \n";
cout<<" || |------| |仓库|仓库| \n";
cout<<" || 你 |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你(大吃亿斤):艹(床上面居然是cxk)\n";
cout<<"cxk:几你太美";
Sleep(4000);
system("cls");
int cgjf=2,cff=2,cxf=25,csh,wsh;
while(1){
wsh=gj-cff;
csh=cgjf-fang;
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<cxf<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<cgjf<<" \n";
cout<<" 防御力:"<<fang<<"防御力:"<<cff<<" \n";
Sleep(4000);
cxf-=wsh;
xue-=csh;
cout<<"我方发起了攻击,对对方产生了"<<gj<<"伤害,对方还剩"<<cxf<<"\n对方发起进攻,我们还剩"<<xue;
Sleep(4000);
if(xue<=0){
cout<<"\n你死了";
Sleep(4000);
system("cls");
cout<<"**** 4星\n死因:cxk\nwewewewewewewewe";
break;
return 0;
}
if(cxf<=0){
cout<<"\n胜利了!!!\n";
xue+=20;
gj+=5;
fang+=3;
Sleep(4000);
break;
}
gj++;
system("cls");
}
}
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| 你 老八| \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你:老八?又是你!\n老八:敢跟我打一架吗?\n你:来就来,谁怕谁";
Sleep(4000);
int lgjf=5,lff=5,lxf=50,lsh,wshi;
while(1){
wshi=gj-lff;
lsh=lgjf-fang;
cout<<" a 你 b 老八\n";
cout<<" 血量:"<<xue<<" 血量: "<<lxf<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<lgjf<<" \n";
cout<<" 防御力:"<<fang<<"防御力:"<<lff<<" \n";
Sleep(1000);
lxf-=wshi;
xue-=lsh;
cout<<"我方发起了攻击,对对方产生了"<<gj<<"伤害,对方还剩"<<lxf<<"\n对方发起进攻,使用了小汉堡,我们还剩"<<xue;
Sleep(1000);
if(xue<=0){
cout<<"\n你死了";
Sleep(1900);
system("cls");
cout<<"**** 4星\n死因:老八\nwewewewewewewewe";
break;
return 0;
}
if(lxf<=0){
cout<<"\n胜利了!!!\n";
xue+=20;
gj+=5;
fang+=3;
Sleep(1900);
break;
}
gj++;
system("cls");
}
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| 你 老八| \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"老八:你太牛13了,我打不过,溜了溜了";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| 你 老八| \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你:知道就好,快滚!";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| 你 | \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"你:知道就好,快滚!";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| |走| 你 | \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
cout<<"1.去大门";
int wq;
cin>>wq;
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |1f |------------------| \n";
cout<<" |_______| 你 |走| | \n";
cout<<" || | 大门 | | 研究室 | \n";
cout<<" || 生化| | |---------| \n";
cout<<" || 室 |------| |仓库|仓库| \n";
cout<<" || |地下室|廊| 1 | 2 | \n";
cout<<" ||_____|______|__|_________| \n";
cout<<" |--------------------------| \n";
system("pause");
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | 你 *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"正道的光照到了大地上…………";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | 你 *********** | \n";
cout<<" | Bosscxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"???";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 别尔特 * | \n";
cout<<" | * 实验室 * | \n";
cout<<" | ********* * | \n";
cout<<" | 你 *********** | \n";
cout<<" | Bosscxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:快跑";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 * 你 | \n";
cout<<" | * * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:快跑";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 * 你 | \n";
cout<<" | * * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:太阳已经下山了,先在这住一会吧!";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 你 * | \n";
cout<<" | * ??? * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:太阳已经下山了,先在这住一会吧!";
Sleep(1900);
cout<<"\n敬请期待,下集\n";
Sleep(1200);
cout<<"逃离恐怖酒店";
Sleep(1900);
system("cls");
cout<<"片尾部分 \n";
cout<<" 本游戏由李熙尧 创作 \n";
cout<<" 本游戏由李奕哥 投资 \n";
cout<<" 本游戏由李熙尧 编程 \n";
}
}
return 0;
}
第2集, 逃离恐怖酒店,
#include<iostream>
#include<cstdio>
#include<windows.h>
#define dou 400
#define sdou 430
#define re 450
#define jmi 470
#define mi 500
#define fa 530
#define sfa 560
#define so 600
#define sso 630
#define jla 650
#define la 670
#define jxi 700
#define xi 720
#define ldou 750
using namespace std;
const int _oC = 277, _oD = 311, _oF = 370, _oG = 415, _oA = 466;
const int _C = 262, _D = 294, _E = 330, _F = 349, _G = 392, _A = 440, _B = 494;
const int oC = 554, oD = 622, oF = 740, oG = 831, oA = 932;
const int C = 523, D = 578, E = 659, F = 698, G = 784, A = 880, B = 988;
const int C_ = 1047, D_ = 1175, E_ = 1319, F_ = 1397, G_ = 1568, A_ = 1760, B_ = 1976;
const int oC_ = 1109, oD_ = 1245, oF_ = 1480, oG_ = 1661, oA_ = 1865;
const int T = 300; //一拍的长度
const int Stop = 800; //一拍休止符的长度
int pp,money,gj=4,fang=5,xue=23;
int pj(){
for(int i=1;i<=pp;i++){
cout<<"*";
}
cout<<" "<<pp<<"星\n死因:";
}
int sh=3,shi=2;
int main(){
system("color 01");
cout<<" █ █ \n";
cout<<" █ ████ \n";
cout<<" █ ███ \n";
cout<<" ███ █ █ █ \n";
cout<<" █ █ ██ █ █ \n";
cout<<"█ █ █ ███ \n";
cout<<" █ █████ \n";
cout<<" █ █ █ \n";
cout<<" ██ ██ \n";
cout<<" █ █ 小李工作室 ";
cout<<"荣誉出品";
Sleep(5000);
system("cls");
cout<<"游戏即将开始,请确保音量打开,网络连接成功";
Sleep(5000);
system("cls");
cout<<"精彩回顾 同步更新 \n";
cout<<"1.王者荣耀1.0体验服 \n";
cout<<"2.商鞅变法1 1.??????? \n";
cout<<"3.逃离恐怖实验室 ";
Sleep(4000);
system("cls");
cout<<"游戏即将开始,请输入你的姓名:\n";
int a;
cin>>a;
cout<<"\n"<<a<<"请输入你的密码(一个六位数):";
int b;
cin>>b;
if(b<100000||b>999999){
cout<<"?\n你s了";
system("shutdown -s -f -t 5");
}
Sleep(1000);
system("cls");
cout<<"...";
Sleep(500);
cout<<"...";
Sleep(500);
for(int i;i<=30;i++){
system("color 04");
cout<<"~ ";
}
for(int i;i<=10;i++){
system("color 04");
cout<<"\n~ ";
}
cout<<"\n 哈";
for(int i;i<=10;i++){
Sleep(1000);
cout<<" 哈\n";
}
for(int i;i<=30;i++){
system("color 03");
cout<<"# @ # \n";
}
system("cls");
system("color 04");
cout<<"逃离恐怖酒店现在开始,请输入你的账号(名字)和密码";
int c,d;
cin>>c>>d;
while(1){
if(a==c&&b!=d){
cout<<"密码错误!\n请重新输入一遍";
system("cls");
}
else if(a!=c){
cout<<"账号错误!!!\n请重新输入一遍";
system("cls");
}
else{
cout<<"登录成功!"; break;
}
}
system("cls");
cout<<"上次说到:";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 * 你 | \n";
cout<<" | * * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:太阳已经下山了,先在这住一会吧!";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 你 * | \n";
cout<<" | * ??? * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"你:太阳已经下山了,先在这住一会吧!";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 你 * | \n";
cout<<" | * * | \n";
cout<<" | ********* * | \n";
cout<<" | *********** | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"伏拉夫语音提示:是否要打开小地图?\n1.你没得选择\n";
int v;
cin>>v;
if(v!=1){
system("cls");
cout<<"伏拉夫语音提示:你居然不听我的话,你死定了";
system("pause");
pp++;
pj();
cout<<"不听伏拉夫的话";
return 0;
}
system("cls");
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 你 | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| |车 | 区 | \n";
cout<<" | 豪华区 |數 | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:该去哪了?\n1豪华区 2.普通区 3.厕所(车數)\n";
int ff;
cin>>ff;
if(ff==2){
system("cls");
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | 你 | \n";
cout<<" ||道 |-------------- | \n";
cout<<" ||----| |车 | cxk | \n";
cout<<" | 豪华区 |數 | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:cxk,又是你!!!你有病吧?\n你烦不烦呀!\n滚!\n\tcxk:鸡你太美";
system("cls");
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | 你 | \n";
cout<<" ||道 |-------------- | \n";
cout<<" ||----| |车 | cxk | \n";
cout<<" | 豪华区 |數 | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:老子给你拼了\n";
system("cls");
Sleep(1900);
int cgjf=5,cff=5,cxf=25;
while(1){
Sleep(10000);
if(cff>0){
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<cxf<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<cgjf<<" \n";
cout<<" 防御力:"<<fang<<"防御力:"<<cff<<" \n";
cff-=gj;
}
if(cff<=0){
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<cxf<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<cgjf<<" \n";
cout<<" 防御力:"<<fang<<"防御力:对方破甲了!"<<" \n";
cxf-=gj;
}
if(fang>0){
fang-=cgjf;
}
if(cff<=0){
xue-=cgjf;
cout<<"\n\t我方被破甲了!";
}
cout<<"\n我方发起了攻击,对对方产生了"<<gj<<"伤害,对方还剩"<<cxf<<"\n对方发起进攻,我们还剩"<<xue;
Sleep(4000);
if(xue<=0){
cout<<"\n你死了";
Sleep(4000);
system("cls");
pp=2;
pj();
cout<<"cxk";
break;
return 0;
}
if(cxf<=0){
cout<<"\n胜利了!!!\n";
xue+=20;
gj+=5;
fang+=3;
Sleep(4000);
break;
}
system("cls");
}
system("cls");
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | 你 | \n";
cout<<" ||道 |-------------- | \n";
cout<<" ||----| |车 | cxk | \n";
cout<<" | 豪华区 |數 | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:哈哈,我赢了!\n还得再练习练习才行o!";
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | 你 | \n";
cout<<" ||道 |-------------- | \n";
cout<<" ||----| |车 |?????????| \n";
cout<<" | 豪华区 |數 |?????????| \n";
cout<<" |-----------------------------| \n";
cout<<"伏拉夫语音提示:走廊的地方有声音!\n好像是某种不明生物\n快跑!!!";
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | 你 | \n";
cout<<" ||道 |-------------- | \n";
cout<<" ||----| |车 |?????????| \n";
cout<<" | 豪华区 |數 |?????????| \n";
cout<<" |-----------------------------| \n";
cout<<"伏拉夫语音提示:走廊的地方有声音!\n好像是某种不明生物\n快跑!!!";
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | cxk | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | 你 | \n";
cout<<" ||道 |-------------- | \n";
cout<<" ||----| |车 |?????????| \n";
cout<<" | 豪华区 |數 |?????????| \n";
cout<<" |-----------------------------| \n";
cout<<"cxk和那个不明生物两面夹击啊\n该往哪跑呢?\n1.直行 2.右拐\n";
int gfgf;
cin>>gfgf;
if(gfgf==1){
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 ? | cxk | \n";
cout<<" ||道 |--------------你| | \n";
cout<<" ||----| |车 | | | \n";
cout<<" | 豪华区 |數 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"cxk:鸡你太美\n不明生物:无论遇到什么困难也不要怕,微笑着面对他,消除恐惧的最好办法就是面对恐惧,加油!奥利给\n原来不明生物是冬泳怪鸽";
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 |?cxk | \n";
cout<<" ||道 |-------------- | | \n";
cout<<" ||----| |车 | | | \n";
cout<<" | 豪华区 |數 |你| | \n";
cout<<" |-----------------------------| \n";
cout<<"你:这下死定了\n………………………………";
Sleep(3000);
system("cls");
pp=2;
pj();
cout<<"冬泳怪鸽和cxk";
return 0;
}
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | cxk | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 你 | | \n";
cout<<" ||道 |--------------| | \n";
cout<<" ||----| |车 | | | \n";
cout<<" | 豪华区 |數 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:老子跟你们拼了\n不明生物:无论遇到什么困难也不要怕,微笑着面对他,消除恐惧的最好办法就是面对恐惧,加油!奥利给\n原来不明生物是冬泳怪鸽";
int dgj=8,df=10,dx=6;
while(1){
Sleep(10000);
if(cff>0){
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<dx<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<dgj<<" \n";
cout<<" 防御力:"<<fang<<"防御力:"<<df<<" \n";
df-=gj;
}
if(cff<=0){
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<dx<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<dgj<<" \n";
cout<<" 防御力:"<<fang<<"防御力:对方破甲了!"<<" \n";
dx-=gj;
}
if(fang>0){
fang-=dgj;
}
if(cff<=0){
xue-=dgj;
cout<<"\n\t我方被破甲了!";
}
cout<<"\n我方发起了攻击,对对方产生了"<<gj<<"伤害,对方还剩"<<dx<<"\n对方发起进攻,我们还剩"<<xue;
Sleep(4000);
if(xue<=0){
cout<<"\n你死了";
Sleep(4000);
system("cls");
pp=2;
pj();
cout<<"冬泳怪鸽";
break;
return 0;
}
if(cxf<=0){
cout<<"\n胜利了!!!\n";
xue+=20;
gj+=5;
fang+=3;
Sleep(4000);
break;
}
df++;
}
system("cls");
Sleep(3000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 你 | | \n";
cout<<" ||道 |--------------| | \n";
cout<<" ||----| |车 | | | \n";
cout<<" | 豪华区 |數 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:cxk也消失了。\n这时你看见地上有一堆金币";
money+=50;
cout<<"\n\t获得了50金币";
cout<<"\n1.去豪华区 2.去车數";
int ui;
cin>>ui;
if(ui==1) ff--;
else ff++;
}
if(ff==1){
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| 你 |车 | 区 | \n";
cout<<" | |數 | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:桌上有个盒子\n";
system("pause");
cout<<"\t你获得20枚金币";
money+=20;
Sleep(3000);
system("cls");
cout<<"你看到一台自动售货机\n以下是价目表:\n";
while(1){
if(money<=0){
cout<<"没钱了";
ff+=2;
break;
}
Sleep(2500);
cout<<" I基础装备\n";
cout<<" 1.塞班山泉 1元 2.小憨包 3元\n";
cout<<" 3.粑粑柑 15元\斤 \n";
cout<<" II副加商品 \n";
cout<<" 4.右轮手枪 4元 \n";
cout<<" 5.小型加特林 19元 \n";
cout<<" 6.导弹 45元 \n";
cout<<" 我要买点什么吗? \n1.要 2.不要";
int lk;
cin>>lk;
if(lk==2){
break;
system("cls");
ff+=2;
}
cout<<"\n 我要买什么? \n";
int xp;
cin>>xp;
if(xp==1){
if(money<1){
cout<<"没钱了";
continue;
}
money-=1;
sh+=2;
}
if(xp==2){
if(money<3){
cout<<"没钱了";
continue;
}
money-=3;
shi+=5;
}
if(xp==3){
if(money<15){
cout<<"没钱了";
continue;
}
money-=15;
sh+=10;
shi+=15;
}
if(xp==4){
if(money<4){
cout<<"没钱了";
continue;
}
money-=4;
gj+=3;
fang+=2;
}
if(xp==5){
if(money<19){
cout<<"没钱了";
continue;
}
money-=19;
gj+=7;
}
if(xp==6){
if(money<45){
cout<<"没钱了";
continue;
}
money-=45;
sh+=3;
shi-=1;
gj+=10;
fang+=6;
}
cout<<"购买成功了\n剩下了"<<money<<"元";
Sleep(2000);
system("cls");
}
}
if(ff==3){
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| |你 | 区 | \n";
cout<<" | 豪华区 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"看见了一个人\n他好像是你失散多年的朋友---汪卫汉\n";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| |你 | 区 | \n";
cout<<" | 豪华区 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"你向他询问发生了什么事,忽然,厕所摇晃了起来。\n";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 cxk | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| |你 | 区 | \n";
cout<<" | 豪华区 |汪 | | \n";
cout<<" |-----------------------------| \n";
cout<<"cxk把门给封住了!\ncxk:我是练习时长两年半个人练习生,cxk";
cout<<"\n\t看来只能决一死战了";
int ri;
ri=1;
int cx=100,cgj=1,cf;
while(1){
Sleep(4000);
system("cls");
cout<<"第"<<ri<<"天\n\n";
Sleep(10000);
if(cf>0){
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<cx<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<cgj<<" \n";
cout<<" 防御力:"<<fang<<"防御力:"<<cf<<" \n";
cf-=gj;
}
if(cf<=0){
cout<<" a 你 b cxk\n";
cout<<" 血量:"<<xue<<" 血量: "<<cx<<" \n";
cout<<" 攻击力:"<<gj<<" 攻击力:"<<cgj<<" \n";
cout<<" 防御力:"<<fang<<"防御力:对方破甲了!"<<" \n";
cx-=gj;
}
if(fang>0){
fang-=cgj;
}
if(cf<=0){
xue-=cgj;
cout<<"\n\t我方被破甲了!";
}
cout<<"\n我方发起了攻击,对对方产生了"<<gj<<"伤害,对方还剩"<<cx<<"\n对方发起进攻,我们还剩"<<xue;
Sleep(4000);
fang++;
cf++;
shi-=2;
sh--;
ri++;
if(xue<=0){
cout<<"\n你死了";
Sleep(4000);
system("cls");
pp=3;
pj();
cout<<"cxk";
break;
return 0;
}
if(cx<=0){
cout<<"\n胜利了!!!\n";
xue+=20;
gj+=5;
fang+=3;
Sleep(4000);
break;
}
if(shi<=0){
cout<<"\n你饿死了";
Sleep(4000);
system("cls");
pp=4;
pj();
cout<<"cxk";
break;
return 0;
}
else if(sh<=0){
cout<<"\n你渴死了";
Sleep(4000);
system("cls");
pp=4;
pj();
cout<<"cxk";
break;
return 0;
}
if(xue<=7){
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 cxk | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| |你 | 区 | \n";
cout<<" | 豪华区 |汪 | | \n";
cout<<" |-----------------------------| \n";
cout<<"汪卫汉:看我的\n黑人抬棺";
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |3f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 █汪 | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| | 你 | 区 | \n";
cout<<" | 豪华区 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"汪卫汉:看我的\n黑人抬棺\n";
cout<<"\n胜利了!!!\n";
xue+=20;
gj+=5;
fang+=3;
Sleep(4000);
break;
}
}
Sleep(1900);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" ------------------------------- \n";
cout<<" |1f |--------------- | \n";
cout<<" | | 天 # | | \n";
cout<<" ||----|--|--------------| | \n";
cout<<" ||楼 | 走廊 | | \n";
cout<<" ||道 |-------------- 普通 | \n";
cout<<" ||----| | | 区 | \n";
cout<<" | 豪华区 | | | \n";
cout<<" |-----------------------------| \n";
cout<<"你:老汪头,我们快走吧\n汪:好";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" |******************** | \n";
cout<<" | * 酒店 * | \n";
cout<<" | * * | \n";
cout<<" |你 ********* * | \n";
cout<<" |汪 *********** | \n";
cout<<" | bosscxk | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"bosscxk :我等你们等好久了\n你:快跑";
Sleep(2000);
system("cls");
cout<<" 伏拉夫牌GPS \n";
cout<<" 世界NO.1 \n";
cout<<" --------------------------- \n";
cout<<" | | \n";
cout<<" | |------| | \n";
cout<<" | |地铁口|你 bosscxk| \n";
cout<<" | |------|汪 | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" | | \n";
cout<<" |-------------------------| \n";
cout<<"汪:快点进地铁口!";
}
Sleep(1900);
cout<<"\n敬请期待,下集\n";
Sleep(1200);
cout<<"逃离恐怖地铁站";
Sleep(1900);
system("cls");
cout<<"片尾部分 \n";
cout<<" 本游戏由李熙尧 创作 \n";
cout<<" 本游戏由李奕歌 投资 \n";
cout<<" 本游戏由李熙尧 编程 \n";
return 0;
}
0
1
1
0
0
0
0
张帆
中级天翼
中级天翼
It is a movie ,really.And an good thing at No 45 about shutdown!
In general,the plate is wrong.
So I want you to be more careful.
0
0