Solver doesn't need to remember known sequence colors
This commit is contained in:
parent
61d53d7700
commit
8bbfb250d2
1 changed files with 1 additions and 4 deletions
|
@ -5,11 +5,8 @@ class Solver {
|
||||||
Game known;
|
Game known;
|
||||||
int N, M;
|
int N, M;
|
||||||
vector<Historic_guess> history = {};
|
vector<Historic_guess> history = {};
|
||||||
vector<int> sequence;
|
|
||||||
public:
|
public:
|
||||||
Solver(int p_N, int p_M) : N(p_N), M(p_M), known({p_N, p_M}) {
|
Solver(int p_N, int p_M) : N(p_N), M(p_M), known({p_N, p_M}) {}
|
||||||
sequence = vector<int>(N, -1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Guessing
|
// Guessing
|
||||||
vector<int> guess() {
|
vector<int> guess() {
|
||||||
|
|
Loading…
Reference in a new issue