Show Bid Request
Slot Machine Wheel
Bid Request Id: 35262
|
|
|
Posted by: |
aaronad (1 ratings)
(Software buyer rating 9)
|
Non-action Ratio: |
Very Good - 0.00%
|
Posted: |
Nov 13, 2002 3:41:45 PM EDT
|
Bidding Closes: |
Nov 16, 2002 11:30:00 PM EDT
|
Viewed (by coders): |
120 times
|
Deadline: |
11/17/2002
TIME EXPIRED
|
|
|
|
Description:
PROBLEM STATEMENT: In the last programming assignment, we broke the bank of the Low Rollers Casino. This time, we will expand on the Slot Machine idea but use a more realistic model, in terms of the slot machineoperation and the cost to payoff averages. In this assignment, you will use class inheritance to define two different types of slot machines. The overall design is shown below in a UML diagram: SlotMachine(-name-cost-payoff+ pull+getName+getCost) <-Slot2Wheel Slot3Wheel InputReader Assign5(+main) Note that the SlotMachine class is an abstract class, and its pull() method is an abstract method. You will define two subclasses, the Slot2Wheel and the Slot3Wheel classes, as extensions of the abstract class. Some of the attributes and methods for the abstract class, SlotMachine, are shown in the UML diagram above. You may add more if desired, and you can decide which attributes and methods should be included in the other classes. The only class that will contain a main method is the Assign5 class. All other classes must have constructors. The InputReader class is our old favorite from assignments #3 and #4 and will be provided as before. The name of the input file will be provided as a command line argument.
Deliverables: *See attached zip file For the detailed description of program. The document is using Microsoft Works -word processor.
Concepts used: Class inheritance, superclasses and subclasses, creating a new class from an existing class, abstract classes, using the keyword super, understanding polymorphism, casting objects and the instanceof operator, interfaces, arrays (declaring, creating, initializing and processing them), sorting algorithms, the bubble sort algorithm
Platform:
Java Program (using Windows 98 & Blue J v 1.3.1)Use InputReader.java as follows: import java.io.*;
/************************************** * This class opens a file for reading. * Usage Examples: * * // open a file named input.txt * InputReader myFile = new InputReader("input.txt"); * * // read a line from the file * String nextLine = myFile.readLine(); **************************************/ public class InputReader { static BufferedReader file; public InputReader(String fileName) { try { file = new BufferedReader(new FileReader(fileName)); } catch(FileNotFoundException e) { System.out.println("Error! File not found!"); System.exit(0); } } public static String readLine() { try {return(file.readLine());} catch(IOException e){return null;} } }
Must be 100% finished and received by buyer on:
Nov 17, 2002 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.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
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 |
|
|
This bid was accepted by the buyer!
|
$15 (USD)
|
Nov 13, 2002 11:20:51 PM EDT
|
9.7
(Excellent)
|
|
|
Hello Aaron, As a Sun certified programmer I can do this assignment very quick after you choose my bid. I will provide a fully commented code. Best regards, Eric.
|
|
|
|
|
|