NAME
wumpus - Play the Wumpus game.
SYNOPSIS
$ wumpus
You are in room 2.
Tunnels lead to 1 4 6.
You have 5 arrows left.
command > m 1
You are in room 1.
Bats nearby!
Tunnels lead to 2 12 16.
You have 5 arrows left.
command > s 16 10
Wumpus moves to 6
Missed!
You are in room 1.
Bats nearby!
Tunnels lead to 2 12 16.
You have 4 arrows left.
command >
DESCRIPTION
You are in a cave system, carrying a bow and a set of arrows. A Wumpus hides somewhere in the cave system. It's your task to kill the Wumpus before it eats you.
To kill the Wumpus, you have to move around in the cave system to get near the Wumpus, then shoot it with one of your arrows.
The Wumpus will eat you if you are in the same room as it. The cave system also has a number of bottomless pits - you will not survive a fall in a pit. Furthermore, a number of large bats live in the cave system. They won't kill you, but if you enter a room with a bat, the bat will pick you up, and drop you in a random location - which may contain the Wumpus or a pit.
You have the following commands available:
M <number>
-
This command moves you to the room with the given number. Of course, you can only move to a room if there's a tunnel leading to it from your current location.
S <number> [<number> ...]
-
Shoots an arrow into one or more rooms (up to 5 rooms). All the rooms must be connect; if you enter a room number which doesn't form a path, a room at random will be choosen. You cannot pick shoot an arrow from one room, and then have it fly right back. You win the game if you shoot through the room the Wumpus is in. If the arrow flies back into the room you are in, you'r dead. Hitting a target (Wumpus or you) immediately stops the flight of the arrow. If you run out of arrows without killing the Wumpus, you lose the game.
If you shoot an arrow, and don't hit anything, there's a chance the Wumpus wakes up and moves to a different location.
Q
-
Quits the game.
H
and?
-
Displays a help message.
V
-
Print version info of the game.
If you are near a hazard (the Wumpus, a pit or a bat), a hint will be dropped.
BUGS
None currently known.
TODO
Implement options to allow variations in cave layout and hazard density.
ACKNOWLEDGEMENTS
Hunt the Wumpus was designed in 1972 by Gregory Yob, and written in BASIC.
SEE ALSO
http://en.wikipedia.org/wiki/Hunt_the_Wumpus
DEVELOPMENT
The current sources of this module are found on github, git://github.com/Abigail/Games--Wumpus.git.
AUTHOR
Abigail, mailto:wumpus@abigail.be.
COPYRIGHT and LICENSE
Copyright (C) 2009 by Abigail.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.