Mastermind

Metadata
creation year: 2017

This project was created during my studies, which means that I will not work more on this but I wish to keep it for future references if needed.

The project is a game of mastermind in console. The goal of this game is to discover a combination of several marble chosen by the script among the following colors :

There are three level of difficulty :

LevelMarble to discover
Easy4
Medium5
Hard6

The user has 8 guesses to find the correct combination, each time the script will return one of those three symbols for each marble :

SymbolMeaning
.The marble is present in the combination but in another place
0The marble is at this place
xThe marble isn't in the secret combination