A text-based version of the game Mastermind, coded in C.