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.
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
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
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
******* 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
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.
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