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