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