文字游戏(仿制

· · 个人记录

仿制正版的文字游戏随便做了一个文字游戏,目前做到第二关(很水的,压根算不上关),后续还会再更新,感谢大家的支持!

更新日志:

main.cpp:

#include <bits/stdc++.h>
#include <windows.h>
#include <conio.h>
#include "map.h"

using namespace std;

bool esc = false;

void gotoxy(SHORT x, SHORT y) {
    COORD pos = {x, y};
    HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleCursorPosition(hOut, pos);
}

void out(string mp[][32]) {
    gotoxy(0, 0);
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            cout << mp[i][j];
        }
        cout << endl;
    }
}

pair<int, int> get_my_pos(string mp[18][32]) {
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            if (mp[i][j] == "我") {
                return {i, j};
            }
        }
    }
    return {-1, -1};
}

void to_my_pos(pair<int, int> pos, string mp[][32]) {
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            if (mp[i][j] == "我") {
                mp[i][j] = " ";
            }
        }
    }
    mp[pos.first][pos.second] = "我";
}

const int dx[] = {-1, 1, 0, 0};
const int dy[] = {0, 0, -1, 1};

bool move(pair<int, int> pos, int n, string mp[][32]) { // 0上 1下 2左 3右
    int x = pos.first + dx[n], y = pos.second + dy[n];
    if (x < 0 || x >= 18 || y < 0 || y >= 32) {
        return false;
    }
    if (mp[x][y] == "门") {
        mp[x][y] = "我";
        mp[x - dx[n]][y - dy[n]] = " ";
        return true;
    }
    if (mp[x][y] == " ") {
        mp[x][y] = "我";
        mp[x - dx[n]][y - dy[n]] = " ";
    }
    return false;
}

void cls() {
    gotoxy(0, 0);
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            cout << " ";
        }
        cout << endl;
    }
    gotoxy(0, 0);
}

void HideCursor() {
    CONSOLE_CURSOR_INFO cursor;
    cursor.bVisible = FALSE;
    cursor.dwSize = sizeof(cursor);
    HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleCursorInfo(handle, &cursor);
}

void play(string str, int x = 0, int y = 0, bool g = false, string mp[][32] = {}) {
    int sl = 100;
    gotoxy(y * 2, x);
    for (size_t i = 0; i < str.size(); i += 2) {
        if (_kbhit()) {
            int ch = _getch();
            if (ch == 32) {
                sl = 0;
            }
        }
        putchar(str[i]);
        putchar(str[i + 1]);
        if (g) {
            mp[x][y] = "";
            mp[x][y] += str[i];
            mp[x][y] += str[i + 1];
            ++y;
        }
        Sleep(sl);
    }
}

void init() {
    srand(time(0)); // 随机数种子
    HideCursor(); // 隐藏光标
}

void copy(string mp1[][32], string mp2[][32]) {
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            mp1[i][j] = mp2[i][j];
        }
    }
}

void pause(int id = 32) {
    while (true) {
        if (_kbhit()) {
            int ch = _getch();
            if (ch == id) {
                break;
            }
        }
    }
}

void clean(int x_1, int y_1, int x_2, int y_2, string mp[][32]) {
    for (int i = x_1; i <= x_2; ++i) {
        for (int j = y_1; j <= y_2; ++j) {
            mp[i][j] = " ";
        }
    }
    gotoxy(0, 0);
    out(mp);
}

void replace(string s1, string s2, string mp[][32]) {
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            if (mp[i][j] == s1) {
                mp[i][j] = s2;
            }
        }
    }
}

int esc_103 = 0;

