To see our code and run the simulation:
The Wumpus World Project challenges students to program a robot that can traverse through a 4x4 grid of obstacles to reach a bar of gold and return to its start position. At the start, the robot does not know the location of any objects on the board. However, as the robot moves it receives clues from its environment.
SAMPLE FIELD
FIELD ELEMENTS(click to learn more)
This is the robot! It is able to go up, down, left, and right.
If the robot lands on a spot with a Wumpus, the Wumpus will kill it! But if it lands on a spot next to a Wumpus it smells a stench. It can also shoot and kill the wumpus if it knows where it is.
If the robot lands on a pit, it will fall! If it lands on a spot next to a pit it will feel a breeze.
If the robot lands on a spot with gold the challenge is complete. If it lands on a spot next to the gold it feels a breeze.
Rules
The robot can only receive signals from elements if they are directly next to them(no diagonals)!
2. The robot only has 1 bullet. So use it wisely!!
3. The board must be solvable through logic.
Our robot:
Sprite 1 is a robot designed to complete the Wumpus World Problem. It uses the clues it was given to find a safe path to the gold.