Question: Please use Eclipse where possible. I have been getting errors when i use source codes developed in Linux IDEs. In most cases i was getting

Please use Eclipse where possible. I have been getting errors when i use source codes developed in Linux IDEs. In most cases i was getting this error: "Error: Could not find or load main class Dice Caused by: java.lang.ClassNotFoundException: Dice"Please use Eclipse where possible. I have been getting errors when iinux IDEs. In most cases i was getting this error: "Error: Could not find or load main class Dice Caused by: java.lang.ClassNotFoundException: Dice"

Points 100 Submitting a file upload Due Thursday by 11:59pm Available after Feb 8 at 12am Many games involve the use of dice. The singular form of dice is die. A standard die is a cube, i.e. a polyhedron with six sides. Each side of a die has a number of dots (or pips) on it; each side of a die is unique and contains a number of pips from 1 through 6. A die is rolled or tossed such that it comes to rest with one side randomly facing up. The die is said to have rolled a number equal to the number of pips on the side facing up. Armed with this knowledge: Part 1 (20%) Implement a Java class called Die with the following features: an instance variable that can store a whole number value from 1 through 6. a constructor that assigns a random valid value to a die object. a method that will roll a die, assigning it a new valid value. . a method that returns a die's value. Part 2 (30%) Implement a dice game called Guess wherein the player chooses a number between 2 and 12 - this is the range of possible values that can be achieved by summing the result of rolling a pair of dice. This dice game will be in its own class called Guess; it will not be in the Die class. The game then creates two Die objects and rolls them together up to three times. If the player's number comes up when summing the result of rolling the pair of dice, the player wins and the game ends. If, after three rolls of the pair of dice, the player's number has not come up, the computer wins and the game ends. Create output charting the progress of the game and the result. Part 3 (50%) Implement a dice game called Matador. The Matador game will be in its own class called Matador; it will not be in the Die class or in the Guess class. Here are the rules of Matador: The game is played between the player and the computer. The player's score and the computer's score each begin at 0. The object of the game is to be the first reach 121 points. The player and the computer take turns. On each turn: 1. The player / computer chooses a number from 2 through 6 prompt the player to enter their choice on the keyboard . the computer should choose randomly 2. The player / computer rolls two dice. Determine the results for the player/ computer (depending on who is rolling): if a 1 appears on both dice, their score is reduced by 20 and becomes the other's turn. if a 1 appears on only one die, nothing is added to their score and it becomes the other's turn. if a 1 does not appear on either die, the sum of the two dice is added to the roller's score. if their chosen number appears on only one die, they roll again. if their chosen number appears on both dice, they win. if their chosen number did not appear on either die, it becomes the other's turn. The first to reach a total score of 121 wins. Create output charting the progress of the game and the result. Please submit: 1. your three Java classes (source code / text files/java extension) 2. screenshots showing your programs in action image files)

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!