Mastermind game for one player with two difficulty levels (junior/senior).
Code written in python3 with graphics user interface (GUI) using Tkinter.
To play the game : save the following files in the same directory.
- Mastermind_eng.py : Python 3 script
- rules_eng.txt : plain text document that contains the rules of the game
- stat.txt: plain text document used to record game statistics
- about.txt : plain text document that contains copyright and license information
Mastermind is a code-breaking game.
To learn more about Mastermind : https://en.wikipedia.org/wiki/Mastermind_(board_game)
From the GUI you can read How to play? as well as copyright and license information.
The game statistics are recorded and can be displayed thanks to the menu Statistics from the GUI. You can reset the statistics with the button Reset.
Here is an example of game.
- Document code