Discover a 5 digits secret number with the least possible
guesses and in the shortest time.
The partial scores are two digits numbers indicating number of digits in right place and number of
digits present but not in the right place.
The final score gives the number of trials, number of seconds, the
product of the two(this is the global score).
To see an example of game just look at this screenshot.
You can play alone or with other players.
In this case you play alternatively and each time wins the person that gets
the lowest global score.
If you are interested in the source the program uses 4 classes:
Look here for
more details about these last three classes.
Are you,like me, interested in Mastermind? Here are some valuable resources:
BACK to First programs in Java