From 74e1e2e2247b90810de876f8ff1b3427d89e706a Mon Sep 17 00:00:00 2001 From: g-spacewhale Date: Tue, 21 Nov 2017 16:05:38 +0100 Subject: [PATCH] changed to use heavypuzzle in main --- Source/functions/solve/structure.cpp | 6 +++--- Source/main.cpp | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Source/functions/solve/structure.cpp b/Source/functions/solve/structure.cpp index b5ea0ac..55b7c6f 100644 --- a/Source/functions/solve/structure.cpp +++ b/Source/functions/solve/structure.cpp @@ -77,11 +77,11 @@ bool next(vector& log, vector& p_Box, Puzzle& puzzleMat) } } //cout << "next" << endl; - /*if(log.back().myCoor.n>8) + if(log.back().myCoor.n>8) { cout << "m: " << log.back().myCoor.m << " n: " << log.back().myCoor.n << endl; - status(log,p_Box,puzzleMat); - }*/ + // status(log,p_Box,puzzleMat); + } return 1; } diff --git a/Source/main.cpp b/Source/main.cpp index 62fc4fb..256eff3 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -9,7 +9,7 @@ int main() { - int cols=10, rows=10; + int cols=40, rows=40; //some basic part stuff vector myFirstPuzzle; Part myFirstPart; @@ -23,7 +23,8 @@ int main() //undo everything and make this puzzle fucking imba hard!!! //need 40x40 for this, so check your status - //makehard4040puzzle(myFirstBox); + + makehard4040puzzle(myFirstBox); //some advanced solver stuff vector log;