home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / games / table / mst / mst.txt < prev   
Encoding:
Text File  |  1991-05-28  |  8.7 KB  |  236 lines

  1.  
  2.                          _   . . _   _  __
  3.                         /_)_(_/_/_)_</_/ (_
  4.                                /
  5.                               '
  6.  
  7.                              _/_                              
  8.             ______  __.  _   /  _  __      ______  o ____  __/
  9.            / / / <_(_/|_/_)_<__</_/ (_    / / / <_<_/ / <_(_/_
  10.  
  11.  
  12.  
  13.  
  14.  
  15. Introduction
  16. ============
  17.  
  18.   This is another implementation of the well known game. Don't expect anything
  19. fancy, with awsome graphics and impressive sounds; my main concern was to 
  20. write portable code that could be compiled on any machine, with minimal changes.
  21. Initially I wrote the game on the Unix BSD 4.3 operating system...I just 
  22. recompiled it with Mark Williams C on my ST.
  23.  
  24.  
  25.  
  26. The Gameplay
  27. ============
  28.  
  29.   For those who have never played master-mind let me say a few words.
  30.  
  31.   Master-Mind requires a lot of thinking, logical deductions and luck.
  32. The player is called to guess (in 10 turns max) a 5-symbol pattern generated
  33. by the computer.
  34.  
  35.   After each guess the computer gives some hints, in the form of two symbols:
  36.  
  37.     *     means that the guess contains a correct symbol which is placed at
  38.           the correct position.
  39.  
  40.     #     means that the guess contains a correct symbol but it is misplaced
  41.  
  42.  
  43.     Examples:
  44.     --------
  45.  
  46.     1.    Hidden Pattern:   ebhhg
  47.           Guess         :   agaah
  48.           Hints         :   ##
  49.  
  50.           (the guessing pattern contains 2 misplaced symbols: h and g.
  51.            so the computer displays 2 sharp signs (##), one for each
  52.            misplaced symbol)
  53.  
  54.  
  55.     2.    Hidden Pattern:   ebhhg
  56.           Guess         :   gdhde
  57.           Hints         :   *##
  58.  
  59.           (the guessing pattern contains three correct symbols: g, h and e.
  60.            the symbol e is placed correctly, so the computer displays a star
  61.            refering to that symbol. The symbols g and h are misplaced so
  62.            the computer displays two sharp signs, one for each misplaced symbol
  63.            So the hint pattern for that particular guess is *##)
  64.  
  65.  
  66.     3.    Hidden Pattern:   ebhhg
  67.           Guess         :   ggggg
  68.           Hints         :   *
  69.  
  70.           (*** EXCEPTION ? ***
  71.            -------------------
  72.            Here we have an "exception" to the rules. "Normaly" the above
  73.            guessing pattern should lead to the following hint pattern: *####
  74.            meaning that the guess contains 5 correct symbols, with only one
  75.            of them placed correctly (the last g) and the rest being misplaced.
  76.  
  77.            Well the above way of thinking is WRONG, and the reason is very
  78.            simple:
  79.              the hint pattern *#### gives the impression that the player has
  80.              found all the symbols of the hidden pattern, and he only needs
  81.              to rearrange them in order to construct the hidden pattern.
  82.              Obviously this is not the case. He has only found ONE symbol of
  83.              the hidden pattern, which is placed correctly in the pattern.
  84.  
  85.            That's why the program displays only ONE star (*), refering to the
  86.            last g in the hidden pattern.)
  87.  
  88.  
  89.  
  90.   ** IMPORTANT POINTS **
  91.   ----------------------
  92.   - Keep in mind that the order of the symbols in the hint-pattern has nothing
  93.     to do with the order of the symbols in the guessing pattern. (i.e. if there
  94.     is a star in the second place in the hint-pattern, it does not necessarily
  95.     mean that the 2nd symbol in the guessing pattern is the same with the 2nd
  96.     symbol in the hidden pattern)
  97.  
  98.   - When displaying hints, the program displays the stars (*) first, and
  99.     then the sharp signs (#).
  100.  
  101.   - If the hint-pattern is empty, then the hidden and the guessing pattern
  102.     have NO symbols in common
  103.  
  104.  
  105.  
  106. The Implementation
  107. ==================
  108.  
  109.   When launched, the program displays the table of high scorers, and asks for
  110. the name of the player. Just type in your name and hit <Return> (or <Enter>).
  111.  
  112.   Now you should be in the main screen of the game. At the top left of the
  113. screen there is the name of the last player along with his score. Just below
  114. that there is the name of the current player. The meaning of the hint symbols
  115. appears at the top right portion of the screen.
  116.  
  117.   The rest of the screen is arranged in tabular form with the following headers
  118. for each column (from left to right):
  119.  
  120.   - SCORE   :   your current score. The formula for calculating the score is:
  121.                 score = score - 100 * (number of turn) + 5 * (number of stars)
  122.                                                        + 3 * (number of sharps)
  123.                 Of course high score indicates high performance.
  124.                 
  125.   - PATTERN :   the guessing pattern you just entered. If instead of
  126.                 a valid pattern you see: xxxxx, then you have made a
  127.                 mistake. To see what that mistake was, just type r in
  128.                 the input column. (see below)
  129.                 
  130.   - HINTS   :   the hint-pattern generated by the computer
  131.  
  132.   - This column is used for INPUTing the guessing pattern.
  133.         o You can type  your guess in either upper or lower case.
  134.         o If the column under the header PATTERN contains 5 x's (xxxxx)
  135.           you can type here the character 'r' (no quotes) in order to
  136.           figure out what went wrong.
  137.         o When things get confusing you can quit prematurely by typing
  138.           'quit' or just 'q' (no quotes)
  139.  
  140.  
  141.   When either the hidden pattern has been found or 10 turns have been completed
  142. the program asks the player if it is supposed to run again. The valid reponses
  143. are:
  144.  
  145.   - y (yes)  :  the program asks for a new name and starts over again
  146.   - n (no)   :  exit to the desktop
  147.   - a (again):  start again using the name of the current player
  148.  
  149.  
  150.  
  151. Epilogue & Disclaimer
  152. =====================
  153.  
  154.   Super Master Mind is in the Public Domain, which means that you can do
  155. whatever you want with it, except from using it for making profit. It also means
  156. that I don't take any reasponsibility for any damages the usage of the program
  157. may cause to your system.    _Use_it_at_your_own_risk_.
  158.  
  159.     Since I include the source code, I will not bother to fix bugs (I haven't
  160. found any so far). Of course you can always try to convince me to fix a bug
  161. for you.
  162.  
  163.   Although I don't demand it, I would appreciate it if you mention my name when
  164. you distribute an enhanced version of the game (which will be based on my code)
  165. Lastly,  I would like to ask from anyone who may enhance the game to send me a
  166. copy so we can all play the same game.
  167.  
  168.  
  169.                   Well, this is it folks, have fun.
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176. -------------------------------------------------------------------------------
  177. NEW REALEASE
  178. -------------------------------------------------------------------------------
  179.  
  180.   Available now....
  181.  
  182.   A T Z E N T A  ver  2 . 0 0, the complete Phone/Address + Calendar program
  183.   for the ST computer series. ATZENTA is an outstanding application that helps
  184.   you organize and keep track of the records of all your friends,customers,etc.
  185.   Its powerful features include:
  186.     - up to 4 different files on screen
  187.     - records are displayed inside GEM windows
  188.     - easy access to any record with just a keypress
  189.     - 10 different sorting options
  190.     - auto dial the telephone number of any record (local & long distance)
  191.     - copy/move records from one file to another
  192.     - merge 2 files to 1
  193.     - output filtered lists of records to the screen, printer or ASCII files
  194.  
  195.     ...plus a lot more
  196.  
  197.   It comes with a complete C A L E N D A R inspired from the unix program 'cal'
  198.   Featuring:
  199.     - american and european date format
  200.     - memos for any day in the present month
  201.     - calculate the difference between any two dates
  202.     - search operation for any string in all memos
  203.     - print calendars for any year or month
  204.  
  205.     ...plus a lot more
  206.  
  207.  
  208.   A demo version of the program has been posted to Usenet; you should also be
  209. able to find it at any BBS in the Boston area. ATZENTA ver 2.00 is Shareware
  210. with suggested registration fee $15 (US).
  211.  
  212.   For more information, or a free (usable) demo of the program
  213.  
  214.   call   : (617) 787-1648
  215.  
  216.   e-mail :  CSCRZCC@BUACCA.bu.edu
  217.  
  218.   or post:  Harry Karayiannis
  219.             15 N. Beacon, #316
  220.             Allston, MA 02134
  221.             U.S.A.
  222.  
  223.             (please include a self addressed envelope)
  224.  
  225.  
  226.   If you decide to purchase the program and want to speed things up, you can
  227. deposit $15 (US) directly into my bank account:
  228.  
  229.   Haralabos Karayiannis
  230.   National Bank of Boston
  231.   Kenmore Sq. Branch
  232.   Checking account number: 912-35792
  233.  
  234.  (please write your name and address in the comments-field)
  235. -------------------------------------------------------------------------------
  236.