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