EngineeringComputer ScienceComputer Science questions and answersBoat Racing Game You are required to build a simple game Boat Race In Java program that fulfil the below requirements. Analyse and develop the Java program as per described using the object-Oriented design. You should design your program for optimum maintainability and reusability with the best practices of object-oriented techniques you have learnt. YouQuestion: Boat Racing Game You are required to build a simple game Boat Race In Java program that fulfil the below requirements. Analyse and develop the Java program as per described using the object-Oriented design. You should design your program for optimum maintainability and reusability with the best practices of object-oriented techniques you have learnt. YouThis question hasn’t been solved yetAsk an expertAsk an expertAsk an expert done loading
Show transcribed image textExpert Answer Who are the experts?Experts are tested by assignmentguruh as specialists in their subject area. We review their content and use your feedback to keep the quality high.Transcribed image text: Boat Racing Game You are required to build a simple game Boat Race In Java program that fulfil the below requirements. Analyse and develop the Java program as per described using the object-Oriented design. You should design your program for optimum maintainability and reusability with the best practices of object-oriented techniques you have learnt. You also need to document your design using the UML class and class relationship diagrams. The game rules: • The game is a two players game. At the beginning of the game, each player will be allocated with a boat. During the game, the players take turn to throw the dice you can use the random function to generate the random dice number) to decide how many steps should the boat move forward. • The river can be visualised as 100 columns track as below, which is filled with random number of traps) and current) Start End CLIO COLICO COLOCO . Once the game started, all the traps and currents will be scattered randomly in the river. Some currents are stronger than the others, so as the traps. The stronger current or trap will make the boat moves more steps forward or backward. When bost hits the trap, the boat will need to move backward x number of steps, when the boat hits the current, it will move forward x number of steps. The boat should not be allowed to move beyond the river’s boundary. • Game will end when either player’s boat reaches the end of the river, Display the location of the boats after every move. When the game starts, display the Top 5 scores and ask the player for the name short name with one word). You should count the total turns that each player takes in the games. When the game ended and the score of the player is within the top 5 scores, store the player’s score and name in the TopScore.txt’ text file. The list should be ordered by score in ascending order. Tips: You can add any additional attributes to the objects in this game which you see fit Additional Functionality Design and develop one additional function that may help to improve the game you have developed above Previous question
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more