xref: /openbsd-src/games/wump/wump.6 (revision 9490d37cb6a2f9c8feb8d4b7f9c43b2ac41784aa)
1*9490d37cSjmc.\"	$OpenBSD: wump.6,v 1.9 2007/05/31 19:19:19 jmc Exp $
2df930be7Sderaadt.\"
3df930be7Sderaadt.\" Copyright (c) 1989, 1993
4df930be7Sderaadt.\"	The Regents of the University of California.  All rights reserved.
5df930be7Sderaadt.\"
6df930be7Sderaadt.\" This code is derived from software contributed to Berkeley by
7df930be7Sderaadt.\" Dave Taylor, of Intuitive Systems.
8df930be7Sderaadt.\"
9df930be7Sderaadt.\" Redistribution and use in source and binary forms, with or without
10df930be7Sderaadt.\" modification, are permitted provided that the following conditions
11df930be7Sderaadt.\" are met:
12df930be7Sderaadt.\" 1. Redistributions of source code must retain the above copyright
13df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer.
14df930be7Sderaadt.\" 2. Redistributions in binary form must reproduce the above copyright
15df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer in the
16df930be7Sderaadt.\"    documentation and/or other materials provided with the distribution.
177a09557bSmillert.\" 3. Neither the name of the University nor the names of its contributors
18df930be7Sderaadt.\"    may be used to endorse or promote products derived from this software
19df930be7Sderaadt.\"    without specific prior written permission.
20df930be7Sderaadt.\"
21df930be7Sderaadt.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22df930be7Sderaadt.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23df930be7Sderaadt.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24df930be7Sderaadt.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25df930be7Sderaadt.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26df930be7Sderaadt.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27df930be7Sderaadt.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28df930be7Sderaadt.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29df930be7Sderaadt.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30df930be7Sderaadt.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31df930be7Sderaadt.\" SUCH DAMAGE.
32df930be7Sderaadt.\"
33df930be7Sderaadt.\"	@(#)wump.6	8.1 (Berkeley) 5/31/93
34df930be7Sderaadt.\"
35*9490d37cSjmc.Dd $Mdocdate: May 31 2007 $
36df930be7Sderaadt.Dt WUMP 6
37df930be7Sderaadt.Os
38df930be7Sderaadt.Sh NAME
39df930be7Sderaadt.Nm wump
40df930be7Sderaadt.Nd hunt the wumpus in an underground cave
41df930be7Sderaadt.Sh SYNOPSIS
42a702fa09Spjanzen.Nm wump
43077eda3bSpjanzen.Op Fl ho
44df930be7Sderaadt.Op Fl a Ar arrows
45df930be7Sderaadt.Op Fl b Ar bats
46df930be7Sderaadt.Op Fl p Ar pits
47df930be7Sderaadt.Op Fl r Ar rooms
48df930be7Sderaadt.Op Fl t Ar tunnels
49df930be7Sderaadt.Sh DESCRIPTION
50df930be7SderaadtThe game
511ed0e75dSpjanzen.Nm
52df930be7Sderaadtis based on a fantasy game first presented in the pages of
53df930be7Sderaadt.Em People's Computer Company
54df930be7Sderaadtin 1973.
55df930be7SderaadtIn Hunt the Wumpus you are placed in a cave built of many different rooms,
56df930be7Sderaadtall interconnected by tunnels.
57df930be7SderaadtYour quest is to find and shoot the evil Wumpus that resides elsewhere in
58df930be7Sderaadtthe cave without running into any pits or using up your limited supply of
59df930be7Sderaadtarrows.
60df930be7Sderaadt.Pp
61df930be7SderaadtThe options are as follows:
62df930be7Sderaadt.Bl -tag -width indent
63778b87eaSjmc.It Fl a Ar arrows
64df930be7SderaadtSpecifies the number of magic arrows the adventurer gets.
65df930be7SderaadtThe default is five.
66778b87eaSjmc.It Fl b Ar bats
67df930be7SderaadtSpecifies the number of rooms in the cave which contain bats.
68df930be7SderaadtThe default is three.
69df930be7Sderaadt.It Fl h
70df930be7SderaadtPlay the hard version -- more pits, more bats, and a generally more
71df930be7Sderaadtdangerous cave.
72077eda3bSpjanzen.It Fl o
73077eda3bSpjanzenPlay the original version, where there are twenty rooms arranged on the
743bfc9584Spjanzenvertices of a dodecahedron, connected by the edges.
753bfc9584SpjanzenIn this case, the default is two pits and two bat rooms.
76778b87eaSjmc.It Fl p Ar pits
77df930be7SderaadtSpecifies the number of rooms in the cave which contain bottomless pits.
78df930be7SderaadtThe default is three.
79778b87eaSjmc.It Fl r Ar rooms
80df930be7SderaadtSpecifies the number of rooms in the cave.
81df930be7SderaadtThe default cave size is twenty-five rooms.
82778b87eaSjmc.It Fl t Ar tunnels
83df930be7SderaadtSpecifies the number of tunnels connecting each room in the cave to
84df930be7Sderaadtanother room.
85df930be7SderaadtBeware, too many tunnels in a small cave can easily cause it to collapse!
86df930be7SderaadtThe default cave room has three tunnels to other rooms.
87df930be7Sderaadt.El
88df930be7Sderaadt.Pp
89df930be7SderaadtWhile wandering through the cave you'll notice that, while there are tunnels
90df930be7Sderaadteverywhere, there are some mysterious quirks to the cave topology, including
91df930be7Sderaadtsome tunnels that go from one room to another, but not necessarily back!
92df930be7SderaadtAlso, most pesky of all are the rooms that are home to large numbers of bats,
93df930be7Sderaadtwhich, upon being disturbed, will en masse grab you and move you to another
94df930be7Sderaadtportion of the cave (including those housing bottomless pits, sure
95df930be7Sderaadtdeath for unwary explorers).
96df930be7Sderaadt.Pp
97df930be7SderaadtFortunately, you're not going into the cave without any weapons or tools,
98df930be7Sderaadtand in fact your biggest aids are your senses; you can often smell the
99df930be7Sderaadtrather odiferous Wumpus up to
100df930be7Sderaadt.Em two
101df930be7Sderaadtrooms away, and you can always feel the drafts created by the occasional
102df930be7Sderaadtbottomless pit and hear the rustle of the bats in caves they might be
103df930be7Sderaadtsleeping within.
104df930be7Sderaadt.Pp
105df930be7SderaadtTo kill the wumpus, you'll need to shoot it with one of your magic arrows.
106df930be7SderaadtFortunately, you don't have to be in the same room as the creature, and can
107df930be7Sderaadtinstead shoot the arrow from as far as three or four rooms away!
108df930be7Sderaadt.Pp
109df930be7SderaadtWhen you shoot an arrow, you do so by typing in a list of rooms that you'd
110df930be7Sderaadtlike it to travel to.
111df930be7SderaadtIf at any point in its travels it cannot find a tunnel to the room you
112df930be7Sderaadtspecify from the room it's in, it will instead randomly fly down one of the
113df930be7Sderaadttunnels, possibly, if you're real unlucky, even flying back into the room
114df930be7Sderaadtyou're in and hitting you!
115