Question: cpp program of MULTIPLE of 3 number dice game. The application randomly throws 3 dice for the first player and another 3 dice for the

cpp program of MULTIPLE of 3 number dice game. The application randomly "throws" 3 dice for the first player and another 3 dice for the second player. After each random throw, store the results in an array. The application displays all the values, which can be from 3, 6, 9, 12, 15 or 18 inclusive for each die.

Sample Output:

MENU

[1] How to play the game?

[2] Start the Game

[3] Exit

Enter you choice: 1

Welcome to MULTIPLE of 3 NUMBER DICE GAME!

Place your instruction here ...

Press any key to go back to main menu or [N/n] to exit. Y

MENU

[1] How to play the game?

[2] Start the Game

[3] Exit

Enter your choice: 2

Random Dice Number Generated:

First Player: 12 12 12 (3 of a kind, beats 2 of a kind)

Second Player: 12 15 14

Player 1 Wins!

Score Player 1 = 1 and Score Player 2 = 0

Press any key to continue playing or [N/n] to go back to main menu. C

Random Dice Number Generated:

First Player: 6 18 6 (both have 2 of a kind higher value wins.)

Second Player: 12 9 12

Player 2 Wins!

Score Player 1 = 1 and Score Player 2 = 1

Press any key to continue playing or [N/n] to go back to main menu. B

Random Dice Number Generated:

First Player: 12 15 12 (both have same kind and value)

Second Player: 3 12 12

It's a Tie!

Score Player 1 = 1 and Score Player 2 = 1

Press any key to continue playing or [N/n] to go back to main menu. g

Random Dice Number Generated:

First Player: 3 6 9 (no same kind)

Second Player: 12 15 18

It's a Tie!

Score Player 1 = 1 and Score Player 2 = 1

Press any key to continue playing or [N/n] to go back to main menu. N

MENU

[1] How to play the game?

[2] Start the Game

[3] Exit

Enter your choice:

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!