Find Jobs
Hire Freelancers

Prolog development

$10-30 USD

Terminado
Publicado hace alrededor de 8 años

$10-30 USD

Pagado a la entrega
I need this WUmpus world problem coded in prolog The Wumpus World Problem The Wumpus World The Wumpus world is a 4x4 grid of squares. The world contains a Wumpus, a pile of gold, and any number of pits. Each of these items is in a square of the grid. No square contains two of these items, some squares contain none of these items, and the items do not move. The robot starts in the lower left square facing up, and the goal of the robot is to get to the square with the gold and return to the start square with it, without running into the Wumpus or a pit. The robot has one arrow with which it can shoot and kill the Wumpus. You can assume that the world is such that an infinitely smart being can solve the puzzle without guessing (and without knowing this particular fact). When a robot is in a square that is next to the square with the Wumpus, the robot smells a horrible smell. When the robot is in a square that is next to the square with the pile of gold, the robot sees a glitter. When the robot is in a square that is next to the square with a pit, the robot feels a breeze. If a square is next to multiple items, the robot gets multiple clues (e.g. if the robot is on a square that is next to a square with the Wumpus, as well as next to a square with a pit, the robot will sense a smell as well as a breeze). Being next to multiple pits does not ‘increase’ the breeze: the robot will simply feel a breeze. When the Wumpus has been killed, the square becomes an empty square, and the smells in the adjacent squares go away. Game Play Your robot should move from square to square. An infrared signal from a remote will be used to indicate whether an adjacent square contains a smell, breeze, glitter, or any combination thereof. The infrared signal has a range of one cell. There are two stages in the game: the first stage is looking for the gold, the second is going back to the lower left square. During stage one the robot can stop in any square and get a signal from the remote indicating what’s in the adjacent squares before moving on. There is no need to stop in every square though, e.g. if the robot already knows what is in a square then the robot can simply move through that square to a different square if it is safe to do so. Once the robot has the gold, the robot gets no more signals (as it should know how to get back safely), so stopping in a square has no use. To successfully shoot the Wumpus the robot has to be in the square adjacent to the Wumpus, and face the square with the Wumpus. The robot can simply display an appropriate message on the screen. After the robot shoots the arrow, the robot should move to a new square before getting a new signal. The game is lost when the robot moves into a square with a pit or the Wumpus.
ID del proyecto: 10294147

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 8 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 Sir... I am a computer science tutor, I teach (among others) Prolog and Algorithms. I have done many projects like this, and I'm one of the top Prolog developers, you can check here please: https://www.freelancer.com/freelancers/skills/Prolog/ Please contact me for more details when possible. I look forward to work for you Sir. Best Regards.
$100 USD en 3 días
5,0 (62 comentarios)
5,7
5,7

Sobre este cliente

Bandera de IRELAND
Qaungo, Ireland
5,0
1
Miembro desde abr 22, 2016

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.