Table of Contents
Small project coded in Pascal develop when i was in secondary school.
In the program, 6 different counters will be used, these counters will be numbers. Among these 6 pieces, the computer will take 4 of them. The user will have 10 tries to find the combination which will be chosen randomly. Next to the pieces the player has chosen, indicators will be written on the side, to show
- The number of counters correctly placed with O.
- The number of counters with the right number, but wrongly placed, with X.
If the user does not find the combination, it will be revealed by the game.
- Download repository
- Compile mastermind.pas with compiler
- Pascal