Console based Mastermind game