diff --git a/main.cpp b/main.cpp index 979c6b8..4d41b1f 100644 --- a/main.cpp +++ b/main.cpp @@ -54,6 +54,8 @@ int main(int argc, char* argv[]) { response = validate(sequence, guess); bot.learn(guess, response); + if(learn) + cout << "Guess " << history.size() << " : " << format_guess(guess) << format_response(response); } // Human playing diff --git a/solver.cpp b/solver.cpp index c825f81..40c592a 100644 --- a/solver.cpp +++ b/solver.cpp @@ -59,6 +59,7 @@ void Game::print() { cout << col; cout << std::endl;; } + cout << std::endl; } // Learning functions