Find Jobs
Hire Freelancers

build me a path finding algorithm to solve a type of puzzle that occurs in many video games

£20-250 GBP

Terminado
Publicado hace más de 2 años

£20-250 GBP

Pagado a la entrega
The basic version that we will be dealing with is this: .....0...S ....0..... 0.....0..0 ...0....0. .F......0. .0........ .......0.. .0.0..0..0 0......... .00.....0. The player starts at the location labelled “S” and wants to reach the finish, labelled “F”. Each turn they choose one of the four cardinal directions to move. However, except for S and F the floor is covered in frictionless ice, so they will keep sliding in the chosen direction until they hit the wall surrounding the area, or one of the rocks (labelled “0”). For example, starting in the map given above: .....0...@ ....0..... 0.....0..0 ...0....0. .F......0. .0........ .......0.. .0.0..0..0 0......... .00.....0. the player (“@”) moving left would end up here: .....0@..S ....0..... 0.....0..0 ...0....0. .F......0. .0........ .......0.. .0.0..0..0 0......... .00.....0. So we are dealing with the problem of finding a path from S to F, but the reachability relation between points is not the usual one. Tasks to be performed: Task 1 : Set up a project in netbeans Java Task 2 : Choose and implement a data structure that can represent maps such as the one in the example. It must provide the necessary infrastructure for finding a shortest path from the start to the finish. Task 3 : Add a simple parser that can read a map like the one in the example from an input file. It needs to determine the width and height and the locations of the start and finish square as well as the rocks. The structure of the files will look like in the example, i.e., use ‘.’/’0’/’S’/’F’ for empty (ice) squares, rocks, the start and the finish. Your parser should be able to handle all input files which have this format. We will provide benchmark examples for your performance analysis, but you may also want to create some yourself to test your implementation. Task 4 : Choose and implement an algorithm that finds the shortest path from the start to the finish in any given map, if one exists (all the benchmarks we provide will have a solution). It should output all the steps of the solution it found, e.g., for the example above: 1. Start at (10,1) 2. Move left to (7,1) 3. Move down to (7,2) 4. Move left to (6,2) 5. Move down to (6,10) 6. Move right to (8,10) 7. Move up to (8,8) 8. Move right to (9,8) 9. Move up to (9,6) 10. Move left to (3,6) 11. Move up to (3,1) 12. Move left to (1,1) 13. Move down to (1,2) 14. Move right to (4,2) 15. Move down to (4,3) 16. Move left to (2,3) 17. Move down to (2,5) 18. Done! Where the squares are numbered left to right, top to bottom. To be submitted: • Your zipped source code (for Tasks 1 to 4) in Java netbeans I have uploaded file with all the benchmarks as I said above the program should have a parser to read these files.
ID del proyecto: 32479351

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 2 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
Hi there, I checked your requirements and guarantee you it's gonna be done within the next few hours. Let's contact via chat so that I can start work immediately. Wish you the best. -------------------------------
£50 GBP en 2 días
5,0 (49 comentarios)
5,1
5,1
4 freelancers están ofertando un promedio de £121 GBP por este trabajo
Avatar del usuario
Hi there, I have thoroughly gone through your project description, I'm an expert and I can help you. Kindly send me a message. I am a senior engineer with rich experience in Java, Algorithm, Netbeans. I am a Python developer with 5+ years of experience Skills: PyQt, PySide/PyQt,Scrapy, BeautifulSoup Java, C++, C#, SQL, 4, Pillow, Matplotlib, Xml, PHP, Django json, and csv modules. Expert in statistical analysis of datasets/images and apply ML/DL algorithm with python (Tensorflow, Keras,Pytorch) and R. I am interested in taking up this task for you and I hope I could awake your interest in me. Please kindly send me a message in chat window for more about the project and to adjust price, note price quoted in bid is not the final price, it can be less or more after discussing the project. I am always online, work hard and very sensitive to details. I hope to read from you in chat box. Best regards
£135 GBP en 5 días
5,0 (2 comentarios)
3,3
3,3
Avatar del usuario
Hello? How are you? Thanks for posting this job. I am a Senior Java developer with 7+ years experience in JavaFX and Java Swing. I have been doing this kind of Java projects many times. Please let me know. Best Regards
£100 GBP en 2 días
5,0 (1 comentario)
2,4
2,4

Sobre este cliente

Bandera de UNITED KINGDOM
London, United Kingdom
5,0
2
Forma de pago verificada
Miembro desde mar 18, 2020

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.