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][0] << " | " << field[0][1] << " | " << field[0][2] << endl;
- cout << "_____|_____|_____" << endl;
- cout << " | | " << endl;
- cout << " " << field[1][0] << " | " << field[1][1] << " | " << field[1][2] << endl;
- cout << "_____|_____|_____" << endl;
- cout << " | | " << endl;
- cout << " " << field[2][0] << " | " << field[2][1] << " | " << field[2][2] << endl;
- cout << " | | " << endl << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement