Show Bid Request
Help with small program
Bid Request Id: 56096
|
|
|
Posted by: |
Java Girl22 (6 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Buyer Security Verifications: |
Excellent
|
Approved on: |
Apr 3, 2003 2:02:20 PM EDT
|
Bidding Closes: |
Apr 7, 2003 1:15:13 PM EDT
|
Viewed (by coders): |
146 times
|
Deadline: |
4/8/2003
TIME EXPIRED
|
|
|
|
Description:
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, Goalie.java and Player.java, in addition to driver program.
Goalie.java 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.
Player.java 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.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Platform:
Needs to be ran on Java, or dos shell.
Must be 100% finished and received by buyer on:
Apr 8, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
$15 (USD)
|
Apr 3, 2003 6:25:41 PM EDT
|
9.69
(Excellent)
|
|
|
Dear Friend,
Agreed to complete this game witin short time.
Waiting for firther details:
such as:
console base only or require GUI
Output require:
If you send the complete detail within and hour then your work will be deliver to you within next 24 hours.
Waiting for your positive reply.
Wish you all th best
Digitally Yours,
Smart Choice |
|
|
|
This bid was accepted by the buyer!
|
$10 (USD)
|
Apr 3, 2003 6:44:12 PM EDT
|
9.69
(Excellent)
|
|
|
Dear Friend,
Either one of them is acceptable :).
Agreed to complete this game witin short time.
Waiting for firther details: such as:
console base only or require GUI
Output require:
If you send the complete detail within and hour then your work will be deliver to you within next 24 hours.
Waiting for your positive reply.
Wish you all th best
Digitally Yours,
Smart Choice |
|
|
|
|
|