| .gitignore | ||
| driver.cpp | ||
| Makefile | ||
| puzzle.cpp | ||
| puzzle.h | ||
| README.md | ||
BLLCHA013 A puzzle program that takes an input PGM image and performs puzzle moves
BLLCHA013 A puzzle program that takes an input PGM image and performs puzzle moves
Usage instructions:
A Makefile is included. A compatible C++ compiler is required, such as GCC g++ or LLVM/clang clang++ supporting the C++11 standard. The Makefile assumes g++.
To compile this software, run make in this directory. The software must be compiled in order to run. To run, execute the driver executable with appropriate command line arguments (example from this directory: ./driver -s 3 -n 8 -i mona512.pgm -x summary.pgm)
Source file explanation:
puzzle is the header file containing declarations of methods and structs required in other files.
puzzle.cpp is the implementation file, containing the methods needed to execute the programs logic. It contains the bulk of the program logic.
driver.cpp is the driver file, containing the main() method. It calls into methods defined in puzzle.cpp which perform the bulk of the program logic.