MasterMind is the famous logic-based color puzzle. The idea of the game is to guess the secret balls.
The idea of the game is to guess the secret balls. This balls are chosen from 6 (7,8,9) color balls available. You make a series of pattern guesses - after each guess you'll see a feedback in the form of 2 numbers, the number of black balls that are of the right color and in the correct position, and the number of white balls that are of the correct color but not in the correct position. If you guess the correct pattern in 10 or fewer turns, you'll win.