#include <iostream>

#include <string>

#include <stdlib.h>


using namespace std;

string maps[24];

int board_height;

void reset_board(int width, int height)    //표값 초기화

{

    board_height = height;

    int y = 0;

    maps[y] = "┏";

    for(int x = 0; x < width - 1; ++x)

    {

        maps[y] += "━┳";

    }

    maps[y++] += "━┓";

    while(y < height * 2 - 1)

    {

        maps[y] = "┃";

        for(int x = 0; x < width - 1; ++x)

        {

            maps[y] += "  ┃";

        }

        maps[y++] += "  ┃";

        maps[y] = "┣";

        for(int x = 0; x < width - 1; ++x)

        {

            maps[y] += "━╋";

        }

        maps[y++] += "━┫";

    }

    maps[y] = "┃";

    for(int x = 0; x < width - 1; ++x)

    {

        maps[y] += "  ┃";

    }

    maps[y++] += "  ┃";

    maps[y] = "┗";

    for(int x = 0; x < width - 1; ++x)

    {

        maps[y] += "━┻";

    }

    maps[y] += "━┛";

}


void draw_board()

{

    system("cls");

    int height = board_height * 2 + 1;

    for(int y = 0; y < height; ++y)

    {

        cout << maps[y] << endl;

    }

}