Mastermind game for command line made in Go.
Mastermind (also known as Bulls and Cows) is a guessing game.
A number of 4 digits is randomly generated, and the player has to guess it. Each turn the player guesses a number, and it's shown how many number where guessed in the same position, and how many in a different position.
Secret number: 7612
Guessed Number: 1682
Numbers at same position: 2
Numbers at different position: 1
Download this project and extract it in your folder of choice.
Go to Platforms/Linux
in the command line and run ./mastermind
.
Open Platforms\Windows
in the file explorer and run mastermind
.