C Would Write Following Classes Functions Correctly Die Class Class Responsible Handling D Q37037786

In c++ How would I write the following classes and functionscorrectly:

The Die Class

C) Die o char possibleLetters[6] o Dielstd::string possibleLetters) char Roll

This class is responsible for handling a die (singular of dice)in the game. You need to pass it a string of 6 possible characters.Each character represents one possible side of the die. The rollmethod will randomly select one of the six characters and returnthe result.

The GameBoard Class

C) GameBoard o char letters[4114] o GameBoard(std::string letters) o char GetLrByRowCol(int row, int col) o std::string ShowB

This class is responsible for holding a game board of dice

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.