home *** CD-ROM | disk | FTP | other *** search
/ Aztec Shareware Collection / SIMULATION.ISO / gravwars / gravwars.doc < prev    next >
Text File  |  1989-04-25  |  10KB  |  189 lines

  1.  
  2. Gravity Wars
  3.   by Sohrab Ismail-Beigi  completed 4/23/89
  4.      SYSOP of The 3D Graphics BBS
  5.      300/1200/2400 baud, N-8-1 Full duplex
  6.      (201) 444-4154
  7.  
  8. ******************************************************************************
  9. Note:  This game requires a VGA display capable of the 640x480x16 color mode.
  10.        The program does no checking, so don't run it without VGA 640x480x16.
  11. ******************************************************************************
  12.  
  13. -----------------------------------------------------------------------------
  14. INCLUDED FILES:
  15.  
  16.  Length   Name
  17.  -------  ------
  18.     9519  GRAVWARS.DOC   -  This file
  19.    32172  GRAVWARS.PAS   -  Turbo Pascal 4.0 Source Code
  20.    42640  GRAVWARS.EXE   -  The actual game program
  21.     5139  EGAVGA.BGI     -  Required VGA driver
  22.     5452  SANS.CHR       -  Required Font
  23.  -------
  24.    94922
  25.  
  26. NOTE:  EGAVGA.BGI and SANS.CHR must exist in the same directory that
  27.        GRAVWARS.EXE is running for the program to run properly
  28.  
  29. -----------------------------------------------------------------------------
  30.       The game and all attached material are released to the public domain (PD.)
  31. The author does not ask for any monetary contributions, but instead asks you to
  32. call his BBS and leave messages, comments, new ideas, contributions, bug
  33. reports, etc. on his BBS.
  34.  
  35. DISCLAIMER:  The author, Sohrab Ismail-Beigi, is not in any way responsible
  36. for any damaged caused by, due to, in conjuction, in relation, in proximity,
  37. in discussion of the use, transport, manipulation, misuse, contemplation,
  38. mismanagement, etc. etc. etc. of the program GRAVWARS.EXE and the associated
  39. files GRAVWARS.DOC and GRAVWARS.PAS.
  40.  
  41.      Gravity Wars was originally a Shareware game on the Amiga.  I liked the
  42. game and decided to convert it for the IBM.  GRAVWARS.EXE is the result and
  43. I hope you like it.
  44.  
  45. ------------------------------------------------------------------------------
  46. GENERAL OVERVIEW:
  47.  
  48.      Gravity Wars is a two-player game (or one-player if he plays against
  49. himself.)  The players choose ships (one the Enterprise, the other Klingon) and
  50. try to shoot down each other by specifying angles and initial velocities for the
  51. missiles.
  52.      Missiles move under the influence of the gravitational fields of the
  53. various planets in the Gravity Wars universe.  The planets are the spherical
  54. and colored (Red, Green, or Blue) with each color representing a density:
  55. Red=1.0, Green=1.5, Blue=2.0.  The force of gravity is the well known inverse
  56. square law, namely F=GMm/(r^2) (where ^ means exponent.)
  57.      There are also black holes (haha!) which appear as the blacking out of the
  58. stars in the background (you have to watch for them when the scene is drawn.)
  59. They are not very massive, and from far away, they act like small planets.  But
  60. when missiles approach them, their behavior becomes quite erratic, SO BE CAREFUL
  61. WHEN FIRING CLOSE TO A BLACK HOLE!
  62.  
  63. ------------------------------------------------------------------------------
  64. DETAILED DESCRIPTION OF THE MENUS:
  65.  
  66.      The game is menu driven.  You see the choices and the associated numbers.
  67. Press the number corresponding to your choice.  Esc quits a submenu and
  68. returns to the main menu.  Esc also aborts other commands such as Move planet,
  69. Make planet, etc.
  70.      Each submenu of the main menu is explained below.
  71.  
  72. Main Menu:
  73.  
  74. 1. Playing the game - Choose a random setup or play the current one.
  75. 2. Options - Redraw the screen and turn sound on/off.
  76. 3. Changes - move ships, move, make, change, and delete planets.
  77. 4. Quit
  78.  
  79. Sub menu: 1. Playing the game
  80.   1. Random setup - the computer picks a random setup, destroying the current
  81.                     setup and displaying the new one.  If you don't like a
  82.                     setup, either pick a new random one, or use the 3. Changes
  83.                     menu (or both) to make a better setup.
  84.  
  85.   2. Play game - Play the current setup.  The players take turns entering
  86.                  angles and initial velocities for the missiles.  Angles are
  87.                  in the standard 0-360 mode where 0 is horizontal and to the
  88.                  right.  Velocities are from 0 to 10.  Note that non-integer
  89.                  angles and velocities are allowed, so you can refine your
  90.                  firing considerably.
  91.                  The computer keeps tab of the last angle and velocity you used
  92.                  and displays them inside the [] brackets.  To use the same
  93.                  angle and/or velocity, just press RETURN or ENTER alone and
  94.                  the value in the bracket will be used.
  95.                  To quit the play while entering angles and velocities, enter Q
  96.                  or q as a response.
  97.                  To abort a missile trajectory calculation in progress, press
  98.                  any key.  A message will appear.  Pressing Esc will bring you
  99.                  back to the menu.  Pressing any other key will continue the
  100.                  game.
  101.  
  102. Sub menu: 2. Options
  103.   1. Redraw screen - Redraws screen.  The screen is cleared, and the planets
  104.                      ships are drawn in their current positions.  This is
  105.                      useful when the missile trails are too many and are
  106.                      irritating.  The Redraw will clear them all out while
  107.                      leaving the setup unchanged.
  108.  
  109.   2. Sound on/off - turns the music option on/off.  By default, music is on
  110.                     (for example, the tune played when one player wins.)
  111.                     Pressing 2 once will turn this off, 2 again will turn it
  112.                     on.
  113.  
  114. Sub menu: 3. Changes
  115.   1. Move ship - This allows you to move either of the ships to any legal
  116.                  position.  Press the number corresponding to the ship you want
  117.                  to move (or Esc to abort.)  Then use the numeric keypad (with
  118.                  Num Lock ON) up, down, left, and right to move the ship about.
  119.                  Press RETURN or ENTER to place ship there, or Esc to abort.
  120.                  If the position is illegal, the screen will flash, and you
  121.                  will be informed.  Move the ship to another position and
  122.                  retry.
  123.  
  124.   2. Move planet - This allows you to move any of the planets on the screen to
  125.                    another legal location (including black holes!)  A pointer
  126.                    will appear.  Use the numeric keypad to move the pointer
  127.                    close to the planet you wish to move and press ENTER to
  128.                    pick that planet, or Esc to abort (the computer will pick
  129.                    the planet closest to the tip of the pointer.)  You can use
  130.                    the + and - keys to increase or descrease the size of the
  131.                    jumps the pointer makes.
  132.                    Move the pointer to the position new center of the planet to
  133.                    and hit ENTER to place it there (or Esc to abort.)  If the
  134.                    location is legal, it will be accepted and the planet/black
  135.                    hole will move there; if not, the screen will flash and you
  136.                    will have to retry.
  137.  
  138.    3. Make planet - Allows you to make a new planet.  The maximum number of
  139.                     planets allowed is 9, so if there are already 9, you will
  140.                     have to 5. Delete some first.
  141.                     Use the pointer to choose a location for the center of the
  142.                     new planet and press ENTER to pick a spot.  (The screen
  143.                     will flash and you'll have to retry if the spot is not
  144.                     legal.)  Then use the pointer to move to a point which
  145.                     will lie on the surface of the planet (thereby specifying
  146.                     the radius) and press ENTER.  Press Esc at any point to
  147.                     abort.
  148.                     Note that you can not make black holes, planets only.
  149.  
  150.    4. Change planet - Allows you to change the density (color) of an existing
  151.                       planet.  Use the pointer and move close to the planet in
  152.                       question (only planets can be changed; black holes can
  153.                       not.)  Press ENTER to pick the planet (the computer will
  154.                       pick the planet closest to the pointer tip.)  Then press
  155.                       1, 2, or 3 for the planet density (a message will inform
  156.                       you of the choices): 1=Red 2=Green 3=Blue.  Press Esc at
  157.                       any point to abort.
  158.  
  159.    5. Delete planet - You can delete a planet or a black hole.  Use the
  160.                       pointer to move close to the planet or black hole in
  161.                       question and press ENTER (again, planet/black hole
  162.                       closest is chosen.)  The planet/black hole will be
  163.                       deleted.  Press Esc to abort.
  164.  
  165. ------------------------------------------------------------------------------
  166. FINAL WORDS OF WISDOM:
  167.  
  168.      Ok.  There are the rules and descriptions.  Notice that black holes are
  169. "God-given."  You can't create them, but you can keep picking random setups
  170. until you get one (or more!)
  171.      Also, in the above text, "the planet closest to the tip of the pointer"
  172. means the planet whose center is closest to the pointer tip, not the planets'
  173. surface.
  174.      There are many ways of refining firing angles.  You can either change the
  175. angle, change the velocity, or do both, or pick new paths, or even try to put
  176. the missiles in orbit so they will wrap around!  But be careful with orbits,
  177. they may wrap around and hit your own ship!
  178.      If you notice that the calculations for the missile trajectory are too
  179. slow, that means that there are many planets.  Delete some useless ones to
  180. speed things up a bit.
  181.  
  182.      If you like the game and have any suggestions, bug reports,
  183. contributions, complaints, etc., call the above BBS and leave me (the SYSOP)
  184. some mail.  If you want new updates, PLEASE tell me and if you have written
  185. your own updates and modifications, please tell me.  Thank you very much!
  186.  
  187. HAVE FUN, AND BEWARE OF BLACK HOLES!!!!!!
  188.  
  189.