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