Skip to content

Update Source.cpp#2

Open
Tilakg05 wants to merge 1 commit into
GeorgeSeif:masterfrom
Tilakg05:master
Open

Update Source.cpp#2
Tilakg05 wants to merge 1 commit into
GeorgeSeif:masterfrom
Tilakg05:master

Conversation

@Tilakg05

Copy link
Copy Markdown

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;

 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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant