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