Describe solution to each problem

Assignment Help JAVA Programming
Reference no: EM132161776

Please read the attached file to modify an existing project so that it does not contain any errors

The solution for assignment two has a couple of problems:

- When you hover over the Rabbit, the game freezes.
- The Wolf is not behaving as we would like. If we ask the wolf to calculate it's path twice it works, but not if we ask it to do so only once.

Your job is to:
- fix these problems
- describe your solution to each problem

Once that is done, you are asked to check if your solution works as the game scales. A solution works as the game scales if the game remains responsive as the grid size grows and character locations move further apart, no character may have to wait for another to finish calculating their path before calculating theirs. If not, you must come up with a new solution that does. Your solution should not rely on faster path-finding - it must be purely based on safe multi-threading. If your solution does already work for a larger game, then you must still come up with another solution - try some other multi-threading feature.

Your solution to assignment two might never have had these problems. You must still work from the starting point we have given you. You might find you can get some insight into the problem by comparing our solution to yours, but you still have to build an answer from our code.

Note: Fixing the problem is very easy if you know where to look, thus we have allocated a significant proportion of the marks to your explanations.

You should submit a zip file containing:

- BUGS.md which contains your explanations of the rabbit and wolf bugs
- SOLUTION_ONE.md which contains a description of your first solution to the wolf bug
- solution_one folder which contains a full IntelliJ project that includes your implementation of your first solution
- SOLUTION_TWO.md which contains a description of your second solution to the wolf bug - the solution that will scale.
- solution_two folder which contains a full IntelliJ project that includes your implementation of your second solution.
- will be awarded if either IntelliJ project includes a solution to the rabbit bug.

Attachment:- Assignment.rar

Reference no: EM132161776

Questions Cloud

How much coverage would you be willing to give to company : If a business insured a supercomputer. How much coverage would you be willing to give to the company? How much of a deductible would you require?
Ratio of application layer bytes to number of bytes : What is the efficiency [the ratio of application layer bytes to the number of bytes transmitted] of the system?
K-nearest-neighbor classification given k : Write an algorithm for k-nearest-neighbor classification given k, the nearest number of neighbors
What are the determinants of health affecting the disease : Write a scholarly paper in which you apply the concepts of epidemiology and nursing research to a communicable disease. Choose one communicable disease.
Describe solution to each problem : If we ask the wolf to calculate its path twice it works, but not if we ask it to do so only once - If your solution does already work for a larger game
How would such partnerships be beneficial : Describe how faith communities can contribute to the accomplishment of these national health objectives and accomplish the goal of improving the health.
Focuses on specific market segments in commerical : Embraer is one of the largest aircraft manufacturers in the world. It focuses on specific market segments in commerical,
How do their goals of health promotion meet the objective : The role of the local and state health departments is to make sure everyone has good health. "Florida Health represents the vision that health belongs.
Inclusion-exclusion concept and organizational involvement : What is the distinction between the inclusion-exclusion concept and organizational involvement?

Reviews

len2161776

11/9/2018 1:21:08 AM

Please read the attached file Assignment is basically to modify an existing project so that it does not contain any errors as shown in the attached file (assignment3.docx) I can send you more resources such as the source code and video explanation if required.

Write a Review

JAVA Programming Questions & Answers

  Determine the return types based on the semantic of helper

Implement the following helpers for the class, determine the return types based on the semantic of the helper.

  Write a java application that prompts a user for a fist name

Write a Java application that prompts a user for a fist name and a last name, and then asks if a user is a company's employee.

  Create a hotel management web application

CSCE 464/864 - Spring 2016 - Create a hotel management web application that can be used by two types of users: customers and clients. A customer is a user who intends to search for hotels and make reservations.

  Performance of both the threaded and non-threaded versions

Please modify the Java program by adding threads, and analyze the performance of both the threaded and non-threaded versions.

  Creates a new set of animals

When a user creates a new set of animals, they need to be able to add an animal to the set.  They should also be able to update and delete animals in the set.  The organizer should only show one set of animals at a time

  Create bean jsp program which will compute simple interest

Create the bean which will compute Simple Interest. Use bean in JSP program. Accept details of saving like principal amount, rate of interest, period-in years from user and show amount

  Creates an array of six divsales objects

Write a program that creates an array of six DivSales objects. The program should ask the user to enter the sales for four quarters for each division.

  Applet to converts a character to a corresponding integer

Design an applet Conversion.java that converts a character to a corresponding integer, and vice versa. The integer corresponding to a character is its ASCII code.

  Build the gui layout of the game

Build the Build the GUI layout of the game in java.

  Provide java code to illustrate how to create an array

Describe how arrays are implemented in Java. Provide Java code to illustrate how to create an array, reference an array, and address an element of an array.

  Finds a number of occurrences of a specified character

Method that finds a number of occurrences of a specified character in a string using the following header Public static int count

  Develop a console program for java on microsoft notepad

Develop a console program for JAVA on Microsoft notepad that simulates a section of a restaurant menu. Each item will have a different price and your program should define at least ten items.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd