Skip to content

Wumpus world is a simple world example to illustrate the worth of a knowledge-based agent and to represent knowledge representation.

Notifications You must be signed in to change notification settings

NyanCyanide/Wumpus-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wumpus World

Wumpus World is a game that depicts the value of a knowledge-based agent and the interpretation of that knowledge with the help of reasoning and planning. Wumpus World

What is the game?

The Wumpus World is 6×6 cave with 36 rooms connected to each other passageways (slightly modified from the actual). The knowledge-based agent goes forward in this world.

In Wumpus World:

  • The Cave has a room with a Wumpus, and the game is over when the agent enters the room; however, the Wumpus stays in one room
  • The agent is given a single arrow that can be used to kill the Wumpus.
  • There are some "Pits" rooms in the cave, and if the agent falls in a Pit, they will be stuck there forever.

Goal

  • The cave has one room with the possibility of a heap of gold. the agent's goal is to find this gold.

Simple Meaning

  • Win the game by finding the room having gold by avoid falling into "pits" and getting eaten by "Wumpus Monster".

Knowledge-Based Agent

  • You will be playing as Knowledge-Based Agent that finds the room containing Gold.
  • The Agent will also have an arrow to kill the Wumpus Monster. The Knowledge-Based Agent has sensors as followed
  • Room containing Gold, glittersto adjacent rooms.
  • Room containing Pit, breezes to adjacent rooms.
  • Room containing Wumpus, stenchesto adjacent rooms.

Controls

[←] = Move Left [→] = Move Right [↑] = Move Up [↓] = Move Bottom [SPACE] = Select/Deselect Arrow [SPACE + Arrow Keys] = Shoot [R] = Reset the Game

To run the Game

$ python -u "main.py"

  • I do not own any of the fonts that are used in the game.
  • All the best finding gold! 😀

About

Wumpus world is a simple world example to illustrate the worth of a knowledge-based agent and to represent knowledge representation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages