So I have to make a tic tac toe game in C++. and the problem is asking me to des
ID: 3767683 • Letter: S
Question
So I have to make a tic tac toe game in C++. and the problem is asking me to design, implement and test classea to reperesnt the game board(3x3 sqaure), and the x and o markers. the problem is also asking me to provide suitable observor and mutator methods for modifying the game board and displaying game status. I have to use clases to create a game that prompts for player x and player O to place markers at specified location on the board. and after each move it should display the current state of the board(after user places x or o), if their is a winning combination and if a person has won.
I ge the tic tac toe part but im confused on how to use classes to do it . any help would be appreciated.
Explanation / Answer
I have to make a tic tac toe game in C++. and the problem is asking me to design, implement and test classea to reperesnt the game board(3x3 sqaure), and the x and o markers. the problem is also asking me to provide suitable observor and mutator methods for modifying the game board and displaying game status. I have to use clases to create a game that prompts for player x and player O to place markers at specified location on the board. and after each move it should display the current state of the board(after user places x or o), if their is a winning combination and if a person has won.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.