bool space(pair<int, int> pos, string mp[][32], int mp_id) {
    if (mp_id == 3) {
        for (int i = 0; i < 4; ++i) {
            int mx = pos.first + dx[i], my = pos.second + dy[i];
            if (mx < 0 || mx >= 18 || my < 0 || my >= 32) {
                continue;
            }
            if (mp[mx][my] == "炉") {
                pair<int, int> pos = get_my_pos(mp3);
                copy(mp3, mp3_1);
                to_my_pos(pos, mp3);
                out(mp3);
                play("欧非士王国制造的壁炉,非常耐用。", 9, 3, true, mp3);
                play("好像有件重要的事,去桌上看一看好了。", 10, 3, true, mp3);
            }
            if (mp[mx][my] == "表") {
                pair<int, int> pos = get_my_pos(mp3);
                replace("表", "桌", mp3_1);
                copy(mp3, mp3_1);
                to_my_pos(pos, mp3);
                out(mp3);
                play("这支附有镜面的怀表,外出从不离身。每当", 9, 3, true, mp3);
                play("感到困惑的时候,就会打开【ESC】,看", 10, 3, true, mp3);
                play("着镜中的自己好好沉思。可惜表面不动了。", 11, 3, true, mp3);
                esc = true;
            }
            if (mp[mx][my] == "桌" && esc_103 == 4) {
                pair<int, int> pos = get_my_pos(mp3);
                copy(mp3, mp3_1);
                to_my_pos(pos, mp3);
                out(mp3);
                play("实用又典雅的写字桌。", 9, 3, true, mp3);
                play("抽屉里,整齐排列着五花八门的文书工具。", 10, 3, true, mp3);
                play("怀表的指针停了,可得赶紧找人修理才行。", 11, 3, true, mp3);
            }
        }
    }
    if (mp_id == 11) {
        for (int i = 0; i < 4; ++i) {
            int mx = pos.first + dx[i], my = pos.second + dy[i];
            if (mx < 0 || mx >= 18 || my < 0 || my >= 32) {
                continue;
            }
            if (mp[mx][my] == "狗") {
                pair<int, int> pos = get_my_pos(mp_first_1);
                copy(mp_first_1, mp_first_1_1);
                to_my_pos(pos, mp_first_1);
                out(mp_first_1);
                play("这狗是从哪里来的?一点印象都没有....", 1, 3, true, mp_first_1);
                pause();
                copy(mp_first_1, mp_first_1_1);
                to_my_pos(pos, mp_first_1);
            }
        }
    }
    if (mp_id == 103) {
        if (pos.first == 14 && pos.second == 16) {
            cls();
            play("正在退出程序......");
            Sleep(500);
            exit(0);
        }
        if (pos.first == 14 && pos.second == 9) {
            Sleep(500);
            return true;
        }
        if (pos.first == 11 && pos.second == 9) {
            if (esc_103 == 0) {
                play("先试着沉思看看,把三个提示看完吧。", 8, 6, true, mp3_esc);
                ++esc_103;
                pause();
            } else if (esc_103 == 1) {
                clean(8, 6, 8, 22, mp3_esc);
                play("首先是一个大方向,想不通可以沉思二下。", 8, 6, true, mp3_esc);
                ++esc_103;
                pause();
                mp3_esc[11][13] = "二";
            } else if (esc_103 == 2) {
                clean(8, 6, 8, 24, mp3_esc);
                play("接着发现重要关键,想不通还可以沉思三下。", 8, 6, true, mp3_esc);
                ++esc_103;
                pause();
                mp3_esc[11][13] = "三";
            } else if (esc_103 == 3) {
                clean(8, 6, 8, 25, mp3_esc);
                play("最终难题迎刃而解。沉思的极限就这样了。", 8, 6, true, mp3_esc);
                ++esc_103;
                pause();
                esc = false;
                Sleep(500);
                return true;
            }
        }
    }
    return false;
}

void move_something(string mp[][32], string str) {
    for (int i = 0; i < 18; ++i) {
        for (int j = 0; j < 32; ++j) {
            if (mp[i][j] == str) {
                int d = rand() % 4;
                int mmx = i + dx[d], mmy = j + dy[d];
                if (mp[mmx][mmy] == " ") {
                    mp[mmx][mmy] = str;
                    mp[i][j] = " ";
                }
            }
        }
    }
}

