Question: In c++ please You will write a class and a main driver function to play the Tic Tac Toe Game. Specifics TTT, the class You
In c++ please


You will write a class and a main driver function to play the Tic Tac Toe Game. Specifics TTT, the class You will implement the class definition in your own TTT.cpp. The TTT class declaration will be provided to you in the TTT.h file. You will not change this file. Main, the driver:You will need to instantiate the TTT class in order to play the game. The setup and flow of the game will be determined in the driver. However, the rules and functionality of the game will be implemented in the class In the interaction, you will display a grid similar to below: 41 516 Your driver will use the TTT class methods to make plays, toggle between X and O, determine if a Win has occurred, reset the game, and maintain a win/loss log in a file (results.txt). The output file should your name at the top of the file, have 3 columns X, O, Cat, where each win loss N/S is recorded. There should be a total count of wins at the bottom of the column You will write a class and a main driver function to play the Tic Tac Toe Game. Specifics TTT, the class You will implement the class definition in your own TTT.cpp. The TTT class declaration will be provided to you in the TTT.h file. You will not change this file. Main, the driver:You will need to instantiate the TTT class in order to play the game. The setup and flow of the game will be determined in the driver. However, the rules and functionality of the game will be implemented in the class In the interaction, you will display a grid similar to below: 41 516 Your driver will use the TTT class methods to make plays, toggle between X and O, determine if a Win has occurred, reset the game, and maintain a win/loss log in a file (results.txt). The output file should your name at the top of the file, have 3 columns X, O, Cat, where each win loss N/S is recorded. There should be a total count of wins at the bottom of the column
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
