robots.6.in 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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
  44. pits you against evil robots, who are trying to kill you (which is why
  45. they are evil).
  46. 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. In order to survive, you must get them to kill each other off, since you
  49. have no offensive weaponry.
  50. .Pp
  51. Since you are stuck without offensive weaponry, you are endowed with one
  52. piece of defensive weaponry: a teleportation device.
  53. When two robots run into each other or a junk pile, they die.
  54. If a robot runs into you, you die.
  55. When a robot dies, you get 10 points, and when all the robots die,
  56. you start on the next field.
  57. This keeps up until they finally get you.
  58. .Pp
  59. Robots are represented on the screen by a
  60. .Sq \&+ ,
  61. the junk heaps from their collisions by a
  62. .Sq \(** ,
  63. and you
  64. (the good guy)
  65. by a
  66. .Sq \@ .
  67. .Pp
  68. The commands are:
  69. .Bl -tag -width indent -compact
  70. .It Ic h
  71. move one square left
  72. .It Ic l
  73. move one square right
  74. .It Ic k
  75. move one square up
  76. .It Ic j
  77. move one square down
  78. .It Ic y
  79. move one square up and left
  80. .It Ic u
  81. move one square up and right
  82. .It Ic b
  83. move one square down and left
  84. .It Ic n
  85. move one square down and right
  86. .It Ic \&.
  87. (also space) do nothing for one turn
  88. .It Ic HJKLBNYU
  89. run as far as possible in the given direction
  90. .It Ic \*[Gt]
  91. do nothing for as long as possible
  92. .It Ic t
  93. teleport to a random location
  94. .It Ic w
  95. wait until you die or they all do
  96. .It Ic q
  97. quit
  98. .It Ic ^L
  99. redraw the screen
  100. .El
  101. .Pp
  102. All commands can be preceded by a count.
  103. .Pp
  104. If you use the
  105. .Sq Ic w
  106. 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. If you die, however, you get nothing.
  109. For all other commands, the program will save you from typos
  110. by stopping short of being eaten.
  111. However, with
  112. .Sq Ic w
  113. you take the risk of dying by miscalculation.
  114. .Pp
  115. 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. of the game.
  118. If an alternative score file is specified, that will be used instead of the
  119. standard file for scores.
  120. .Pp
  121. The options are
  122. .Bl -tag -width indent
  123. .It Fl s
  124. Don't play, just show the score file.
  125. .It Fl j
  126. Jump,
  127. .Em i.e. ,
  128. when you run, don't show any intermediate positions; only show things at
  129. the end.
  130. This is useful on slow terminals.
  131. .It Fl t
  132. Teleport automatically when you have no other option.
  133. This is a little disconcerting until you get used to it, and then it is
  134. 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
  143. .Sh AUTHOR
  144. Ken Arnold
  145. Christos Zoulas (autobot mode)
  146. .Sh FILES
  147. .Bl -tag -width @robots_scorefile@ -compact
  148. .It Pa @robots_scorefile@
  149. the score file
  150. .El
  151. .Sh BUGS
  152. Bugs?
  153. You
  154. .Em crazy ,
  155. man?!?