How would you create an algorithm to solve the following puzzle, \"Mastermind\"?
Your opponent has chosen four different colours from a set of six (yellow, blue, gre
There is a great site about MasterMind strategy here. The author starts off with very simple MasterMind problems (using numbers rather than letters, and ignoring order and repetition) and gradually builds up to a full MasterMind problem (using colours, which can be repeated, in any order, even with the possibility of errors in the clues).
The seven tutorials that are presented are as follows: