Giter Club home page Giter Club logo

wumpus-world's Introduction

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! 😀

wumpus-world's People

Contributors

nyancyanide avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.