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