Find Jobs
Hire Freelancers

Maze in Java

$10-30 USD

Terminado
Publicado hace alrededor de 10 años

$10-30 USD

Pagado a la entrega
Write a Maze Explorer program, [login to view URL], that uses stacks and queues to implement an algorithm to escape from a maze. The overall pseudocode of the algorithm is the following. create an empty stack of locations to explore. push the start location onto the stack. while ( stack is not empty ) { pop a location loc from the stack. if we have pulled loc from the stack before: no need to explore it again, so skip loc. if loc is the end location: the end was reachable! else, loc is a new reachable non-finish location, so explore it: add all non-wall adjacent maze locations to the stack. record the fact that we have explored loc. } if the stack is empty, the finish is unreachable. A maze is specified by a file which contains a text encoding for the maze, where S represents the start location, F represents the finish location, W represents a wall, and O represents a location we can explore. A path through the maze can only consist of steps going left, right, up, or down, no diagonals are allowed. Two mazes are provided as input: [login to view URL] (in which the end is reachable) and [login to view URL] (inwhich, the end is not reachable). Here is a sample maze: WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WSOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOWOOOOOOW WWOOOOOOOOOOOOOWWWWWWWWWWWWWOOOOOOOOOOWWWWWWWWWWWWWOOOOOOW WWWWWWOOOOOOOOOOOOWWWWWWWOOOOOOOOOOOOWWWWWWWWWWWWWWWWOOOOW WOOOOOOWWWWWWWWWWWWWWOOOOOOOOOOOWWWWWWWWWWWOOOOOOOOOOOOWWW WOOOOWWWWWWWOOOOOOWWWWOOOOOOWWWWWWWWWWWOOOOWWWWWWWWWOWWWWW WOOOWWWWWWWWWWWWOOWWWWWWWWWWWWOOOOOOOOOOOOWWWWWWWWWOOOOOWW WOOWWWWWWWWWWWWWOOWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWWOOOW WOWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWOOW WOWWWWWWWWWWWWWOOOOOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWOOW WOOOOOOOOOOOOOOOOWWWWOOOOOOOOWWWWWWWOOOOOOWWWWWWWWWWWWWWFW WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW One possible solution: WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW WsOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOOOWOOOOOOOOOOOOOOOWOOOOOOW WWOOOOOOOOOOOOOWWWWWWWWWWWWWOOOOOOOOOOWWWWWWWWWWWWWOOOOOOW WWWWWWOOOOOOOOOOOOWWWWWWWOOOOOOOOOOOOWWWWWWWWWWWWWWWWOOOOW WOOOOOOWWWWWWWWWWWWWWOOOOOOOOOOOWWWWWWWWOOOOOOOOOOOOOOOWWW WOOOOWWWWWWWOOOOOOWWWWOOOOOOWWWWWWWWWWWOOOOWWWWWWWWWOWWWWW WOOOWWWWWWWWWWWWOOWWWWWWWWWWWWOOOOOOOOOOOOWWWWWWWWWOOOOOWW WOOWWWWWWWWWWWWWOOWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWWOOOW WOWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWOOOOOOOWWWWWWWWWWWOOW WOWWWWWWWWWWWWWOOOOOOOOOOOOOOOOOOOOOOOOOOOOWWWWWWWWWWWWOOW WOOOOOOOOOOOOOOOOWWWWOOOOOOOOWWWWWWWOOOOOOWWWWWWWWWWWWWOf W WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW Extra Credit: Come up with your own maze, submit it as myMaze.txt. Extra Extra Credit: Print a list of directions to follow from S to F.
ID del proyecto: 5524486

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
hello, i already make this algorithm before in one of my college Assignment. please refer to find the bomb project in my portfolio to see sc shoot about the maze that i did before..it have the same properties as your maze (start point,finish point, walls) thanks
$30 USD en 2 días
5,0 (7 comentarios)
2,7
2,7
7 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
$30 USD en 0 día
4,9 (282 comentarios)
6,5
6,5
Avatar del usuario
Hello, I am oracle certified professional java programmer and have Bsc,IT, I can surely help you, thanks
$27 USD en 0 día
5,0 (54 comentarios)
5,1
5,1
Avatar del usuario
hi mate this is Asad, i have a lot of experience in java programming would surely help you out with this ,cheers :)
$35 USD en 1 día
4,9 (8 comentarios)
3,3
3,3
Avatar del usuario
I have one year experience in java. I have done 6 years study in computers(BCA and MCA). I am Oracle Certified in Java also. I hope you will shortlist me for this job. I will do my work with perfection and 100% commitment. And I dont want any milestone before your satisfaction with my performance. Thanks
$25 USD en 3 días
1,0 (1 comentario)
1,1
1,1
Avatar del usuario
Senior Java programmer. Working in Java, Arduino and Android for more than 6 years. Can do it within a day. PM to discuss it.
$50 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I can do this easily I am going to get started tomorrow as it is very late over here in Ireland but I am going to create this anyway regardless if you accept my bid or not I should have it for you sometime tomorrow for you to have a look at and if you want to buy it you can
$20 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I have worked on many java project. This maze is easy for me, so, please give me help you. Thank you.
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Lynnwood, United States
5,0
10
Forma de pago verificada
Miembro desde feb 11, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.