home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / XAP / XGAMES / SPIDER.TAR / spider / doc.controls < prev    next >
Encoding:
Text File  |  1991-09-28  |  5.6 KB  |  118 lines

  1.           III.   T H E   S P I D E R   P R O G R A M
  2.  
  3. The stack of cards in the upper left of the Spider window represents
  4. the undealt cards (initially the full deck; later the "Hand").  The
  5. eight outlines to the right mark where the eight suits will go as you
  6. remove them from the tableau.  The rest of the window is initially
  7. empty until you start a game.
  8.  
  9. To start a game, press the [New Game] button or click either the left
  10. mouse button over the undealt cards.  Playing the game is handled
  11. entirely within the main window; the control panel provides a few
  12. ancillary functions, described later.  First, the main window:
  13.  
  14. If you press the left mouse button anywhere within or below a column of
  15. cards, it says you want to move as many cards as possible from that
  16. column.  If you then move the mouse to another column and let up on the
  17. button, the program moves as many cards as it can from the first column
  18. to the second.  (If there is no such legal move, the program says so.)
  19. Note that, unless the destination column is empty (i.e., a "space"),
  20. there is at most one choice for the number of cards to move.
  21.  
  22. If you instead use the second mouse button to select within a column,
  23. it says you want to move the card you're pointing at plus any cards
  24. covering it.  If these cards cannot be moved as a unit (i.e., they are
  25. not a sequence within a suit), the program says so.  Again, if you move
  26. the mouse to another column and release the button, the program moves
  27. as the selected cards to the destination.  The only time you need to
  28. use this method (instead of using left) is if you're moving cards into
  29. a space AND you wish to move fewer than the maximum permitted.
  30.  
  31. If you click the left button over a single column, the program tries to
  32. move the specified cards to "the obvious place" by trying the following
  33. choices, in order: (1) remove them if they form a completed suit, else
  34. (2) move them onto a card of the same suit, else (3) move them onto a
  35. card of a different suit, else (4) move them into a space.  If it can't
  36. do any of these, it complains.
  37.  
  38. You can also remove a completed suit by selecting all 13 cards (using
  39. the left button), moving the mouse into the region of outlines above
  40. the tableau, and releasing the button.
  41.  
  42. To deal a new round, click any button on the facedown stack in the
  43. upper left.  The window footer shows you how many more deals remain.
  44. Remember that all spaces must be filled before you can deal a new
  45. round.
  46.  
  47. If you click with any mouse button in the outline region where the
  48. removed suits go, the program will tell you which suits (if any) have
  49. enough cards face-up to form a complete sequence of thirteen.
  50.  
  51. The game also has a control panel for performing some less frequent
  52. operations.  Many of these also have keyboard accelerators:
  53.  
  54. [New Game], N or n:    Throws away the current game and start a new one.
  55.  
  56. [Backup: One Move], U or u: Undo the last move.  If you undo a move
  57. that revealed a previously unknown card, the program will chastise you.
  58.  
  59. [Backup: Start Over], A or a: Play the same hand again.  This will
  60. restart the game with the initial deck, discarding what you've already
  61. done.
  62.  
  63. [Backup: Replay], R or r:    Show all the moves made so far.  This can take
  64. a while, so any key or button press will abort it.
  65.  
  66. [Expand], E or e: Expand column.  This prompts the user to select a
  67. column, which is then displayed in textual form.  This is useful when
  68. the window cannot be made larger and the columns are very large.
  69.  
  70. [Locate], F or f:  tries to find a specified card or cards among the
  71. face-up cards in the tableau.  First specify the name of the card to
  72. look for by putting the rank and suit in the Name item.  (The ranks are
  73. A, 2, 3, ..., 10, J, Q, or K; you can also use T for 10.  Suits are C,
  74. D, H, and S.  Lower-case is permitted.)  If you omit the suit, [Locate]
  75. will look for all cards of the specific rank that are not already
  76. covered by a card of the next lower rank.  (Such cards are called
  77. "unused", "free", or "available".)  For example, if you want to move a
  78. 9 out of some pile, you need either a space or a free 10 onto which to
  79. move it, so you could use [Locate] to find all free 10s.
  80.  
  81. [Score], S or s:    Shows the current score.
  82.  
  83. [File] is a stack; the default is [Save in File], which writes a file
  84. containing the current state of the game, including the original deck and all
  85. the moves made so far.  The name of the file is taken from the Name item.
  86. The file also includes a human-readable text representation of the current
  87. tableau, similar to those that appear in the examples below.
  88.  
  89. [File: Resume from File] reads a file created by the [File: Save in File]
  90. command.  The name of the file is taken from the Name item.  It can also read
  91. various partial files; in particular, if all but the first line of the file
  92. has been deleted, it will restore the most recent position and, if possible,
  93. the original deck (in case you want to Start Over), but it will not be able
  94. to Back Up over the moves.
  95.  
  96. [File: Resume from Selection] restores a position represented by the current
  97. text selection.  This is useful for loading positions from section IV, below.
  98.  
  99. The window also understands these additional keyboard commands:
  100.  
  101. D or d: Deals a new round.
  102.  
  103. L or l: Loads a saved game from the current PRIMARY selection.  If the
  104. selection is a file name, it will be loaded from that file.  Otherwise
  105. it will attempt to load the selection as position.  This is useful for
  106. loading positions from the examples in section IV.
  107.  
  108. W or w: Saves the current position in the filename contained in the
  109. PRIMARY selection.
  110.  
  111. ?: Gives a move suggestion.  This isn't necessarily the best move, but
  112. may be helpful for beginners.
  113.  
  114. #: Displays some game statatistics.
  115.  
  116. Q: Quit.
  117.  
  118.