Find Jobs
Hire Freelancers

Java assignment

$10-30 CAD

Closed
Posted over 2 years ago

$10-30 CAD

Paid on delivery
Players want to roll a ship (6), a captain (5) and a crew (4), plus have the highest score possible on the remaining two dice (the cargo). The catch? You must roll the 6, 5 and 4 in descending order. After all, you can't have a captain without a ship, or a crew without a captain! Each player gets three rolls to get his ship and crew together. The first player rolls all five dice in an attempt to get the 6, 5 and 4. If he rolls a 6, he can keep it, but can only keep a 5 or a 4 if he has a 6 or a 6, 5 respectively. On the next two rolls he aims to get a 5 and then a 4. If, by the end of the third roll he has a 6-5-4, he adds up the remaining two dice for his "cargo" score. If he does not have a 6-5-4, he scores nothing. For example, if he rolls a 6-3-1-1-4, he keeps the 6 but not the 4 because there is no 5. He can re-roll the 3-1-1-4 for his second roll. If he then rolls 5-4-2-2, he keeps the 5 and 4 and can choose whether or not to re-roll the 2-2. 4 is not a very high score so it might be wise to aim for a higher scoring "cargo." Assignment Instructions: Create a two player game of Ship Captain and Crew. Your program will announce a winner each round. The rounds are not cumulative. The game ends when one player decides not to play again. You may reuse your die class from the previous assignment. Design an OOP (Object Oriented Program) solution. You should have three classes: Die, Cup and Driver class. The Cup class should be drawn up from scratch as this is not a yahtzee game. The rounds can be controlled in the Driver class and all input/output from the user must be dealt with in the Driver class. The Cup and Die class may NOT print to the screen directly.
Project ID: 32370645

About the project

8 proposals
Remote project
Active 2 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
8 freelancers are bidding on average $32 CAD for this job
User Avatar
Hello I'm expert java developer with experience in object oriented, data structure, swing, javafx and more advanced concepts. I can help you to finish this project with great quality. Regards Hello My name is Ahmed, i'm a top rated freelancer. i worked over 600 projects and over 1000 hours doing java projects. plus i passed freelancer java v3 exam with score 3.75 plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 5+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him to anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$30 CAD in 1 day
4.9 (441 reviews)
6.7
6.7
User Avatar
Hello Sir/Madam I have development experience in various Programming Languages, OOP, Data Structures, Database Driven applications, APIs, Files handling and Data Transformation, ETL and various frameworks. I assure you an excellent solution of your project within the time frame and exactly according to the requirements. Thanks @CodingHelpLine
$30 CAD in 1 day
5.0 (66 reviews)
5.3
5.3
User Avatar
Hi, We can do this two players game for you in this week We are team of experts developers and have good hand in java,mysql and php Send me msg and disscuss more in detail Thank you
$20 CAD in 7 days
5.0 (6 reviews)
4.7
4.7
User Avatar
Hi I have seen your job description and interested in work of java project. Please provide more details about the work Best
$20 CAD in 7 days
5.0 (21 reviews)
3.9
3.9
User Avatar
******* Java Expert here ******* Hello I have deep and Solid foundation in Java with GUI. I have 5 year experience with such project with algorithm & data structure. I am focus on client's requirement and trying to satisfy your requirement. If we make deal, you can get Great Result. Thanks for your attention. please hire me https://www.freelancer.com/u/morhunserr
$20 CAD in 7 days
5.0 (4 reviews)
2.8
2.8
User Avatar
Hello, I can implement the code of the assignment using java class without any frameworks. In fact, I just implemented a similar task in Python for a paper a few days ago, so it should be straight forward for me (though I used python there, but the principle is equal) if you want to discuss about the project, please contact with me. thank you.
$20 CAD in 1 day
5.0 (6 reviews)
2.5
2.5
User Avatar
Hi,Dear!. I am a well-experienced Java developer. I have read your project description with great interests, so that I feel 100% sure on it. I promise A++. I can get started right now and keep your timeline. I hope your kind messages to discuss about this project in more detail. Best regards
$19 CAD in 1 day
5.0 (2 reviews)
2.1
2.1

About the client

Flag of CANADA
Ottawa, Canada
0.0
0
Member since Apr 9, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.