home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 42 / q42.d81 / t.fourcell < prev    next >
Text File  |  2022-08-28  |  9KB  |  212 lines

  1.  
  2.  
  3.                               F O U R C E L L
  4.  
  5.                  Program and Text by Kate and Ron Slaminko
  6.  
  7.  
  8.  OVERVIEW
  9.  --------
  10.  
  11.     FOURCELL is a logic puzzle in the form of a solitaire card game. All
  12. the cards are dealt face up, so there is no luck involved after the initial
  13. shuffle. It is believed (but not proven) that every game is winnable.
  14.  
  15.  
  16.  GETTING STARTED
  17.  ---------------
  18.  
  19.  (1) Enter your name at the prompt. FOURCELL keeps a file of your
  20. statistics. The name you enter is used as part of the filename so multiple
  21. players can have their own stats.
  22.  
  23.  (2) Choose an input device: (1) for a 1351 mouse, (2) for a joystick in
  24. port 2, or (3) for the keyboard. You move the pointer by rolling the mouse,
  25. manipulating the joystick, or using the cursor keys, respectively. To
  26. "click", use the left mouse button, the joystick fire button, or the RETURN
  27. key.
  28.  
  29.     The game screen is then presented. The FOURCELL screen consists of a
  30. menu bar, four "cells" (places where you can put a card), four accumulation
  31. piles or foundations (top right of screen), and eight tableau (columns of
  32. cards). All are initially empty. To start a randomly selected game, click
  33. on the "New Game" option on the menu bar. This will shuffle and deal the
  34. cards to the eight tableaux. See "Menu Options", below, for other start
  35. game choices.
  36.  
  37.  
  38.  PLAYING THE GAME
  39.  ----------------
  40.  
  41.     The object of the game is to move all the cards into the accumulation
  42. cells, piling up cards of the same suit starting with the ace. You win the
  43. game when all 52 cards are played up. You lose if you run out of legal
  44. moves. There are three types of legal moves:
  45.  
  46.  (1) Move the bottom card from any tableau into an empty cell or an empty
  47.      tableau (empty cells and tableau show up as light green).
  48.  
  49.  (2) Move the bottom card from any tableau or the card from any of the
  50.      four cells onto the accumulation pile of matching suit, if the card
  51.      is one greater in rank, starting with the Ace. The accumulation piles
  52.      initially display a card back, just to show where they are. Each suit
  53.      goes in a specific place so it won't matter which accumulation pile
  54.      you click on, the card will end up in the right place.
  55.  
  56.  (3) Move the bottom card from one tableau to another, if the card being
  57.      moved is one lower in rank and opposite color from the bottom card of
  58.      the target tableau. No tableau can hold more than 17 cards, however.
  59.  
  60.     To make a move, position the arrow pointer over the card to be moved
  61. and click. The pointer will change to a box. Move the pointer to the
  62. destination and click again. A bell sounds for legal moves, a buzzer for
  63. illegal ones. To de-select the card you're trying to move, click on it a
  64. second time. If you double click on a card (two clicks less than 1 second
  65. apart), it will be moved to an empty cell, if one exists.
  66.  
  67.  
  68.  MULTI-CARD MOVES
  69.  ----------------
  70.  
  71.     You can move multiple cards from one tableau to another, subject to
  72. these limitations:
  73.  
  74.  - All the cards being moved must be of a legal sequence (that is,
  75.    alternating suit and decreasing rank).
  76.  
  77.  - The cards being moved must create a legal sequence when attached to the
  78.    bottom of the target tableau (or the target tableau must be empty).
  79.  
  80.  - You must have enough space to move the desired number of cards. The
  81.    maximum number of cards you can move to an occupied tableau can be
  82.    calculated as (1 + number of empty cells) * (1 + number of empty
  83.    tableau), so if you have two empty cells and one empty tableau, you can
  84.    move up to 6 cards. If the move you're attempting requires more space
  85.    than is available, an error message is given. If moving to an empty
  86.    tableau, the maximum number of cards you can move is (1 + number of
  87.    empty cells) * (number of empty tableau). If the target is an empty
  88.    tableau and a multi-card move is possible, you will be given a choice
  89.    of moving only one card or as many as is possible. Remember that the
  90.    maximum number of cards in a tableau is 17.
  91.  
  92.  
  93.  HIDDEN CARDS
  94.  ------------
  95.  
  96.     Because of the way the cards are stacked, you can only completely see
  97. the bottom cards in each tableau. If you want to temporarily see a hidden
  98. card, click on it and it will be briefly displayed.
  99.  
  100.  
  101.  AUTOMATIC PLAY-UP
  102.  -----------------
  103.  
  104.     After each move, any playable, unneeded cards are automatically moved
  105. to the accumulation piles. A card is unneeded if there are no lower-rank
  106. cards of the opposite color left in the playing area. You can toggle the
  107. auto play-up (and auto loss check) feature by calling up the STATS page and
  108. pressing F1. Turning auto play-up/loss check OFF will speed up game play,
  109. since this uncompiled BASIC program requires a couple seconds to make these
  110. checks. Super CPU users will probably want to leave this feature ON. This
  111. setting is stored in your personal STATS file, so once you set it, it'll
  112. remain the same each time you play, unless you change it again.
  113.  
  114.  
  115.  WINNING AND LOSING
  116.  ------------------
  117.  
  118.     You win the game if all 52 cards are played up to the accumulation
  119. piles. You lose if no legal moves remain, and the program will recognize
  120. this (if auto play-up/loss check is ON). It's possible to get into a
  121. situation where legal moves remain, but none of them advance the progress
  122. of the game (if you're just moving a red seven back and forth between two
  123. black eights, for example). This also represents a loss, which auto loss
  124. check won't recognize, and you'll have to manually terminate the game using
  125. one of the options on the menu bar.
  126.  
  127.  
  128.  THE MENU BAR
  129.  ------------
  130.  
  131.     The game number you are playing is displayed on the menu bar, along
  132. with these options:
  133.  
  134.  New Game - Randomly deals out a new game. If selected when in the middle
  135. of a game, you will be asked if you truly wish to give up, thus losing the
  136. current game.
  137.  
  138.  Select Game - Allows you to specify the number (1-32767) of the desired
  139. game. The distribution of cards is always the same for a game of given
  140. number. If selected when in the middle of a game, you will be asked if you
  141. truly wish to give up, thus losing the current game.
  142.  
  143.  Redeal - Redeals the current game (or the one just completed). If selected
  144. when in the middle of a game, you will be asked if you truly wish to give
  145. up, thus losing the current game. Other than this, a redeal does not affect
  146. your statistics.
  147.  
  148.  Statistics - Shows your statistics, not including the current game.
  149. Statistics kept are: total number of wins and losses, winning percentage,
  150. wins, losses, and percentages for the current session, longest winning and
  151. losing streaks, and current streak. The statistics are kept in a disk file,
  152. along with the number of the current (or last completed) game. Click when
  153. done viewing the statistics.
  154.  
  155.  Help Display - Brief play instructions. Click when done.
  156.  
  157.  Quit - Ends FOURCELL. If selected when in the middle of a game, you will
  158. be asked if you truly wish to give up, thus losing the current game.
  159.  
  160.  
  161.  STRATEGY AND HINTS
  162.  ------------------
  163.  
  164.     Winning at FOURCELL requires planning and patience. A common mistake is
  165. to make a move just because it is possible, and then to realize that it
  166. cuts off another move. Look for trouble spots like aces hidden at the tops
  167. of columns, or cards trapped behind kings. Remember there is no wraparound,
  168. so you can't move a king between two tableaux, unless the target column is
  169. empty.
  170.  
  171.     Use your empty cells carefully. There are only four. Try to keep them
  172. unoccupied as much as possible. Empty tableaux are also valuable - try to
  173. create them.
  174.  
  175.  
  176.  PROGRAMMER'S NOTE
  177.  -----------------
  178.  
  179.     I used the wonderful CONTROL 80 program to handle most of the screen
  180. manipulations in FOURCELL, but discovered that the SHUF command did not
  181. produce a repeatable card shuffle, even when given identical seed values.
  182. This left me in a bit of a quandary since I needed a repeatable shuffle so
  183. that specific game numbers would always produce the same setup. I also
  184. tried the RANDOM2-254 routine, but since it keys off the SID chip instead
  185. of the RND function, it too failed to deliver a consistent card sequence.
  186. I ended up writing my own routine in a mixture of BASIC and ML that
  187. operates acceptably fast, but wanted LOADSTAR readers to know that neither
  188. CO