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