Question: Please I really need help with this it's extremely important. My phone number is 203-295-1737 and I will clarify any questions about this lab. I

Please I really need help with this it's extremely important. My phone number is 203-295-1737 and I will clarify any questions about this lab. I have the previous lab that this references, and cam easily send it. Thank you very much for your time.

Please I really need help with this it's extremely important. My phonenumber is 203-295-1737 and I will clarify any questions about this lab.I have the previous lab that this references, and cam easily sendit. Thank you very much for your time. Pre-Lab (10 points) Makethe following changes to Player.java and DoubleDrat.java. Make sure that your programcompiles properly after adding these methods. The variable names in the providedcode may not match the variable names in your program if youdidn't follow the Lab 7 instructions explicitly. Make changes as needed soyour Player.java and DoubleDrat.java file compiles properly //add 2 new data fieldsto Player.java private boolean drat; private int points; //update the constructor andadd getters and setter for the new data fields public Player (Strings) f name = s; score 0; drat false; points 0 //end

Pre-Lab (10 points) Make the following changes to Player.java and DoubleDrat.java. Make sure that your program compiles properly after adding these methods. The variable names in the provided code may not match the variable names in your program if you didn't follow the Lab 7 instructions explicitly. Make changes as needed so your Player.java and DoubleDrat.java file compiles properly //add 2 new data fields to Player.java private boolean drat; private int points; //update the constructor and add getters and setter for the new data fields public Player (String s) f name = s; score 0; drat false; points 0 //end constructor //update takeTurn to return a String public String takeTurn (Cup theCup) String s"" s += " " + name + "'s turn. (" + points + " points accumulated this turn. ) "; theCup.roll() int rollValue -theCup.getPointValue(); s +- theCup.toString( if (rollValue0) f s +- " !!! DRAT !! ! TURN IS OVER "; Pre-Lab (10 points) Make the following changes to Player.java and DoubleDrat.java. Make sure that your program compiles properly after adding these methods. The variable names in the provided code may not match the variable names in your program if you didn't follow the Lab 7 instructions explicitly. Make changes as needed so your Player.java and DoubleDrat.java file compiles properly //add 2 new data fields to Player.java private boolean drat; private int points; //update the constructor and add getters and setter for the new data fields public Player (String s) f name = s; score 0; drat false; points 0 //end constructor //update takeTurn to return a String public String takeTurn (Cup theCup) String s"" s += " " + name + "'s turn. (" + points + " points accumulated this turn. ) "; theCup.roll() int rollValue -theCup.getPointValue(); s +- theCup.toString( if (rollValue0) f s +- " !!! DRAT !! ! TURN IS OVER

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!