In c++ How would I write the following classes and functionscorrectly:
The Die Class
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
This class is responsible for holding a game board of dice
OR
OR