I need a maze path finder made in c#. This needs to use Stack and Queue to solve.
The program will use linked list or tree to implement the virtual maze board.
Keep track of visited squares
Two versions one stack and one queue
The input text file to be solved will be 4 x 6. 0 is path and 1 is wall.
Output should show like the image attached. The visited nodes should show as v and printed to the console after each move. When the path is found the path will be shown as 3s. The program should be able to find multiple path to single exit or multiple exit.
Push the starting square to the stack.
While more steps are possible:
Pop a square from the stack.
If it is the goal, break here.
If it is not the start, mark it as visited.
Examine the squares below, to the right, above, and to the left of the current square. If they are valid then push them.
Make sure the top item on your stack is not visited. Pop any already visited items.
If the stack is empty, declare failure (no more steps).
This is a simple beginner task that needs completing as a beginner would. No advanced methods.
Thank you and good luck
13 freelancer đang chào giá trung bình £150 cho công việc này
I have already ever similar algorithm before and I can do your project perfectly in time. I will work quickly, reliably and communicate kindly & quickly. I hope you to keep in touch with me.
Hello, dear. I see you want to make Path finding using c#. I have made similar puzzle solving programs with c#, let me show you. This job is very easy for me. Thanks.
Hi, I have 9 years experience in web and app development I have checked your requirements and understand as well. I have created SIMILAR in past. Do you want to DEMO?? Thanks.
hello sir , i'm a software engineer and also i'm a problem solver , i used to solve problems like this , and i can solve it easily , i can do it using c# , c++ you choose , thank you