Skip to content

misgana96/wumpus_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wumpus World

Introduction

Wumpus world is a knowledge based AI game. In this game an agent behave intelligently to decide where to go and what to do. He faces wumpus, pits, and other obstacles. When it gets the gold in the room then it gets score and won the game.

wumpus world coordinates

(0,0) (0,1) (0,2) (0,3)
(1,0) (1,1) (1,2) (1,3)
(2,0) (2,1) (2,2) (2,3)
(3,0) (3,1) (3,2) (3,3)
  • four by four wumpus world
  • room(3,0) is occupied by an agent
  • room(2,0) and room(3,1) are safe room or okroom by default means the game start tis two rooms are not occupied by wumpus or pits and also gold

Assumptions

  • each room is represented with coordinates of points represented with row and col
  • row and col counting started from up and goes to down so that zero is min border and three is max border

Perception

An agent percept signals from adjacent rooms. If there is a wumpus adjacent to it then an agent percet stench and if there is a pit then it percepts a breeze and if their is a gold then the gold will glitter.

Installation

In order to use or make changes to this repository, you need to meet and follow the following requirements

pre-requests

  • g++ compiler
  • git
  • An editor

Once the above requirement are fulfilled, do the following

git clone https://github.com/misgana96/wumpus_world.git
mkdir build
cd build

how to build

cmake ../
cmake --build .

how to run test

cd build/Test/wumpus
./wumpustest

how to run the program

cd build /Wumpus/main
./main

to do

  • implemement main for test to run all test from main

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published