Code Monkey home page Code Monkey logo

wumpus's Introduction

Hunt The Wumpus

The Wumpus World Simulator

Edited, Compiled, Modified by:

Author:

Copyright: 2012 - 2016

License: GNU GPL Version 2.0

Based on:

  • Original by Gregory Yob (1972)
  • Larry Holder (accessed version Oct/2005)
  • Walter Nauber 09/02/2001
  • An Anonymous version of Hunt The Wumpus with menus (aeric, 2012?)

Special thanks to:

A very special thanks to Gregory Yob (in memoriam) and beloved wife, who was kind enough to answer my call and share with me a picture to upload to his wikipedia page:

https://en.wikipedia.org/wiki/Gregory_Yob

Agents

Agent 001 and 005

Strategy:

- Lock a target and fulfill it. Targets can be 2 turns, 1 turn or 1 go forward
- Grab gold on sight
- Shoot as soon as it smells a Wumpus
- If wumpus dead, stump the body (go forward)
- If it smells and agent have no arrows, go around (safe mode)
- If it fells breeze, go back
- If wumpus dead or a piece of gold found, get out the cave
- If actions reach a dangerous amount, use the last to get out
- Nothing happening:
    + explore new squares
    + no new squares, explore random old squares

Note:

- Agent 001 is for fixed start position of the agent at [1,1]
- Agent 005 is for random agent start position

Agent 002

Strategy:

A prefixed list of actions fine-tuned for the fixed map Fig 62. The list have the actions that will run in order:

- lacoes([goforward,turnleft,goforward,goforward,turnleft,shoot,grab,turnleft,goforward,goforward,turnright,goforward,climb]).

Agent 004

Strategy:

Try to solve the Wumpus World without any use of memory.

- To avoid cicles the agent have lists tunned for each situation from where it draw a random member.

Agent 007

Strategy:

Headstrong: just go forward, stubborn as a mule, stiff-necked.

References

wumpus's People

Contributors

drbeco 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.