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);
|
||||
cout << format_response(response);
|
||||
|
||||
if(learn) {
|
||||
bot.learn(guess, response);
|
||||
bot.print();
|
||||
|
|
|
@ -67,11 +67,10 @@ public:
|
|||
known.cannot_be(n, guess[n]);
|
||||
}
|
||||
else if(response[0] == 0) {
|
||||
for(int n = 0; n < known.N; n++)
|
||||
known.must_be(n, guess[n]);
|
||||
// TODO if somewhere, then at least here
|
||||
}
|
||||
else {
|
||||
// TODO nenula / nenula
|
||||
// TODO nonzero / nonzero
|
||||
}
|
||||
|
||||
// Learn from previous guesses
|
||||
|
|
Loading…
Reference in a new issue