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