Array review exercise:

Simulate a yahtzee game:

1. First, do a minimum simple game: In one Yahtzee class, create a main method that builds an array of 5 dice. Fill the 5 array elements with random dice values, and print the dice values. Then, count the dice value and tell the player "Player1, You filled " the total value " in the chance spot".

Now a Player class review:

2. Give the player in your game its own class, so you will have a Yahtzee class and a Player class.

----- EXTRA----------

3. A little more array practice: Add the ability to determine whether the player threw a full house to the player. Create an isFullHouse method that determines whether the dice array is a full house. It should return the true or false.

It will need to loop through the array counting each number. If it finds 2 of a number or 3 of a number, it will need to remember that. At the end of counting up each of the dice, it will need to see whether it has 2 of one number and 3 of another number in order to return true. Your game should print something if it has a full house and add 30 to his totalScore.

4. Change your Yahtzee class's main method have each player : throwDice, ask isFullHouse, and if not a full house, then totalDice for chance. Finally, print both players scores and the name of the winner

5. You can make it more like Yahtzee with any other enhancement.