c++游戏冒险

#include<bits/stdc++.h>
#include<windows.h>
#include<conio.h>
#define s Sleep(800)
using namespace std;
int my_i=20,my_j=21;
int m_c_i=13,m_c_j=76;
int treasure_i=9,treasure_j=67;
int P_t_i=29,P_t_j=88;
int pyramid_i=22,pyramid_j=76,pyramid_k=1;
int School_i=50,School_j=1;
int City_i=98,City_j=1;
int line1=43,line2=35,line3=27,line4=19,line5=11,line6=3;
bool OK1,OK2,OK3,OK4,OK5,OK6;
bool one_thing;
char mapp[100][100]={
    " ==============================================  ------------------------- ",
    "|             |                                ||                         |",
    "|             |                                ||                         |",
    "|              |                               ||                         |",
    "|               |                              ||                         |",
    "|     cave       |                             ||                         |",
    "|                                              ||                         |",
    "|                |                             ||                         |",
    "|               |                              ||                         |",
    "|---------------                               ||                         |",
    "|                                              ||                         |",
    "|                                              ||                         |",
    "|                                              ||                         |",
    "|                                              ||                         |",
    "|                                              ||                         |",
    "|                                              ||w:up                     |",
    "|                                              ||a:left                   |",
    "|                                              ||s:down                   |",
    "|                                              ||d:right                  |",
    "|                                              ||                         |",
    "|                                              ||                         |",
    " ==============================================  ------------------------- "
};
char cave[100][100]={
    "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>  ",
    "Exit                                                                         |",
    "|---------------------------- ----------------- -------------------------    |",
    "|--------------------------   |     -           ||----------------------|    |",
    "|                         |   |    | |        | ||                      |    |",
    "| ----------------------- |   |    | |        | || |------------------| |    |",
    "|          |              |   |    | |        | || |------------------| |    |",
    "|          | --------------   |    | |        | || |                  | |    |",
    "|          |                  |    | |        | || | |--------------- | |    |",
    "| ---------- ----------- -----|    | |        | || | |              | | |   | ",
    "| |      ------------- | |         | |        |-|| | | -------------| | |  |  ",
    "| |     |            | | | |-------- ------------- | |                | |  |  ",
    "| |     |----------- | | | |                       | -----------------| |   | ",
    "| |--------------  | |-| |-| |------ --------------|                    |     ",
    "|               |  |         |     | |             |--------------------------",
    "| |------------ |  |---|-|---|     | | |----------                          | ",
    "| |           | |------------------| | |         |---------------------    |  ",
    "| |           | |                  | | | |------                      |   |   ",
    "| |-----------| | ----------| |----| | | |     |----------------------|  |    ",
    "|               | |         | |----| | | -----------------------------|  |    ",
    "|---------------| |         |          |                                  |   ",
    "|*:treasure     | -----------------|-|-------------------------------------|  ",
    "|               |                                                           | ",
    "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>| ",
};
char pyramid[100][100][100]={
    {
        "------------------------------------------------------------------------------------------",
        "|up                                                                                      |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "|                                                                                        |",
        "------------------------------------------------------------------------------------------",
    },
    {
        "------------------------------------------------------------------------------",
        "|up                                                                          |",
        "|down                                                                        |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|                                                                            |",
        "|            

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值