Question: I need to make the following dice game using Matlab. This game should have GUI, animation, sound effect. Two players play against each other, starting
I need to make the following dice game using Matlab. This game should have GUI, animation, sound effect.
Two players play against each other, starting with score 0 each. Winner is the player to first reach a score of 100 or more. The players play in turn. The score added in each round is determined as follows: The player throws a die. If the die does not show a 1, he has the option to stop and have the points added to his score, or to continue throwing until either he stops or gets an 1. As soon as he gets a 1, his turn ends and no points are added to his score, any points he has accumulated in this round are lost. Afterward it is the second player's turn.
I need to make a dice game using Matlab GUI. program should roll the die upon request
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
