| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: robots.6,v 1.14 2009/04/09 03:52:54 joerg Exp $ | | 1 | .\" $NetBSD: robots.6,v 1.15 2009/08/05 04:03:47 dholland Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1991, 1993 | | 3 | .\" Copyright (c) 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -19,35 +19,36 @@ | | | @@ -19,35 +19,36 @@ |
19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | | 19 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 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 | | 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 | | 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 | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" @(#)robots.6 8.1 (Berkeley) 5/31/93 | | 30 | .\" @(#)robots.6 8.1 (Berkeley) 5/31/93 |
31 | .\" | | 31 | .\" |
32 | .Dd May 31, 1993 | | 32 | .Dd August 4, 2009 |
33 | .Dt ROBOTS 6 | | 33 | .Dt ROBOTS 6 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm robots | | 36 | .Nm robots |
37 | .Nd fight off villainous robots | | 37 | .Nd fight off villainous robots |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .Nm | | 39 | .Nm |
40 | .Op Fl Asjtan | | 40 | .Op Fl Aajnrst |
| | | 41 | .Op Ar maximum |
41 | .Op Ar scorefile | | 42 | .Op Ar scorefile |
42 | .Sh DESCRIPTION | | 43 | .Sh DESCRIPTION |
43 | .Nm | | 44 | .Nm |
44 | pits you against evil robots, who are trying to kill you (which is why | | 45 | pits you against evil robots, who are trying to kill you (which is why |
45 | they are evil). | | 46 | they are evil). |
46 | Fortunately for you, even though they are evil, they are not very bright | | 47 | 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 | 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 | In order to survive, you must get them to kill each other off, since you |
49 | have no offensive weaponry. | | 50 | have no offensive weaponry. |
50 | .Pp | | 51 | .Pp |
51 | Since you are stuck without offensive weaponry, you are endowed with one | | 52 | Since you are stuck without offensive weaponry, you are endowed with one |
52 | piece of defensive weaponry: a teleportation device. | | 53 | piece of defensive weaponry: a teleportation device. |
53 | When two robots run into each other or a junk pile, they die. | | 54 | When two robots run into each other or a junk pile, they die. |
| @@ -105,52 +106,64 @@ If you use the | | | @@ -105,52 +106,64 @@ If you use the |
105 | .Sq Ic w | | 106 | .Sq Ic w |
106 | command and survive to the next level, you will get a bonus of 10% | | 107 | 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 | for each robot which died after you decided to wait. |
108 | If you die, however, you get nothing. | | 109 | If you die, however, you get nothing. |
109 | For all other commands, the program will save you from typos | | 110 | For all other commands, the program will save you from typos |
110 | by stopping short of being eaten. | | 111 | by stopping short of being eaten. |
111 | However, with | | 112 | However, with |
112 | .Sq Ic w | | 113 | .Sq Ic w |
113 | you take the risk of dying by miscalculation. | | 114 | you take the risk of dying by miscalculation. |
114 | .Pp | | 115 | .Pp |
115 | Only five scores are allowed per user on the score file. | | 116 | 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 | If you make it into the score file, you will be shown the list at the end |
117 | of the game. | | 118 | of the game. |
118 | If an alternative score file is specified, that will be used instead of the | | 119 | If an alternative score file is named on the command line, that file |
119 | standard file for scores. | | 120 | will be used instead of the standard file for scores. |
| | | 121 | The score file must be created empty beforehand, e.g. with |
| | | 122 | .Xr touch 1 . |
| | | 123 | If the argument |
| | | 124 | .Ar maximum , |
| | | 125 | which must be a number, is provided when a score file is first used, |
| | | 126 | the value given will be used as the maximum number of scores to keep |
| | | 127 | per user instead of the default five. |
| | | 128 | This value is a property of the score file and cannot be changed later. |
120 | .Pp | | 129 | .Pp |
121 | The options are | | 130 | The options are |
122 | .Bl -tag -width indent | | 131 | .Bl -tag -width indent |
123 | .It Fl s | | 132 | .It Fl A |
124 | Don't play, just show the score file. | | 133 | Auto-bot mode. |
| | | 134 | Lets the game play itself. |
| | | 135 | .It Fl a |
| | | 136 | Advance into the higher levels directly, skipping the lower, easier levels. |
125 | .It Fl j | | 137 | .It Fl j |
126 | Jump, | | 138 | Jump, |
127 | .Em i.e. , | | 139 | .Em i.e. , |
128 | when you run, don't show any intermediate positions; only show things at | | 140 | when you run, don't show any intermediate positions; only show things at |
129 | the end. | | 141 | the end. |
130 | This is useful on slow terminals. | | 142 | This is useful on slow terminals. |
| | | 143 | .It Fl n |
| | | 144 | Increase the number of games played by one; that is, automatically |
| | | 145 | choose to play again one time per usage of this option. |
| | | 146 | .It Fl r |
| | | 147 | Play in real time; that is, if you do nothing for a few seconds the |
| | | 148 | game will assume you meant to do nothing and move the robots. |
| | | 149 | .It Fl s |
| | | 150 | Don't play, just show the score file. |
131 | .It Fl t | | 151 | .It Fl t |
132 | Teleport automatically when you have no other option. | | 152 | Teleport automatically when you have no other option. |
133 | This is a little disconcerting until you get used to it, and then it is | | 153 | This is a little disconcerting until you get used to it, and then it is |
134 | very nice. | | 154 | very nice. |
135 | .It Fl a | | | |
136 | Advance into the higher levels directly, skipping the lower, easier levels. | | | |
137 | .It Fl A | | | |
138 | Auto-bot mode. | | | |
139 | Lets the game play itself. | | | |
140 | .It Fl n | | | |
141 | Increase the number of games played by one. | | | |
142 | .El | | 155 | .El |
143 | .Sh FILES | | 156 | .Sh FILES |
144 | .Bl -tag -width /var/games/robots_roll -compact | | 157 | .Bl -tag -width /var/games/robots_roll -compact |
145 | .It Pa /var/games/robots_roll | | 158 | .It Pa /var/games/robots_roll |
146 | the score file | | 159 | The score file. |
147 | .El | | 160 | .El |
148 | .Sh AUTHORS | | 161 | .Sh AUTHORS |
149 | .An Ken Arnold | | 162 | .An Ken Arnold |
150 | .An Christos Zoulas | | 163 | .An Christos Zoulas |
151 | (autobot mode) | | 164 | (autobot mode) |
152 | .Sh BUGS | | 165 | .Sh BUGS |
153 | Bugs? | | 166 | Bugs? |
154 | You | | 167 | You |
155 | .Em crazy , | | 168 | .Em crazy , |
156 | man?!? | | 169 | man?!? |