changed to solve real puzzle

This commit is contained in:
Raphael Maenle 2018-01-10 17:40:12 +01:00
parent ab2741a743
commit 070ecdba8b

View File

@ -5,7 +5,7 @@ int LogEntry::randomed(0);
int main() int main()
{ {
unsigned int cols=4,rows=5; unsigned int cols=36,rows=28;
vector<LogEntry> log; vector<LogEntry> log;
Puzzle puzzleMat(cols, rows); Puzzle puzzleMat(cols, rows);
@ -15,7 +15,7 @@ int main()
return 0; return 0;
} }
puzzleMat.createRandomBox(); //puzzleMat.createRandomBox();
cout << "Solving Puzzle now..."; cout << "Solving Puzzle now...";
while(next(log, puzzleMat)); while(next(log, puzzleMat));