MasterMind extended

MasterMind is the famous logic-based color puzzle. The idea of the game is to guess the secret balls.