1) Modify your solution to H07 and H09 to play a graphical game of Two-Dice Pig with two players.
Your JPanel should have a sub-panel for each player showing their current score and a panel showing the die roll. On the bottom of the JPanel there should be buttons for rolling again and holding and a JLabel with the current turn score. The PlayerPanel whose turn it is should be highlighted.
Your game should look something like:
You may use my solution, but if you do you need to add the following functionality to it.
Ask for the player names and use them.
Ask for the number of points to determine who wins and use it.
Inform the players what is going on with each roll.
The assignment is due on Friday at 11:55pm. You may turn it in early.
Conduct a personal review of your code before turning it in. Does your code follow the Java Coding Standard?
Is it clear and well commented?
Test your code.
Sign into Laulima, then navigate to the ICS111 site. In the left hand side of the site, there is an Assignments tab/link. Click on it and view all of the posted assignments. Select the assignment that you want to turn in and attach your files and accept the honor pledge to submit the assignment.