games - misc - clean up compiler warnings
[games.git] / games / wump / wump.6
CommitLineData
984263bc
MD
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 $
dbdcd5cf 37.\" $DragonFly: src/games/wump/wump.6,v 1.3 2005/08/01 00:21:07 swildner Exp $
984263bc 38.\"
dbdcd5cf
SW
39.Dd May 31, 1993
40.Dt WUMP 6
41.Os
42.Sh NAME
43.Nm wump
44.Nd hunt the wumpus in an underground cave
45.Sh SYNOPSIS
46.Nm
47.Op Fl h
48.Op Fl a Ar arrows
49.Op Fl b Ar bats
50.Op Fl p Ar pits
51.Op Fl r Ar rooms
52.Op Fl t Ar tunnels
53.Sh DESCRIPTION
984263bc 54The game
dbdcd5cf 55.Nm
984263bc 56is based on a fantasy game first presented in the pages of
dbdcd5cf 57.Em "People's Computer Company"
984263bc 58in 1973.
dbdcd5cf
SW
59In
60.Nm
61you are placed in a cave built of many different rooms,
984263bc
MD
62all interconnected by tunnels.
63Your quest is to find and shoot the evil Wumpus that resides elsewhere in
64the cave without running into any pits or using up your limited supply of
65arrows.
dbdcd5cf 66.Pp
984263bc 67The options are as follows:
dbdcd5cf
SW
68.Bl -tag -width ".Fl t Ar tunnels"
69.It Fl a Ar arrows
984263bc
MD
70Specifies the number of magic arrows the adventurer gets.
71The default is five.
dbdcd5cf 72.It Fl b Ar bats
984263bc
MD
73Specifies the number of rooms in the cave which contain bats.
74The default is three.
dbdcd5cf 75.It Fl h
984263bc
MD
76Play the hard version -- more pits, more bats, and a generally more
77dangerous cave.
dbdcd5cf 78.It Fl p Ar pits
984263bc
MD
79Specifies the number of rooms in the cave which contain bottomless pits.
80The default is three.
dbdcd5cf 81.It Fl r Ar rooms
984263bc
MD
82Specifies the number of rooms in the cave.
83The default cave size is twenty-five rooms.
dbdcd5cf 84.It Fl t Ar tunnels
984263bc
MD
85Specifies the number of tunnels connecting each room in the cave to
86another room.
87Beware, too many tunnels in a small cave can easily cause it to collapse!
88The default cave room has three tunnels to other rooms.
dbdcd5cf
SW
89.El
90.Pp
984263bc
MD
91While wandering through the cave you'll notice that, while there are tunnels
92everywhere, there are some mysterious quirks to the cave topology, including
93some tunnels that go from one room to another, but not necessarily back!
94Also, most pesky of all are the rooms that are home to large numbers of bats,
95which, upon being disturbed, will en masse grab you and move you to another
96portion of the cave (including those housing bottomless pits, sure
97death for unwary explorers).
dbdcd5cf 98.Pp
984263bc
MD
99Fortunately, you're not going into the cave without any weapons or tools,
100and in fact your biggest aids are your senses; you can often smell the
101rather odiferous Wumpus up to
dbdcd5cf 102.Em two
984263bc
MD
103rooms away, and you can always feel the drafts created by the occasional
104bottomless pit and hear the rustle of the bats in caves they might be
105sleeping within.
dbdcd5cf 106.Pp
984263bc
MD
107To kill the wumpus, you'll need to shoot it with one of your magic arrows.
108Fortunately, you don't have to be in the same room as the creature, and can
109instead shoot the arrow from as far as three or four rooms away!
dbdcd5cf 110.Pp
984263bc
MD
111When you shoot an arrow, you do so by typing in a list of rooms that you'd
112like it to travel to.
113If at any point in its travels it cannot find a tunnel to the room you
114specify from the room it's in, it will instead randomly fly down one of the
115tunnels, possibly, if you're real unlucky, even flying back into the room
116you're in and hitting you!