2009-08-05 08:03:47 +04:00
|
|
|
.\" $NetBSD: robots.6,v 1.15 2009/08/05 04:03:47 dholland Exp $
|
1995-04-22 14:08:46 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1991, 1993
|
|
|
|
.\" The Regents of the University of California. All rights reserved.
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
2003-08-07 13:36:50 +04:00
|
|
|
.\" 3. Neither the name of the University nor the names of its contributors
|
1993-03-21 12:45:37 +03:00
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
1995-04-22 14:08:46 +04:00
|
|
|
.\" @(#)robots.6 8.1 (Berkeley) 5/31/93
|
1993-03-21 12:45:37 +03:00
|
|
|
.\"
|
2009-08-05 08:03:47 +04:00
|
|
|
.Dd August 4, 2009
|
1993-08-05 06:29:28 +04:00
|
|
|
.Dt ROBOTS 6
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2001-04-03 02:42:37 +04:00
|
|
|
.Nm robots
|
1993-08-05 06:29:28 +04:00
|
|
|
.Nd fight off villainous robots
|
|
|
|
.Sh SYNOPSIS
|
1997-10-12 18:09:55 +04:00
|
|
|
.Nm
|
2009-08-05 08:03:47 +04:00
|
|
|
.Op Fl Aajnrst
|
|
|
|
.Op Ar maximum
|
1993-08-05 06:29:28 +04:00
|
|
|
.Op Ar scorefile
|
|
|
|
.Sh DESCRIPTION
|
1997-10-12 18:09:55 +04:00
|
|
|
.Nm
|
1993-03-21 12:45:37 +03:00
|
|
|
pits you against evil robots, who are trying to kill you (which is why
|
|
|
|
they are evil).
|
|
|
|
Fortunately for you, even though they are evil, they are not very bright
|
|
|
|
and have a habit of bumping into each other, thus destroying themselves.
|
|
|
|
In order to survive, you must get them to kill each other off, since you
|
|
|
|
have no offensive weaponry.
|
1993-08-05 06:29:28 +04:00
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
Since you are stuck without offensive weaponry, you are endowed with one
|
|
|
|
piece of defensive weaponry: a teleportation device.
|
|
|
|
When two robots run into each other or a junk pile, they die.
|
|
|
|
If a robot runs into you, you die.
|
|
|
|
When a robot dies, you get 10 points, and when all the robots die,
|
|
|
|
you start on the next field.
|
|
|
|
This keeps up until they finally get you.
|
1993-08-05 06:29:28 +04:00
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
Robots are represented on the screen by a
|
2002-09-26 22:31:58 +04:00
|
|
|
.Sq \&+ ,
|
1993-03-21 12:45:37 +03:00
|
|
|
the junk heaps from their collisions by a
|
1993-08-05 06:29:28 +04:00
|
|
|
.Sq \(** ,
|
1993-03-21 12:45:37 +03:00
|
|
|
and you
|
|
|
|
(the good guy)
|
|
|
|
by a
|
2009-04-09 07:52:54 +04:00
|
|
|
.Sq @ .
|
1993-08-05 06:29:28 +04:00
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
The commands are:
|
1993-08-05 06:29:28 +04:00
|
|
|
.Bl -tag -width indent -compact
|
|
|
|
.It Ic h
|
|
|
|
move one square left
|
|
|
|
.It Ic l
|
|
|
|
move one square right
|
|
|
|
.It Ic k
|
|
|
|
move one square up
|
|
|
|
.It Ic j
|
|
|
|
move one square down
|
|
|
|
.It Ic y
|
|
|
|
move one square up and left
|
|
|
|
.It Ic u
|
|
|
|
move one square up and right
|
|
|
|
.It Ic b
|
|
|
|
move one square down and left
|
|
|
|
.It Ic n
|
|
|
|
move one square down and right
|
|
|
|
.It Ic \&.
|
|
|
|
(also space) do nothing for one turn
|
|
|
|
.It Ic HJKLBNYU
|
|
|
|
run as far as possible in the given direction
|
2002-09-26 22:31:58 +04:00
|
|
|
.It Ic \*[Gt]
|
1993-08-05 06:29:28 +04:00
|
|
|
do nothing for as long as possible
|
|
|
|
.It Ic t
|
|
|
|
teleport to a random location
|
|
|
|
.It Ic w
|
|
|
|
wait until you die or they all do
|
|
|
|
.It Ic q
|
|
|
|
quit
|
|
|
|
.It Ic ^L
|
|
|
|
redraw the screen
|
|
|
|
.El
|
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
All commands can be preceded by a count.
|
1993-08-05 06:29:28 +04:00
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
If you use the
|
2001-04-03 02:42:37 +04:00
|
|
|
.Sq Ic w
|
1993-03-21 12:45:37 +03:00
|
|
|
command and survive to the next level, you will get a bonus of 10%
|
|
|
|
for each robot which died after you decided to wait.
|
|
|
|
If you die, however, you get nothing.
|
|
|
|
For all other commands, the program will save you from typos
|
|
|
|
by stopping short of being eaten.
|
|
|
|
However, with
|
1993-08-05 06:29:28 +04:00
|
|
|
.Sq Ic w
|
1993-03-21 12:45:37 +03:00
|
|
|
you take the risk of dying by miscalculation.
|
1993-08-05 06:29:28 +04:00
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
Only five scores are allowed per user on the score file.
|
|
|
|
If you make it into the score file, you will be shown the list at the end
|
|
|
|
of the game.
|
2009-08-05 08:03:47 +04:00
|
|
|
If an alternative score file is named on the command line, that file
|
|
|
|
will be used instead of the standard file for scores.
|
|
|
|
The score file must be created empty beforehand, e.g. with
|
|
|
|
.Xr touch 1 .
|
|
|
|
If the argument
|
|
|
|
.Ar maximum ,
|
|
|
|
which must be a number, is provided when a score file is first used,
|
|
|
|
the value given will be used as the maximum number of scores to keep
|
|
|
|
per user instead of the default five.
|
|
|
|
This value is a property of the score file and cannot be changed later.
|
1993-08-05 06:29:28 +04:00
|
|
|
.Pp
|
1993-03-21 12:45:37 +03:00
|
|
|
The options are
|
1993-08-05 06:29:28 +04:00
|
|
|
.Bl -tag -width indent
|
2009-08-05 08:03:47 +04:00
|
|
|
.It Fl A
|
|
|
|
Auto-bot mode.
|
|
|
|
Lets the game play itself.
|
|
|
|
.It Fl a
|
|
|
|
Advance into the higher levels directly, skipping the lower, easier levels.
|
1993-08-05 06:29:28 +04:00
|
|
|
.It Fl j
|
1993-03-21 12:45:37 +03:00
|
|
|
Jump,
|
1993-08-05 06:29:28 +04:00
|
|
|
.Em i.e. ,
|
1993-03-21 12:45:37 +03:00
|
|
|
when you run, don't show any intermediate positions; only show things at
|
|
|
|
the end.
|
|
|
|
This is useful on slow terminals.
|
2009-08-05 08:03:47 +04:00
|
|
|
.It Fl n
|
|
|
|
Increase the number of games played by one; that is, automatically
|
|
|
|
choose to play again one time per usage of this option.
|
|
|
|
.It Fl r
|
|
|
|
Play in real time; that is, if you do nothing for a few seconds the
|
|
|
|
game will assume you meant to do nothing and move the robots.
|
|
|
|
.It Fl s
|
|
|
|
Don't play, just show the score file.
|
1993-08-05 06:29:28 +04:00
|
|
|
.It Fl t
|
1993-03-21 12:45:37 +03:00
|
|
|
Teleport automatically when you have no other option.
|
|
|
|
This is a little disconcerting until you get used to it, and then it is
|
|
|
|
very nice.
|
1993-08-05 06:29:28 +04:00
|
|
|
.El
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /var/games/robots_roll -compact
|
|
|
|
.It Pa /var/games/robots_roll
|
2009-08-05 08:03:47 +04:00
|
|
|
The score file.
|
1993-08-05 06:29:28 +04:00
|
|
|
.El
|
2005-09-15 06:09:41 +04:00
|
|
|
.Sh AUTHORS
|
|
|
|
.An Ken Arnold
|
|
|
|
.An Christos Zoulas
|
|
|
|
(autobot mode)
|
1993-08-05 06:29:28 +04:00
|
|
|
.Sh BUGS
|
1993-03-21 12:45:37 +03:00
|
|
|
Bugs?
|
|
|
|
You
|
1993-08-05 06:29:28 +04:00
|
|
|
.Em crazy ,
|
1993-03-21 12:45:37 +03:00
|
|
|
man?!?
|