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