Skip to content

Vcarmelli/Wumpus-World-AI-Project

Repository files navigation

✨Wumpus World Game

Welcome to the Wumpus Game Space Edition! Explore the depths of space in this adaptation of the classic Wumpus World game.

How to Play

  1. Objective: The mission is to navigate the treacherous space caverns, locate the golden treasure, and avoid dangerous hazards lurking in the darkness of space.

  2. Symbols:

Gold Wumpus Pit Stench Breeze
Gold Wumpus Pit Stench Breeze
  1. Game Phases:

    • Setup: The game randomly generates the cave layout, placing the wumpus, pits, and gold.
    • AI Agent Move: The AI agent makes a move based on its perception of the environment and the knowledge base it maintains.
    • Game Over: The game ends if you are eaten by the wumpus, fall into a pit, or successfully retrieve the gold.
  2. Scoring System:

    • Moving: -1 point per move
    • Use of arrows: -10 points
    • Retrieving gold: +1000 points
    • Killing a Wumpus: +2000 points
  3. Winning Condition:

    • Retrieve the gold and make it back to the starting position.

How to Run

  1. Clone this repository. https://github.com/Vcarmelli/wumpus-world.git
  2. Navigate to the directory containing the game files.
  3. Run the following command:
python main.py

Dependencies

  • Python 3.11
  • Pygame 2.5.2

Screenshots

Here are some screenshots of the game:

Title Screen

Title Screen

Game Description

Game Description

Main Game

Starting Phase

Starting Phase

Ending Phases

Fall into Pit

Fall into Pit

Eaten by Wumpus

Eaten by Wumpus

Retreiving Gold

Winning Phase

Enjoy the adventure in the Wumpus World!


Machine Problem 5 by Vashti Karmelli V. Camu

About

An adaptation of the classic Wumpus World game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages