A. Introduction

The game of mastermind was coded using matlab. Mastermind is a game were a player plays against the computer. The user must use process of elimination to determine the correct color sequence. The color sequence is made up of 4 dots where each dot could be one of 6 colors. A black dot means the color and location are correct and a white dot means the color is correct and location is not. The user has 10 guesses.