A simple implementation of the classic Mastermind game in Python. Test your logical deduction skills by guessing a 4-digit number!
Mastermind is a classic board game where the player attempts to guess a secret code consisting of a sequence of colored pegs. In this implementation, you will be guessing a 4-digit number.
- Run the game using a Python interpreter (Python 3.x).
- The program will generate a random 4-digit number for you to guess.
- Enter your guess as a 4-digit number.
- The game will provide feedback on how many digits you've guessed correctly and their positions.
- Keep guessing until you correctly guess the entire number!