Better printing
This commit is contained in:
parent
ea6f60fc29
commit
b595f3d51e
2 changed files with 3 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -54,6 +54,8 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
response = validate(sequence, guess);
|
response = validate(sequence, guess);
|
||||||
bot.learn(guess, response);
|
bot.learn(guess, response);
|
||||||
|
if(learn)
|
||||||
|
cout << "Guess " << history.size() << " : " << format_guess(guess) << format_response(response);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Human playing
|
// Human playing
|
||||||
|
|
|
@ -59,6 +59,7 @@ void Game::print() {
|
||||||
cout << col;
|
cout << col;
|
||||||
cout << std::endl;;
|
cout << std::endl;;
|
||||||
}
|
}
|
||||||
|
cout << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Learning functions
|
// Learning functions
|
||||||
|
|
Loading…
Reference in a new issue