Mastermind game with computer as codebreaker