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 44is an adventure game in the classic style. 45However, it's slightly less of a puzzle and more a game of exploration. 46There are a few magical words in the game, but on the whole, simple English 47should suffice to make one's desires understandable to the parser. 48.Sh THE SETTING 49In the days before the darkness came, when battlestars ruled the heavens... 50.Bd -literal -offset indent 51Three He made and gave them to His daughters, 52Beautiful nymphs, the goddesses of the waters. 53One to bring good luck and simple feats of wonder, 54Two to wash the lands and churn the waves asunder, 55Three to rule the world and purge the skies with thunder. 56.Ed 57.Pp 58In those times great wizards were known and their powers were beyond belief. 59They could take any object from thin air, and, uttering the word 60.Sq su 61could disappear. 62.Pp 63In those times men were known for their lust for gold and desire to 64wear fine weapons. 65Swords and coats of mail were fashioned that could withstand a laser blast. 66.Pp 67But when the darkness fell, the rightful reigns were toppled. 68Swords and helms and heads of state went rolling across the grass. 69The entire fleet of battlestars was reduced to a single ship. 70.Sh SAMPLE COMMANDS 71.Bd -literal -offset indent 72take --- take an object 73drop --- drop an object 74 75wear --- wear an object you are holding 76draw --- carry an object you are wearing 77 78put on --- take an object and wear it 79take off -- draw an object and drop it 80 81throw \*[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 88watermelon: 89Taken. 90\*[Gt]-: eat 91watermelon: 92Eaten. 93\*[Gt]-: take knife and sword and apple, drop all 94knife: 95Taken. 96broadsword: 97Taken. 98apple: 99Taken. 100knife: 101Dropped. 102broadsword: 103Dropped. 104apple: 105Dropped. 106\*[Gt]-: get 107knife: 108Taken. 109.Ed 110.Pp 111Notice that the "shadow" of the next word stays around if you 112want to take advantage of it. 113That is, saying "take knife" and then "drop" 114will drop the knife you just took. 115.Sh SCORE \*[Am] INVEN 116The two commands 117.Dq score 118and 119.Dq inven 120will print out your current status in the game. 121.Sh SAVING A GAME 122The command 123.Dq save 124will save your game in a file called 125.Pa .Bstar 126in your home directory by default. 127You can recover a saved game by using the 128.Fl r 129option when you start up the 130game, or by giving the name of the saved file as an argument. 131Save files will be saved to and restored from your home directory unless a 132path is specified - i.e., 133.Dq Li battlestar -r savedgame 134will look for 135.Pa savedgame 136in your home directory, but 137.Dq Li battlestar -r ./savedgame 138will look in the current directory. 139.Dq Li battlestar -r 140will look for the default file, 141.Pa .Bstar 142in your home directory. 143.Sh DIRECTIONS 144The compass directions N, S, E, and W can be used if you have a compass. 145If you don't have a compass, you'll have to say R, L, A, or B, which 146stand for Right, Left, Ahead, and Back. 147Directions printed in room descriptions are 148always printed in R, L, A, and B relative directions. 149.Sh HISTORY 150I wrote Battlestar in 1979 in order to experiment with the niceties of 151the C Language. 152Most interesting things that happen in the game are hardwired into the 153code, so don't send me any hate mail about it! 154Instead, enjoy art for art's sake! 155.Sh AUTHORS 156.An David Riggle 157.Sh INSPIRATION \*[Am] ASSISTANCE 158.Bl -item -compact 159.It 160Chris Guthrie 161.It 162Peter Da Silva 163.It 164Kevin Brown 165.It 166Edward Wang 167.It 168Ken Arnold \*[Am] Company 169.El 170.Sh BUGS 171Countless. 172.Sh FAN MAIL 173Send to edward%ucbarpa@berkeley.arpa, chris%ucbcory@berkeley.arpa, 174riggle.pa@xerox.arpa. 175