
I need a java programer
$30-250 USD
Paid on delivery
Walking a Maze
The starting position for your jeroo will always be at location (1, 1). After running the maze, the jeroo should always end at the same position where it started.
The catch is that Maze Island changes every time. Sometimes it is wider, sometimes narrower--the only constant is that it is rectangular and surrounded by water. Flowers can grow anywhere and everywhere on the island. Also, there may be up to ten nets located on the island, although there will never be a net at the starting position, (1, 1). Your Jeroo is guaranteed that there will always be enough available flowers on the island plus its starting flowers to disable every net.
Further, you will have to write software tests to demonstrate your jeroo can handle this task.
How to Walk a Maze
While there are many strategies for navigating through a maze, one easy strategy is to simply hug the righthand "wall" (that is, water, or coastline) as you walk through the maze--you'll eventually make it all the way through the maze, back to your starting position (hugging the lefthand wall also works the same way, as long as you always stick to one side). If you traverse the maze completely, ending back at the starting location you are then ensured that all the flowers and nets have been cleared. You can use this strategy to create a simple maze walker (or runner) with just a few lines of code. Other strategies are possible, of course, so use the one you find easiest to understand.
Designing Your Solution
Download the scenario for this assignment, which contains the MazeIsland class: [login to view URL] Download program02-download.zip.
In the program02 project, you do not need to create any island subclasses. Instead, create your own subclass of Jeroo called MazeRunner, and structure all of your solution code in it (see below). You can give your MazeIsland a myProgram() method that will create an instance of your jeroo subclass, place it at the starting position, and call its clearMaze() method.
MazeRunner Requirements
Constructor: Your MazeRunner class must provide a constructor that takes no parameters and that creates the jeroo holding 10 flowers facing EAST (a parameterless constructor is called a default constructor), with initial x, y coordinates of (1, 1). You can choose to provide additional constructors if you wish. Remember that constructors are not inherited by subclasses. However subclass constructors can invoke super class constructors using the super() keyword.
clearMaze(): Your MazeRunner class must also provide a method called clearMaze() that causes it to collect all flowers, disable all nets, and return to its starting position. The Jeroo must achieve this goal by walking through every location in the maze before stopping back at the starting position.
Other methods: You can divide your solution into as many other methods as makes sense. Your goal is to produce a solution that is readable and that completely solves the problem, with clear understandable methods of your own design. How many methods and how you name them are left up to you, but the quality of your work matters.
Apply the guidelines for breaking problems up into methods. Including methods that are too long, or methods with poorly chosen names, will negatively affect your grade on the assignment.
Also, be wary of writing complex or convoluted if statements or loops. Generally speaking, if it is hard to write it will also be hard to understand and there is probably a simpler cleaner alternative that would be more effective for this problem. In particular, remember that the more complex your logic is (the more if statements, while loops, or complex conditions you have), the more likely there will be mistakes.
The solution need to keep very simple, only using while loops and if statements within the methods
Project ID: #36699523
About the project
18 freelancers are bidding on average $157 for this job
Hello Sir, I am expert java developer with huge experience in Data structure and Algorithms. As I reviewed your Maze Island assignment details it look perfect to me. I will do this assignment using your starter projec More
As a full time java developer since 2010 I can help you with this maze solution. Requirements are pretty clear, only need the deadline.
hello, i have read your project description and i can do it as required and on time . regards,
Hello, I have rich experience in Java programming . I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you correct and good results Contact me for more details, More
Hello I can do this. Please share the details of the task so that I can check and confirm accordingly.
Hi, We would like to grab this opportunity and will work till you get 100% satisfied with our work. We are an expert team which have many years of experience on Java, Software Architecture Lets connect in chat so th More
I can make this app easily, feel free to communicate with me . Note that : - you can make an update on app if you need .
I understand that you are looking for a java programmer to help you with your project. With over 8 years of experience in software architecture, I am confident that I can provide the necessary skills to complete your p More
I am writing to propose a solution for the task of navigating a maze as outlined in your project requirements. I will create a subclass called MazeRunner that extends the Jeroo class and implements a clearMaze() method More
Hi, Our proposed solution goes beyond the basic right-hand wall hugging approach and incorporates more sophisticated algorithms to optimize maze traversal. Our Approach: Pathfinding Algorithms: We will implement More
I have good knowledge of Java, SQL server, JSP, HTML, HTML5, CSS. Give me opportunity to developer project .
As the best candidate for this project, I possess a strong understanding of maze-solving algorithms and have extensive experience in Java programming, which is essential for developing the MazeRunner class. Knowledge More
Hi Greetings! We are team of software developers. We have big team of around 1500 software developers all over the world associated with us. We have developers working on almost all the technologies. We will assign yo More