Command line mastermind