Question: Please 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

Please 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 look something like this?

class View { private:

Game* board

public:

View(Game* g)

void showBoard()

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!