Mastermind Computer Player using Genetic Algorithms in C#
Posted by Mike Gold Articles | GDI+ & Graphics July 22, 2002
After writing the Genetic Algorithm Article for implementing a
Genetic Algorithm in C#, I tried to think of a good example of
how to illustrate a real-world use of Genetic Algorithms to
illustrate artificial intelligence. Reader Level: Download
Files:  Figure 1 - The Game of Mastermind played by the computer
After writing the Genetic Algorithm Article for implementing a
Genetic Algorithm in C#, I tried to think of a good example of
how to illustrate a real-world use of Genetic Algorithms to
illustrate artificial intelligence. It dawned on me that
Mastermind could be played completely by the computer using AI.
Looking back at my Mastermind Game in C# (also check out Jigar
Desai's Mastermind game, a much more graphically pleasing and
user friendly version), I thought it would be easy enough to
drop in the Genetic Algorithm stuff to produce a feature in the
game that allowed the computer to gi