#include <iostream> 
#include <windows.h>
using namespace std;

void clearboard (void)
{
char board[5][5] = {{' ','|',' ','|',' '},
                   {'-','-','-','-','-'},
                   {' ','|',' ','|',' '},
                   {'-','-','-','-','-'},
                   {' ','|',' ','|',' '}};

}

void printboard(char board[5][5])
{

    for(int n=0;n<5;n++) 
    {
        for(int m=0;m<5;m++) 
        {
            std::cout << board[n][m];
        }
        std::cout << std::endl;
    }
}


  
int main()
{
    srand (time(NULL)); //makes 5 traps random
    HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); //enables us to change text and background color


    
cout<<"                                  ";
SetConsoleTextAttribute(hConsole, ( BACKGROUND_RED | BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_INTENSITY | FOREGROUND_BLUE | FOREGROUND_INTENSITY));
cout<<" TIC TAC TOE "<<endl;
SetConsoleTextAttribute(hConsole, (FOREGROUND_RED | FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_INTENSITY));
system("pause");

clearboard();
printboard();

system("pause");
return 0;
}    