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