home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR35 / VIM.ZIP / MIND.DOC < prev    next >
Text File  |  1993-04-14  |  5KB  |  100 lines

  1.                                CODEBREAKER 1.0
  2.  
  3.                                   APRIL 1993
  4.  
  5.                                  KEVIN YETMAN
  6.  
  7.  
  8.     In the '70s, one of the most popular board games was a game called
  9. Mastermind.  The was addictive, challenging, and just plain fun.  This
  10. is why I decided to write a program to play the game.
  11.  
  12.    For those of you who have played the game Mastermind and remembers
  13. the rules, you'll find this program almost identical to the board game.
  14. About the only changes you'll find are the black peg has been replaced
  15. with a magenta peg so that every peg's color would have a unique first
  16. letter.  Also, the name of the game was changed to avoid any possible
  17. copyright infringement problems.
  18.  
  19.    For those of you who have not played the game, why?!?!?! :)
  20. The rules are really quite simple.  The game is based on colored pegs.
  21. The colors are red, yellow, blue, green, white, and magenta.  One
  22. player chooses a series of four color pegs as a secret code.  Duplicate
  23. color pegs are allowed, ie, you can have two red pegs in the code.  Once
  24. the code is chosen, the other player starts guessing color pegs to try to
  25. guess the code that the first player chose.  The first player will, after
  26. each guess, tell the other player how he did by a series of result pegs.
  27. The result pegs are black and white.  The black pegs indicate that one
  28. of the pegs in the players guess is the correct color and in the proper
  29. position within the guess.  For example if the second peg of the code is red
  30. and the player put a red in the second position, a black result peg would
  31. be used.  The white result pegs indicate that one of the pegs in your guess
  32. is the right color, but is in the wrong position for the code.  For example,
  33. if red is the second color of the code and the guess had red in the third
  34. position, a white result peg would be used.  The order of the result pegs is
  35. meaningless, ie, just because the leftmost result is black does not mean that
  36. the peg in the left position of the guess is correct.
  37.  
  38. Game Play:
  39. ----------
  40.  
  41.    When you decompress this file, you'll find this document file and mind.exe.
  42. This is the program you need to run to play the game.  A simple rules screen
  43. will display.  It will also warn you that you need a color monitor.  VGA or
  44. EGA is recommended as 16 color mode is needed.  If you do not have a monitor
  45. of this type, press <ESC> and the program will return to the MS-DOS prompt.
  46. Pressing any other key will start the game.
  47.  
  48.    The screen will draw a computerized version of the Mastermind game board,
  49. a help window to show the result peg values, a menu window for choosing your
  50. colors, and a window to show you your current guess.  The cursor will be at a
  51. prompt saying "Your Choice:".  You will come to this prompt to pick each
  52. color of each guess.
  53.  
  54.    As you pick colors, the game will put the color pegs in the current guess
  55. window.  If you make an error, you can press the backspace key to go back.
  56. Each time you press backspace, a color peg in the current guess window will
  57. disappear.  After entry of the fourth peg, it will prompt you "Correct?".  If
  58. you enter 'Y' or 'y', it will put the current guess onto the board and display
  59. the result pegs.  The result pegs will come up to the right of your guess.
  60. A light blue result peg means that there is no result peg in that slot.
  61. For example, if you have just one black result peg, there will be three light
  62. blue ones.
  63.  
  64.     There are three ways to terminate the program...winning, losing, or pressing
  65. <ESC> at any color peg entry.  You win the game by choosing the code.  Four
  66. black result pegs will display and then the code will display at the bottom
  67. of the board.  You lose the game by filling in all the guesses without
  68. guessing the code.  If you lose the game the correct code is displayed at the
  69. bottom of the game board.
  70.  
  71.    At the end of the game, you will be prompted to "Play again?" in the
  72. current guess window.  If you press 'Y' or 'y' the screen will redraw, a
  73. new code chosen by the computer, and the game will start again.
  74.  
  75.    When you press 'N' or 'n' at "Play again?" a special surprise will display
  76. on the screen.  When your done admiring the handy work of the surprise, press
  77. any key to return to the MS-DOS prompt.
  78.  
  79. Other Information:
  80. ------------------
  81.  
  82.     This game is made available on a Shareware basis.  You are free to
  83. distribute this to anyone you'd like, provided this document file goes
  84. with it.
  85.  
  86.    If you enjoy this game, I would welcome, and appreciate, any donation
  87. you would care to send.  You may send it to:
  88.  
  89.                         Kevin Yetman
  90.                         240 Shawsheen Avenue
  91.                         Wilmington, MA  01887-2223
  92.  
  93.    I would also welcome any comments and constructive criticism at the
  94. address above.
  95.  
  96.    If you prefer, you can send me comments and/or critiques on the Internet
  97. at nin15b66@merrimack.edu
  98.  
  99.    Thank you for your interest in this game!  I hope you enjoy it, as much as
  100. I enjoyed writing it!