void Esc(string mp[][32]) {
    while (true) {
        gotoxy(0, 0);
        out(mp);
        if (_kbhit()) {
            int ch = _getch();
            if (ch == 119) { // 上
                if (move(get_my_pos(mp), 0, mp)) {
                    continue;
                }
            }
            if (ch == 115) { // 下
                if (move(get_my_pos(mp), 1, mp)) {
                    continue;
                }
            }
            if (ch == 97) { // 左
                if (move(get_my_pos(mp), 2, mp)) {
                    continue;
                }
            }
            if (ch == 100) { // 右
                if (move(get_my_pos(mp), 3, mp)) {
                    continue;
                }
            }
            if (ch == 32) { // 空格
                if (space(get_my_pos(mp), mp, 103)) {
                    break;
                }
            }
//          if (ch == 13) { // ENTER
//              pair<int, int> pos = get_my_pos(mp);
//              cout << pos.first << " " << pos.second << endl;
//          }
            if (ch == 27) { // ESC
                return ;
            }
        }
    }
}

void out_down() {
    gotoxy(0, 18);
    for (int i = 0; i < 3; ++i) {
        for (int j = 0; j < 32; ++j) {
            cout << mp_down[i][j];
        }
        cout << endl;
    }
}

void random_() {
    for (int k = 1; k <= 50; ++k) {
        gotoxy(0, 0);
        for (int i = 0; i < 18; ++i) {
            for (int j = 0; j < 32; ++j) {
                if (mp_random[i][j]) {
                    cout << al[rand() % 64];
                } else {
                    cout << " ";
                }
            }
            cout << endl;
        }
        Sleep(10);
    }
    out(mp_random_end);
}

