- Play mastermind in terminal.
- Mastermind is a color code guessing game.
- You have to guess correct code while not running out of guesses.
- Harder difficulty.
- 7 different colors.
- can not repeat same colors.
- Both Computer and Player can play as guesser\mastermind(who puts secret code).
- Custom algorithm for computer guess.
- Colorized output.
- Feedback on guesses.
- number of balls with wrong position but right colors.
- number of balls with right position and right colors.
Computer Guess Algorithm - (for non repeating colors and 7 total colors)
demo -
original link -