2017-12-02 14:39:19 +01:00
|
|
|
#include "header.h"
|
2017-12-06 16:25:13 +01:00
|
|
|
|
|
|
|
int LogEntry::randomed(0);
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
|
2017-12-16 00:10:52 +01:00
|
|
|
unsigned int cols=5, rows=6;
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
//some basic random puzzle stuff
|
2017-12-21 12:20:57 +01:00
|
|
|
Puzzle myFirstPuzzle(cols,rows);
|
|
|
|
myFirstPuzzle.createRandomBox();
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
//some advanced solver stuff
|
|
|
|
vector<LogEntry> log;
|
2017-12-20 18:23:39 +01:00
|
|
|
vector<Part*> p_myFirstBox;
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
Puzzle puzzleMat(cols, rows);
|
2017-12-21 12:43:31 +01:00
|
|
|
puzzleMat.createRandomBox();
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
//vector<vector<PuzzlePiece*>> ab1class = abstractionLayer1classify(log, p_myFirstBox,puzzleMat);
|
2017-12-21 12:20:57 +01:00
|
|
|
while(next(log, puzzleMat.p_myBox,puzzleMat));
|
2017-12-02 14:39:19 +01:00
|
|
|
|
|
|
|
puzzleMat.printPuzzle();
|
|
|
|
}
|