Mastermind

Description
Mastermind is a single-player code breaking game.
The player has 10 turns to try to solve a 4-number puzzle, with each number being a digit between 1 and 6. The computer tells the player how many digits are correct, and how many digits are correct and in the correct position. The computer tracks how many games the player has won, and how many turns it takes to win on average.
There is also the option for players to input their own code, and allow the computer to try to solve it. The player must tell the computer how many digits are correct, and are correct in the correct position. The player is not allowed to lie to the computer.