Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void PrintPlayField(char field)
- {
- system("cls");
- cout << "\n\n\tTic Tac Toe\n\n";
- cout << "Player 1 (X) - Player 2 (O)" << endl << endl;
- cout << endl;
- cout << " | | " << endl;
- cout << " " << field[0] << " | " << field[1] << " | " << field[2] << endl;
- cout << "_____|_____|_____" << endl;
- cout << " | | " << endl;
- cout << " " << field[3] << " | " << field[4] << " | " << field[5] << endl;
- cout << "_____|_____|_____" << endl;
- cout << " | | " << endl;
- cout << " " << field[6] << " | " << field[7] << " | " << field[8] << endl;
- cout << " | | " << endl << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement