Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How does ISDN work?

Answered: 1 week ago

Question

Differentiate 3sin(9x+2x)

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago

Question

b. Why were these values considered important?

Answered: 1 week ago