Better printing

This commit is contained in:
Matúš Púll 2024-11-08 21:47:54 +01:00
parent ea6f60fc29
commit b595f3d51e
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -59,6 +59,7 @@ void Game::print() {
cout << col;
cout << std::endl;;
}
cout << std::endl;
}
// Learning functions