Skip to content

Files

Latest commit

 

History

History

Mastermind game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Mastermind Game

A simple implementation of the classic Mastermind game in Python. Test your logical deduction skills by guessing a 4-digit number!

About the Game

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.

How to Play

  1. Run the game using a Python interpreter (Python 3.x).
  2. The program will generate a random 4-digit number for you to guess.
  3. Enter your guess as a 4-digit number.
  4. The game will provide feedback on how many digits you've guessed correctly and their positions.
  5. Keep guessing until you correctly guess the entire number!