<html>
<head>
<title>Mastermind</title>
</head>
<body bgcolor="#ffffff">
<center>
<h1>Mastermind</h1>
<hr>
<table bgcolor="#c0c0c0" border="2" cellpadding="10" vspace="20">
<tr><td>
<applet codebase="." code="Mastermind.class" width="250" height="250"
alt="Your browser understands the <APPLET> tag but isn't running the
applet, for some reason.">
Your browser is completely ignoring the <APPLET> tag!
</applet>
</td></tr>
</table>
<hr>
</center>
<p>
The object of this game is to guess the
sequence of four colored pegs the computer has selected at random from the
circled colors in the right field.</p><p>
You start filling the holes at the bottom row with pegs, and each time
you have completed a guess (i.e. filled all four holes) the computer
will respond by giving you one peg for each correct color - black if your
guess was also in the right place, otherwise white. (But you will not
be informed about <em>which</em> colors were correct. That part you will have
to figure out for yourself.)</p><p>
If you haven't managed to guess the sequence by your 8th guess, the
computer will reveal it to you and the game ends.</p><p><br clear="all">
First select which colors you want to play with. (The default set contains
blue, green, red and yellow. That's <em>moderately</em> difficult. For
obvious reasons you are not allowed to select fewer than <em>two.</em> :-)
Clicking on a color in the
field on the right will toggle the circle around it on/off, indicating
whether it will be part of the set the computer draws from. Then press
'Start' to begin.</p><p>
In case you wish to start over, just press 'End' to discontinue the game.
</p><p>
<b>Disclaimer: the name "Mastermind", the toy and distinctive likenesses
thereof are the properties of <a href="
http://www.hasbro.com/">Hasbro Inc.</a>
This applet is an unofficial, not-for-profit version and neither it nor this
site is endorsed by Hasbro in any way.</b></p><p>
</body>
</html>