Whole lot of TODOs
This commit is contained in:
parent
642dbb2b70
commit
61125a7e64
2 changed files with 3 additions and 3 deletions
1
main.cpp
1
main.cpp
|
@ -85,6 +85,7 @@ int main(void) {
|
||||||
|
|
||||||
response = validate(sequence, guess);
|
response = validate(sequence, guess);
|
||||||
cout << format_response(response);
|
cout << format_response(response);
|
||||||
|
|
||||||
if(learn) {
|
if(learn) {
|
||||||
bot.learn(guess, response);
|
bot.learn(guess, response);
|
||||||
bot.print();
|
bot.print();
|
||||||
|
|
|
@ -67,11 +67,10 @@ public:
|
||||||
known.cannot_be(n, guess[n]);
|
known.cannot_be(n, guess[n]);
|
||||||
}
|
}
|
||||||
else if(response[0] == 0) {
|
else if(response[0] == 0) {
|
||||||
for(int n = 0; n < known.N; n++)
|
// TODO if somewhere, then at least here
|
||||||
known.must_be(n, guess[n]);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// TODO nenula / nenula
|
// TODO nonzero / nonzero
|
||||||
}
|
}
|
||||||
|
|
||||||
// Learn from previous guesses
|
// Learn from previous guesses
|
||||||
|
|
Loading…
Reference in a new issue