A implementation of Mastermind game to the command line.
- Each color is represented by only one digit, so the game can have 9 colors at most (0 not allowed).
- The code don't contains color repetition.
- Each guess must have exactly k numeric digits, where k is the size of the code (Default code size is 4).
You can custom the following properties:
- Number of colors: 5 to 9 colors (default is 8)
- Code size: 1 to (<n_colors> - 1). (default is 4)
- Number of tries: 1 at least. (default is 10)
- Download this repository ZIP file
- Press Windows+R, type C:\Windows and press Enter.
- Put the .exe file (inside of the ZIP) in the current directory.
- Open the terminal and type "mastermind". Press Enter.
https://dev.to/eshleron/how-to-convert-py-to-exe-step-by-step-guide-3cfi