xref: /netbsd-src/games/robots/robots.6 (revision ce0bb6e8d2e560ecacbe865a848624f94498063b)
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\"    must display the following acknowledgement:
14.\"	This product includes software developed by the University of
15.\"	California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\"    may be used to endorse or promote products derived from this software
18.\"    without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\"	from: @(#)robots.6	6.2 (Berkeley) 4/8/91
33.\"	$Id: robots.6,v 1.3 1993/08/05 02:29:28 jtc Exp $
34.\"
35.Dd April 8, 1991
36.Dt ROBOTS 6
37.Os
38.Sh NAME
39.Nm robots
40.Nd fight off villainous robots
41.Sh SYNOPSIS
42.Nm robots
43.Op Fl sjta
44.Op Ar scorefile
45.Sh DESCRIPTION
46.Nm Robots
47pits you against evil robots, who are trying to kill you (which is why
48they are evil).
49Fortunately for you, even though they are evil, they are not very bright
50and have a habit of bumping into each other, thus destroying themselves.
51In order to survive, you must get them to kill each other off, since you
52have no offensive weaponry.
53.Pp
54Since you are stuck without offensive weaponry, you are endowed with one
55piece of defensive weaponry: a teleportation device.
56When two robots run into each other or a junk pile, they die.
57If a robot runs into you, you die.
58When a robot dies, you get 10 points, and when all the robots die,
59you start on the next field.
60This keeps up until they finally get you.
61.Pp
62Robots are represented on the screen by a
63.Sq \+ ,
64the junk heaps from their collisions by a
65.Sq \(** ,
66and you
67(the good guy)
68by a
69.Sq \@ .
70.Pp
71The commands are:
72.Bl -tag -width indent -compact
73.It Ic h
74move one square left
75.It Ic l
76move one square right
77.It Ic k
78move one square up
79.It Ic j
80move one square down
81.It Ic y
82move one square up and left
83.It Ic u
84move one square up and right
85.It Ic b
86move one square down and left
87.It Ic n
88move one square down and right
89.It Ic \&.
90(also space) do nothing for one turn
91.It Ic HJKLBNYU
92run as far as possible in the given direction
93.It Ic \>
94do nothing for as long as possible
95.It Ic t
96teleport to a random location
97.It Ic w
98wait until you die or they all do
99.It Ic q
100quit
101.It Ic ^L
102redraw the screen
103.El
104.Pp
105All commands can be preceded by a count.
106.Pp
107If you use the
108.Sq Ic w
109command and survive to the next level, you will get a bonus of 10%
110for each robot which died after you decided to wait.
111If you die, however, you get nothing.
112For all other commands, the program will save you from typos
113by stopping short of being eaten.
114However, with
115.Sq Ic w
116you take the risk of dying by miscalculation.
117.Pp
118Only five scores are allowed per user on the score file.
119If you make it into the score file, you will be shown the list at the end
120of the game.
121If an alternate score file is specified, that will be used instead of the
122standard file for scores.
123.Pp
124The options are
125.Bl -tag -width indent
126.It Fl s
127Don't play, just show the score file.
128.It Fl j
129Jump,
130.Em i.e. ,
131when you run, don't show any intermediate positions; only show things at
132the end.
133This is useful on slow terminals.
134.It Fl t
135Teleport automatically when you have no other option.
136This is a little disconcerting until you get used to it, and then it is
137very nice.
138.It Fl a
139Advance into the higher levels directly, skipping the lower, easier levels.
140.El
141.Sh AUTHOR
142Ken Arnold
143.Sh FILES
144.Bl -tag -width /var/games/robots_roll -compact
145.It Pa /var/games/robots_roll
146the score file
147.El
148.Sh BUGS
149Bugs?
150You
151.Em crazy ,
152man?!?
153