Detail gameplay and explainations
This is a small puzzle game built with C++ from scratch.
- Language: C++17 standard
- External libraries: SDL2
- Programming technique: OOAD, Design patterns
- External libraries installed and managed by
- CPM Package Manager
- Unit testing using Catch2 v2
├── CMakeLists.txt
├── app
│ ├── CMakesLists.txt
│ └── main.cc
├── cmake
│ └── cmake modules
├── docs
│ ├── Doxyfile
│ └── html/
├── external
│ ├── CMakesLists.txt
│ ├── ...
├── src
│ ├── CMakesLists.txt
│ ├── /...
│ └── /...
└── tests
├── CMakeLists.txt
└── test_*.cc
Library code goes into src/, main program code in app/ and tests go in tests/.
First, clone this repo and do the preliminary work:
- App Executable
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release --target main
cd app
./main