问题标题: 逃离恐怖实验室1.1更新版,你能活多久?:好久没发了(因为复制粘贴),商鞅变法二先缓一会再出。

0
0
已解决
李熙尧
李熙尧
中级守护
中级守护
#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;
}

 


0
已采纳
沙宸安
沙宸安
高级启示者
高级启示者

影视作品再次升级

0
0
孔小川
孔小川
初级光能
初级光能

板块表示:又被遗忘了;

0
我要回答