added more strucuture to strucutur.cpp. commiting now to extract new debugging branch

This commit is contained in:
g-spacewhale
2017-11-19 17:52:02 +01:00
parent c308b6d9e8
commit 15940f41da
3 changed files with 90 additions and 36 deletions

View File

@ -1,4 +1,4 @@
#define MAX_ABSTRAX = 1
#define MAX_ABSTRAX 1
#include "header.h"
@ -15,17 +15,17 @@ int main()
myFirstPuzzle.push_back(myFirstPart);
//some basic random puzzle stuff
randomBox myFirstBox(cols,rows);
myFirstBox.createRandomPuzzle();
myFirstBox.shuffle();
myFirstBox.printPuzzle();
randomBox myRandomBox(cols,rows);
myRandomBox.createRandomPuzzle();
vector<PuzzlePiece> myFirstBox = myRandomBox.shuffle();
myRandomBox.printPuzzle();
//some advanced solver stuff
vector<LogEntry> log;
vector<PuzzlePiece*> p_myFirstBox;
for(int i=0;i<myFirstBox.size();i++)
p_myFirstBox[i] = &myFirstBox[i];
Puzzle puzzleMat(cols, rows);