# Hunt The Wumpus

This version of the classic game was written by Matthew Denson while teaching kids Python as an excercise. Feel free to use for the same purpose.

Or just to play!

## History

This is a python version of the venerable Hunt the Wumpus game written by Gregory Yob 1972.

## Instructions

Welcome to "Hunt the Wumpus"
============================
The wumpus lives in a cave of 20 rooms. Each room
has 3 tunnels leading to other rooms. (Look at a
dodecahedron to see how this works. If you don't know
what a dodecahedron is, ask someone.)

Hazards:
--------
Bottomless pits - Two rooms have bottomless pits in them
if you go in there, you will fall into the pit (& lose!)
Super bats - Two other rooms have super bats. If you
go there, a bat grabs you and takes you to some other
room at random. (Which might be troublesome.)

Wumpus:
-------
The wumpus is not bothered by the hazards. (He has sucker
feet and is too big for a bat to lift.) Usually he is asleep.
Two things wake him up: your entering his room or your shooting
an arrow.
If the wumpus wakes, he moves (P=.75) one room or stays
still (P=.25). After that, if he is where you are, he eats you
up (& you lose!)

You:
----
Each turn you may move or shoot a crooked arrow.
- Moving: You can go one room (thru one tunnel.)
- Arrows: You have 5 arrows. You lose when you run out.
Each arrow can go from 1 to 5 rooms. You aim
by telling  the computer the room #s you want the
arrow to go to.
If the arrow can't go that way (i.e. no tunnel)
it moves at random to the next room.
- If the arrow hits the wumpus, you win.
- If the arrow hits you, you lose.

Warnings:
---------
When you are one room away from wumpus or a hazard, the
computer says:
- Wumpus "I smell a wumpus!"
- Bat    "Bats nearby!"
- Pit    "I feel a draft!"