MousTerMind by William H. Decorie

This program is my version of the classic logic game MasterMind(tm).  To
avoid all sorts of legal trouble etc... I've renamed it to MousTerMind.

This program absolutely requires a mouse and a VGA or better display
adapter.  It will automatically detect these when run; if it cannot find
both, it will abort with an error message.

The object of the game is to match the computer's row of colored pegs.
There are six colors to choose from; a color may appear more than once or
not at all (at least two colors CAN'T appear at all because there are
only 4 holes).  When you make your guess, the computer will give you
a certain number of little white and/or black pegs.  The white pegs mean
that one of your guesses is the right color but in the wrong hole; a black
peg means right color and right hole.  Note that the computer doesn't tell
you WHICH of your guessed pegs are correct; it only tells you HOW MANY.
When you correctly match the computer's row, your guess will be given 4
black pegs and the computer's row will be revealed.  If, after ten tries,
you still didn't get it right, you will lose and the computer's row will
be revealed anyway.  Win or lose, after the game you are given the option
of playing again or quitting.  You may also quit at any time during the
game.  When you quit, a summary of how many games you played and how many
you won is displayed.

There are many other versions of this same game out there, mostly Windows
versions.  My version is DOS based because frankly, "I don't do Windows."
Also, my version conforms to the original game strictly (4 holes, 6 colors,
10 trys).  Other versions allow you to vary this.  I didn't do this because
I prefer the purity of the original.

If you are a logical person, then you can always solve this game in at
most 8 or fewer guesses.  I average about 5 guesses.  There are only 1296
possible combinations that the computer can come up with.  The trick is
to manually compare your guess to the black and white pegs for previous
guesses.  If your guess will not give the same number of black and white
pegs that you got for every preceding guess, then you know it isn't right.
Practice makes perfect.

If you really need help, enter MOUSMIND HELP to run the game.  The computer
will supply a random guess for you at the beginning of each guess.  You
can freely change any or all of the guessed pegs, if you wish.  The guess
supplied to you will always be a potential game winning guess.  Always going
with the computer supplied guess, I've never seen it take more than 7 tries
to win.  Usually it only takes 4 or 5.

You will observe some strange goings on in the lower left corner of the
screen.  This is a leftover from when I was trying to come up with a
"smart" computer player to play against a human.  If you can figure out
what it means, it may help you solve the puzzle faster.  Of course, I
never have to use it to help me ;-).
