Wumpus World Game

The Wumpus world is a game playing which provides an environment to the knowledge-based agent to showcase its stored knowledge. It was developed by Gregory Yob in 1973. About the game: It is a single-player game. It is a cave consisting of rooms which are connected with one-another via passways.

Wumpus World is a classic artificial intelligence problem, which is used to demonstrate various aspects of agent based simulation, as well as other AI concepts.

Wumpus was an early computer game in which an agent had to explore a cave made up from a series of interconnected rooms. In one of the rooms in the cave, there was a Wumpus which would kill the agent if it entered that room. Some rooms contained pits, and the agent would die if it entered any of those rooms too. The agent had one arrow with which it could kill the Wumpus. The goal was to locate the gold that was hidden somewhere in the cave and return to the start without getting killed.

My implementation differs slightly in that there can be more than one Wumpus in the level, gold can be in more than one room and the agent can start with any number of arrows.

The agent has a limited array of actions that it can execute, relying primarily on its senses to successfully navigate the cave and complete its objective. These actions and percepts are as follows:

This page describes the Wumpus-World in detail.Here you will find everything about the possible Percepts and Actions and they ways an agent can die in this Environment.

This special offer gives you full member access to our downloads. Modul8 for windows. That's how much we trust our unbeatable service.

The Rules of the game

The goal for an agent who has ventured into the Wumpus-Environmentis simple: Find as much pieces of gold as is possible without fallinginto a pit or being eaten by the Wumpus and leave the cave to enjoythe new-found fortune.To be able to survive in the environment an agent gets percepts from the environment. Those perceptstell an agent about its immediate surroundings and can be taken as a basis forthe actions an agent takes.

To be able to measure an agent's ability to fulfill this goal the following scheme for awarding a score to the agent is used:

  • The agent starts its quest for gold with a score of zero points.
  • For every action an agent takes its score is decreased by one point.
  • For every piece of gold an agent finds its score is increased by thousand points.
  • If an agent dies its final score is minus ten thousand points.
  • If an agent leaves the cave its final score is the amount of points he had when leaving the cave.

The possible ( Re )-Actions

Note:

Small icons are displayed at the side of each agent that represent themove they attempt to make.

Wheter the move was successful or not is displayed with a frame arroundthis icon.

If the frame-color is green the agent made a successful move.In case of the contrary the frame's color is red.

  • Movement to neighbouring fields exactly above, below ,left, or right of the agent
    • 'UP'
    • 'DOWN'
    • 'LEFT'
    • 'RIGHT'

    These moves are only possible if no Wall is blocking the way. In case of such a blocked move a 'BUMP'-Percept will be generated, but the agent will not move.

  • Shooting a javelin/arrow in one of the four wind-directions:
    • 'SHOOT_UP'
    • 'SHOOT_DOWN'
    • 'SHOOT_LEFT'
    • 'SHOOT_RIGHT'

    These actions will result in a the throw of a javelin or arrow ( if the agent still has some left when it attempts to shoot ) that kills the Wumpus if its position is in the wind direction of the javelin. If the Wumpus is not hit the javelin will break at the first wall it hits and break into pieces.

  • Getting the gold:
    • 'GRAB'

    This action is only successful if there is at least one piece of gold in the current field. In this case the agent will pick up one piece.

  • Leaving the cave through:
    • 'CLIMB'

    This move is only sucessful in the starting/exit field (the one marked by the green exit-sign ). Wheter the 'CLIMB' was or was not sucessful the agent will only know by that fact that it is still in the Wumpus-World or not.

The possible Percepts

The two ways of dying

Navigation:

last modified: Sa. Mamiya c3 how to use the. June 06 14:34:54 1997by Christian Schwaiger

email to: webmaster@mahler.kr.tuwien.ac.at