Tic-Tac-Toe-AI icon indicating copy to clipboard operation
Tic-Tac-Toe-AI copied to clipboard

Update Source.cpp

Open Tilakg05 opened this issue 3 years ago • 0 comments

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;

Tilakg05 avatar Apr 28 '21 17:04 Tilakg05