Keyboard input will be used in this class. You must use the BufferedReader object and not Keyboard class. Input is of the following form: NumberofKicks GoalieName GoalieBlockPct Player1Name Player1Skill Player2Name Player2Skill Player3Name Player3SKill -NumberofKicks is number of scoring attempts each player will take at the goalie (must be > 0). -GoalieName is Goalie's last name. -GoalieBlockPct is an int between 0 and 100, representing the goalie's block %. -PlayerxName is player's last name. -PlayerxSkill is an int between 0 and 10 representing a scout's evaluation of that player's ability to score goals, 0 being the low and 10 being high. Use the StringTokenizer to separate each value. End of input must be detected by reading a null string. You must create 2 classes, [url removed, login to view] and [url removed, login to view], in addition to driver program. [url removed, login to view] Must have following data members (all must be private) - lastName (String), goalsDefendedSuccessfully (int) & blockPct (int). Constructor (2 parameters, last name (String) & blockpct (int). Initialize goalsDefendedSuccessfully to 0. CheckBlock(1 parameter - p1 (Player), returns a boolean) - Check if kick is blocked. Returns true if goal is scored/false if not. IncrementDef(no parameters, no return) - increment goalsDefendedSuccessfully 1. [url removed, login to view] Must have the following variables - lastName (String), goalScoredInd (int), goalScoredTeam (Static int, initialize to 0 where it is declared) & skill (int). Constructor (2 parameters, last name, a String, & skill, an integer) - initialize goalScoredInd to 0. Kick (1 parameters, def (Goalie), returns a boolean) - Kicks ball at a goalie. Returns true if goal is scored/false if not. Processing Write a program that simulates a number of kicks read in from the user from each player to the goalie. For each kick, generate random number between 0 - 100. Remaining is output.. can't finish description.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Needs to be ran on Java, or dos shell.