int main() {
    // 初始化
    init();

    // 欢迎
    play("欢迎来到 “文字游戏 —— by dctc1494”\n按下空格键开始游戏......");
    out_down();
    pause();
    cls();
    Sleep(500);

    // 第一关
    while (true) {
        gotoxy(0, 0);
        out(mp1);
        if (_kbhit()) {
            int ch = _getch();
            if (ch == 119) { // 上
                if (move(get_my_pos(mp1), 0, mp1)) {
                    break;
                }
            }
            if (ch == 115) { // 下
                if (move(get_my_pos(mp1), 1, mp1)) {
                    break;
                }
            }
            if (ch == 97) { // 左
                if (move(get_my_pos(mp1), 2, mp1)) {
                    break;
                }
            }
            if (ch == 100) { // 右
                if (move(get_my_pos(mp1), 3, mp1)) {
                    break;
                }
            }
        }
    }
    cls();
    Sleep(500);

    // 第二关
    while (true) {
        gotoxy(0, 0);
        out(mp2);
        if (_kbhit()) {
            int ch = _getch();
            if (ch == 119) { // 上
                if (move(get_my_pos(mp2), 0, mp2)) {
                    break;
                }
            }
            if (ch == 115) { // 下
                if (move(get_my_pos(mp2), 1, mp2)) {
                    break;
                }
            }
            if (ch == 97) { // 左
                if (move(get_my_pos(mp2), 2, mp2)) {
                    break;
                }
            }
            if (ch == 100) { // 右
                if (move(get_my_pos(mp2), 3, mp2)) {
                    break;
                }
            }
        }
    }
    cls();
    Sleep(500);

    // 第三关
    copy(mp3, mp3_1);
    gotoxy(0, 0);
    out(mp3);
    play("我推开门,这里是我家的起居室。", 6, 3, true, mp3);
    play("房间的四面墙壁都是用乾净的白砖所砌成。", 7, 3, true, mp3);
    pause();
    copy(mp3, mp3_1);
    gotoxy(0, 0);
    out(mp3);
    play("左手边有左火炉,右手边则挂着一个咕咕钟。", 6, 3, true, mp3);
    play("身侧还摆了一副桌椅。", 7, 3, true, mp3);
    pause();
    copy(mp3, mp3_1);
    gotoxy(0, 0);
    out(mp3);
    play("奇怪的是,四周连一扇门都没有。", 6, 3, true, mp3);
    pause();
    copy(mp3, mp3_1);
    gotoxy(0, 0);
    out(mp3);
    play("我想起调查的方法,对着东西按下空格键就可以", 6, 3, true, mp3);
    play("了解更多。离开房间的方法,或许就藏在其中。", 7, 3, true, mp3);
    copy(mp3_1, mp3);
    while (true) {
        gotoxy(0, 0);
        out(mp3);
        if (_kbhit()) {
            int ch = _getch();
            if (ch == 119) { // 上
                if (move(get_my_pos(mp3), 0, mp3)) {
                    break;
                }
            }
            if (ch == 115) { // 下
                if (move(get_my_pos(mp3), 1, mp3)) {
                    break;
                }
            }
            if (ch == 97) { // 左
                if (move(get_my_pos(mp3), 2, mp3)) {
                    break;
                }
            }
            if (ch == 100) { // 右
                if (move(get_my_pos(mp3), 3, mp3)) {
                    break;
                }
            }
            if (ch == 32) { // 空格
                space(get_my_pos(mp3), mp3, 3);
            }
            if (ch == 27 && esc) { // ESC
                Esc(mp3_esc);
            }
        }
    }
    cls();
    Sleep(500);

    // 第一章开始
    random_();
    Sleep(500);
    out(mp_first);
    pause();
    Sleep(500);

    // 第一章地图1
    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("晴天。蓝天、白云、绿树。小狗在跑,鸟儿在叫。", 1, 3, true, mp_first_1);
    play("凉风习习,这里是风景如画的宁静小镇,克里皮。", 2, 3, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("不知道谁家养的小狗,远远地一见到我就笑,", 1, 3, true, mp_first_1);
    play("不是到从哪里来的鸟儿,不断唱着同一首歌。", 2, 3, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("克里皮市集就在前方。在那里,", 1, 3, true, mp_first_1);
    play("会遇见许多非常知道自己要做什么的人。", 2, 3, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("我似乎是个容易想东想西、自言自语的人。", 1, 3, true, mp_first_1);
    play("每个人都是这样子的吗?我无从得知。", 2, 3, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("看着这条路,有时候我会想....一路往下走,", 1, 3, true, mp_first_1);
    play("有没有可能抵达其他地方、遇见不同的人?", 2, 3, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("比如说,另一个不需要做什么的人。", 1, 2, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("比如说,一个知道我该做什么的人。", 1, 2, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    gotoxy(0, 0);
    out(mp_first_1);
    play("不过在那之前,先走去立可复小铺找艾斯再说。", 1, 2, true, mp_first_1);
    pause();

    copy(mp_first_1, mp_first_1_1);
    int mm = 0, mmm = 15;
    while (true) {
        ++mm;
        ++mmm;
        if (mm % 30 == 0) {
            mm = 0;
            pair<int, int> pos = get_my_pos(mp_first_1);
            move_something(mp_first_1_1, "狗");
            copy(mp_first_1, mp_first_1_1);
            to_my_pos(pos, mp_first_1);
        }
        if (mmm % 30 == 0) {
            mmm = 0;
            pair<int, int> pos = get_my_pos(mp_first_1);
            move_something(mp_first_1_1, "鸟");
            copy(mp_first_1, mp_first_1_1);
            to_my_pos(pos, mp_first_1);
        }
//      cout << mm << endl;
        gotoxy(0, 0);
        out(mp_first_1);
        if (_kbhit()) {
            int ch = _getch();
            if (ch == 119) { // 上
                if (move(get_my_pos(mp_first_1), 0, mp_first_1)) {
                    break;
                }
            }
            if (ch == 115) { // 下
                if (move(get_my_pos(mp_first_1), 1, mp_first_1)) {
                    break;
                }
            }
            if (ch == 97) { // 左
                if (move(get_my_pos(mp_first_1), 2, mp_first_1)) {
                    break;
                }
            }
            if (ch == 100) { // 右
                if (get_my_pos(mp_first_1).second == 31) {
                    break;
                }
                if (move(get_my_pos(mp_first_1), 3, mp_first_1)) {
                    break;
                }
            }
            if (ch == 32) { // 空格
                space(get_my_pos(mp_first_1), mp_first_1, 11);
            }
//          if (ch == 27 && esc) { // ESC
//              Esc(mp3_esc);
//          }
        }
    }
    cls();
    Sleep(500);

    cls();
    play("目前就做到这里,谢谢你的游玩!", 0, 0);
    play("QQ号:1809641144", 1, 0);
    pause();

    return 0;
}

map.h:

#include <string>

using namespace std;

string mp1[18][32] = {
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", "【", "赶", "快", "开", "门", "出", "去", "吧", "..", "..", "】", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", "我", "在", "心", "里", "对", "着", "自", "己", "说", ",", "并", "举", "步", "向", "前", "。", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}
};

string mp2[18][32] = {
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "前"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "进"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "的"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "不"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "二"},
    {"房", "间", "外", "是", "一", "条", "长", "廊", ",", "黑", "漆", "漆", "的", "。", "不", "远", "处", "的", "长", "廊", "尽", "头", "隐", "约", "可", "见", "火", "光", "闪", "动", "。", "法"},
    {" ", "我", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "门"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", ","},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "肯"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "定"},
    {"这", "里", "没", "有", "什", "么", "东", "西", ",", "空", "荡", "荡", "的", "。", "除", "了", "一", "步", "一", "步", "向", "前", "迈", "进", "没", "有", "其", "他", "办", "法", "。", "是"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "大"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "步"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "跨"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "越"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "。"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}
};

string mp3[18][32], mp3_1[18][32] = {
    {"墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙"},
    {"墙", " ", " ", " ", " ", " ", "炉", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "钟", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "椅", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "桌", "桌", "桌", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "表", "桌", "桌", " ", " ", "墙"},
    {"墙", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "墙"},
    {"墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙", "墙"}
};

string mp3_esc[18][32] = {
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "家", "里", "客", "厅", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", "这", "是", "实", "用", "的", "怀", "表", "。", "看", "着", "它", "沉", "思", "总", "能", "得", "到", "提", "示", "。", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", "我", "想", "沉", "思", "一", "下", " ", " ", "想", "调", "整", "状", "态", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "想", "停", "止", "沉", "思", " ", " ", "想", "离", "开", "旅", "程", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}};

string mp_first[18][32] = {
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "《", "第", "一", "章", "》", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", "在", "克", "里", "皮", "呆", "着", "不", "好", "吗", "?", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"}};

string mp_first_1[18][32], mp_first_1_1[18][32] = {
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", "树", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "树", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", "树", "树", "树", " ", " ", " ", " ", " ", "树", " ", " ", " ", " ", " ", "树", "树", "树", " ", "树", " ", " ", " ", " ", " ", " ", "路", "路", "路", "路", "路", " "},
    {" ", " ", "木", " ", " ", " ", " ", " ", "树", "树", "树", " ", " ", " ", " ", " ", "木", " ", "树", "树", "树", " ", " ", " ", "路", "路", " ", " ", " ", " ", " ", "路"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", "木", " ", " ", " ", " ", " ", " ", " ", " ", " ", "木", " ", " ", " ", "路", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", "鸟", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", "路", "路", "路", " ", " ", " ", "路", "路", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", " ", " ", " ", "路", "路", " ", " ", "路", "路", "路", " ", " ", " ", " ", "路", "路", "路", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
    {" ", " ", " ", "路", "路", "路", " ", " ", "路", "路", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "狗", " ", " ", " ", " ", " ", " ", " ", " "},
    {"路", "路", "路", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", "路", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", " ", " ", "路", "路"},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", " ", " ", " ", " ", " "},
    {" ", "我", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", "路", "路", "路", " ", " ", " ", "路", "路", " ", " ", " ", "树", " ", " "},
    {" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "路", "路", " ", " ", "路", "路", "路", " ", " ", " ", " ", "路", "路", "路", " ", " ", " ", " ", "树", "树", "树", " "},
    {" ", " ", " ", " ", "路", "路", "路", "路", "路", "路", " ", " ", "路", "路", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "木", " ", " "},
    {"路", "路", "路", "路", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}};

string mp_down[3][32] = {
    {"*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"},
    {"*", " ", " ", " ", " ", " ", " ", " ", "移", "动", " ", "W", "A", "S", "D", " ", " ", "互", "动", " ", "空", "格", "键", " ", " ", " ", " ", " ", " ", " ", " ", "*"},
    {"*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*", "*"}};

bool mp_random[18][32] = {
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}};

string mp_random_end[18][32] = {
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"},
    {"-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"}};

string al[64] = {"+", "/", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "a", "s", "d", "f", "g", "h", "j", "k", "l", "z", "x", "c", "v", "b", "n", "m", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "A", "S", "D", "F", "G", "H", "J", "K", "L", "Z", "X", "C", "V", "B", "N", "M"};