xref: /dragonfly/games/robots/robots.6 (revision f746689a)
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. 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.\"	@(#)robots.6	8.1 (Berkeley) 5/31/93
33.\" $FreeBSD: src/games/robots/robots.6,v 1.3.2.1 2001/08/17 08:28:04 roberto Exp $
34.\" $DragonFly: src/games/robots/robots.6,v 1.4 2006/12/12 01:47:23 swildner Exp $
35.\"
36.Dd May 31, 1993
37.Os
38.Dt ROBOTS 6
39.Sh NAME
40.Nm robots
41.Nd fight off villainous robots
42.Sh SYNOPSIS
43.Nm
44.Op Fl sjta
45.Op Ar scorefile
46.Sh DESCRIPTION
47The
48.Nm
49game pits you against evil robots, who are trying to kill you (which is why
50they are evil).
51Fortunately for you, even though they are evil, they are not very bright
52and have a habit of bumping into each other, thus destroying themselves.
53In order to survive, you must get them to kill each other off, since you
54have no offensive weaponry.
55.Pp
56Since you are stuck without offensive weaponry, you are endowed with one
57piece of defensive weaponry: a teleportation device.
58When two robots run into each other or a junk pile, they die.
59If a robot runs into you, you die.
60When a robot dies, you get 10 points, and when all the robots die,
61you start on the next field.
62This keeps up until they finally get you.
63.Pp
64Robots are represented on the screen by a
65.Sq \&+ ,
66the junk heaps from their collisions by a
67.Sq \(** ,
68and you
69(the good guy)
70by a
71.Sq @ .
72.Pp
73The commands are:
74.Bl -tag -width indent -compact
75.It Ic h
76move one square left
77.It Ic l
78move one square right
79.It Ic k
80move one square up
81.It Ic j
82move one square down
83.It Ic y
84move one square up and left
85.It Ic u
86move one square up and right
87.It Ic b
88move one square down and left
89.It Ic n
90move one square down and right
91.It Ic \&.
92(also space) do nothing for one turn
93.It Ic HLKJYUBN
94run as far as possible in the given direction
95.It Ic \*[Gt]
96do nothing for as long as possible
97.It Ic t
98teleport to a random location
99.It Ic w
100wait until you die or they all do
101.It Ic q
102quit
103.It Ic ^L
104redraw the screen
105.El
106.Pp
107All commands can be preceded by a count.
108.Pp
109If you use the
110.Sq Ic w
111command and survive to the next level, you will get a bonus of 10%
112for each robot which died after you decided to wait.
113If you die, however, you get nothing.
114For all other commands, the program will save you from typos
115by stopping short of being eaten.
116However, with
117.Sq Ic w
118you take the risk of dying by miscalculation.
119.Pp
120Only five scores are allowed per user on the score file.
121If you make it into the score file, you will be shown the list at the end
122of the game.
123If an alternate score file is specified, that will be used instead of the
124standard file for scores.
125.Pp
126The options are
127.Bl -tag -width indent
128.It Fl s
129Don't play, just show the score file.
130.It Fl j
131Jump, 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.El
142.Sh FILES
143.Bl -tag -width ".Pa /var/games/robots_roll" -compact
144.It Pa /var/games/robots_roll
145the score file
146.El
147.Sh AUTHORS
148.An Ken Arnold
149.Sh BUGS
150Bugs?
151You
152.Em crazy ,
153man?!?
154