Skip to content

Experience the classic board game reimagined in Python with my rendition of the timeless MasterMind.

License

Notifications You must be signed in to change notification settings

devangsaraogi/mastermind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MasterMind - The Classic Board Game

The objective of MASTERMIND is to guess a secret code consisting of a series of 4 colored pegs. You can play either as a CodeBraker or a CodeMaker but in this rendition of the game, you can only play as the CodeBraker.

The Game

  • There are 6 colours which form a 4 colour sequence - Red, Blue, Purple, White, Green, and Yellow.
  • You have 10 attempts to unravel the sequence.
  • For each attempt, enter your chosen color sequence and verify.
  • Remember, you must enter a sequence before attempting to decode.
  • If you're unable to crack the code within 10 attempts, the sequence will be unveiled, and you'll be defeated.
  • Crack the code in 10 attempts or less, and you'll achieve victory.

Decoding Feedback

  • Star (*): Correct color in the correct position.
  • Cross (x): Correct color in the wrong position.
  • Zero (0): No correct colors.

Giving Up?

You can reveal the sequence if you're ready to concede the challenge.

Demo

Coming Soon...

Get ready to exercise your mind and unveil the mystery of the sequence. Are you prepared for the ultimate Mastermind Challenge?

Acknowledgements

This project was made as a part of the Python for Computational Problem Solving Laboratory Course (UE20CS102) at PES University.

About

Experience the classic board game reimagined in Python with my rendition of the timeless MasterMind.

Topics

Resources

License

Stars

Watchers

Forks

Languages