Tic-Tac-Toe-AI
Tic-Tac-Toe-AI copied to clipboard
Update Source.cpp
tBoard myGame; cout << "Hello! Welcome to Tic-Tac-Toe" << endl;
//Create an array to hold my 2 values string player[2];
//Get the Payer Names cout << "What is the name of the player going first (X)?" << endl; getline(cin,player[0]); cout << player[0] << " is X " << endl;
cout << "What is the name of the player going second (O)?" << endl; getline(cin,player[1]); cout << player[1] << " is O " << endl;