Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help. Model -view-controller C++. Games that im doing are Picross, 3X3 Tic tac Toe and 5X5 Tic tac toe. 1) Need to create a class
Help. Model -view-controller C++. Games that im doing are Picross, 3X3 Tic tac Toe and 5X5 Tic tac toe.
1) Need to create a class named view
Make a contructor for it that takes in a pointer to a class named game.
It also needs a function named "showboard()" that calls the "display()" funtion in the class named game.
It should start with something like this i believe
class View { private:
Game* board
public:
View(Game* g)
void showBoard()
}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started