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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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