#include <iostream>
using namespace std;
int main(void)
{
char pick[25];
char p[pick] = "player1";
int i = 0;
cout << "TIC TAC TOE!!!\n";
while (i++ < 9)
{
cout << "| " << i << " ";
if (i % 3 == 0) cout << "|\n";
}
cout << "Player one you are x's \n Player two you are o's\n \n Player one what box do you want to go in first (1-9)";
cin >> pick;
if (pick > 9 || pick < 1) {
cout << "ERROR\n";
cout << "Please repick only 1-9\n";
cin >> pick;
strcat(p, pick);
cout << pick;
}
else
{
/* if (pick == "p1")
{
cout << "good job player 1";
/*box[pick-1] = p1; */
/* }
else
{
cout << "good job player 2";
/* box[pick-1] = p2; */
/* UpdateBoard();
} */
}
return 0;
}