PROGRAM IN C++ ONLY
The game TTT is a two player game where each player trades moves across a 3 x 3 game grid. One player designates their move with an X whereas the other player designates their move with an O.
When one player has three of their marks placed in a line, that player has won the game.
If all nine squares in the grid are filled and neither player has three symbols matching in a row, that game is considered tied.
Consider the following game scenario between a red and a blue opponent.
Points will be awarded for this exercise as follows:
Generate a game board with three randomly placed symbols ? output the game board with the placement of each symbol
A playable game of TTT, where the player trades moves with the computer opponent (players moves can be entered by asking the user for the row and column to be placed.)
All of the above requirements except the game should be implemented so that the player will never be able to defeat the computer opponent in a game of TTT (please note that the game can be completed to a tie.)
PROGRAM IN C++ ONLY