- generate code
- check command line flags (-t [input], -c [input])
- REPL (Read Evaluate Print Loop) { validate input .... }
- linear sequence program
- DRY implementation
- syscall implementation
Implemented a command-line version of the Mastermind game in C, featuring random code generation, user input validation, and a checking algorithm to determine well-placed and misplaced pieces in the user's guesses.
The program is installed via the terminal in the IDE and uses a Makefile for compilation purposes of the project. Once the Makefile rules are outlined, the developer runs 'make && ./my_mastermind', utilizing the executable command in order to test the program.
- Download Project via .zip file or git clone
- Open Terminal
- Navigate to project:
ex:
User/My-Mastermind user$
- compile && run:
make && ./my_mastermind
exit:Ctrl + D