Merge branch 'vendor/DHCPCD'
[dragonfly.git] / games / battlestar / battlestar.6
1 .\"     $NetBSD: battlestar.6,v 1.15 2005/09/15 02:09:41 wiz Exp $
2 .\"
3 .\" Copyright (c) 1983, 1993
4 .\"     The Regents of the University of California.  All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\"    notice, this list of conditions and the following disclaimer in the
13 .\"    documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the University nor the names of its contributors
15 .\"    may be used to endorse or promote products derived from this software
16 .\"    without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" SUCH DAMAGE.
29 .\"
30 .\"     @(#)battlestar.6        8.1 (Berkeley) 5/31/93
31 .\"
32 .Dd June 27, 2020
33 .Dt BATTLESTAR 6
34 .Os
35 .Sh NAME
36 .Nm battlestar
37 .Nd a tropical adventure game
38 .Sh SYNOPSIS
39 .Nm
40 .Op Fl r
41 .Op Ar saved-file
42 .Sh DESCRIPTION
43 .Nm
44 is an adventure game in the classic style.
45 However, it's slightly less of a puzzle and more a game of exploration.
46 There are a few magical words in the game, but on the whole, simple English
47 should suffice to make one's desires understandable to the parser.
48 .Sh THE SETTING
49 In the days before the darkness came, when battlestars ruled the heavens...
50 .Bd -literal -offset indent
51 Three He made and gave them to His daughters,
52 Beautiful nymphs, the goddesses of the waters.
53 One to bring good luck and simple feats of wonder,
54 Two to wash the lands and churn the waves asunder,
55 Three to rule the world and purge the skies with thunder.
56 .Ed
57 .Pp
58 In those times great wizards were known and their powers were beyond belief.
59 They could take any object from thin air, and, uttering the word
60 .Sq su
61 could disappear.
62 .Pp
63 In those times men were known for their lust for gold and desire to
64 wear fine weapons.
65 Swords and coats of mail were fashioned that could withstand a laser blast.
66 .Pp
67 But when the darkness fell, the rightful reigns were toppled.
68 Swords and helms and heads of state went rolling across the grass.
69 The entire fleet of battlestars was reduced to a single ship.
70 .Sh SAMPLE COMMANDS
71 .Bd -literal -offset indent
72 take    ---     take an object
73 drop    ---     drop an object
74
75 wear    ---     wear an object you are holding
76 draw    ---     carry an object you are wearing
77
78 put on  ---     take an object and wear it
79 take off --     draw an object and drop it
80
81 throw  \*[Lt]object\*[Gt] \*[Lt]direction\*[Gt]
82
83 !       \*[Lt]shell esc\*[Gt]
84 .Ed
85 .Sh IMPLIED OBJECTS
86 .Bd -literal -offset indent
87 \*[Gt]-: take watermelon
88 watermelon:
89 Taken.
90 \*[Gt]-: eat
91 watermelon:
92 Eaten.
93 \*[Gt]-: take knife and sword and apple, drop all
94 knife:
95 Taken.
96 broadsword:
97 Taken.
98 apple:
99 Taken.
100 knife:
101 Dropped.
102 broadsword:
103 Dropped.
104 apple:
105 Dropped.
106 \*[Gt]-: get
107 knife:
108 Taken.
109 .Ed
110 .Pp
111 Notice that the "shadow" of the next word stays around if you
112 want to take advantage of it.
113 That is, saying "take knife" and then "drop"
114 will drop the knife you just took.
115 .Sh SCORE \*[Am] INVEN
116 The two commands
117 .Dq score
118 and
119 .Dq inven
120 will print out your current status in the game.
121 .Sh SAVING A GAME
122 The command
123 .Dq save
124 will save your game in a file called
125 .Pa .Bstar
126 in your home directory by default.
127 You can recover a saved game by using the
128 .Fl r
129 option when you start up the
130 game, or by giving the name of the saved file as an argument.
131 Save files will be saved to and restored from your home directory unless a
132 path is specified - i.e.,
133 .Dq Li battlestar -r savedgame
134 will look for
135 .Pa savedgame
136 in your home directory, but
137 .Dq Li battlestar -r ./savedgame
138 will look in the current directory.
139 .Dq Li battlestar -r
140 will look for the default file,
141 .Pa .Bstar
142 in your home directory.
143 .Sh DIRECTIONS
144 The compass directions N, S, E, and W can be used if you have a compass.
145 If you don't have a compass, you'll have to say R, L, A, or B, which
146 stand for Right, Left, Ahead, and Back.
147 Directions printed in room descriptions are
148 always printed in R, L, A, and B relative directions.
149 .Sh HISTORY
150 I wrote Battlestar in 1979 in order to experiment with the niceties of
151 the C Language.
152 Most interesting things that happen in the game are hardwired into the
153 code, so don't send me any hate mail about it!
154 Instead, enjoy art for art's sake!
155 .Sh AUTHORS
156 .An David Riggle
157 .Sh INSPIRATION \*[Am] ASSISTANCE
158 .Bl -item -compact
159 .It
160 Chris Guthrie
161 .It
162 Peter Da Silva
163 .It
164 Kevin Brown
165 .It
166 Edward Wang
167 .It
168 Ken Arnold \*[Am] Company
169 .El
170 .Sh BUGS
171 Countless.
172 .Sh FAN MAIL
173 Send to edward%ucbarpa@berkeley.arpa, chris%ucbcory@berkeley.arpa,
174 riggle.pa@xerox.arpa.