A nice walk through a maze.
For more information please check out the full documentation
docs/ # documentation
game/ # source files for maze
sponge/ # source files for sponge game engine
tools/ # tools and utility scripts
Clone this repository.
git clone https://github.com/tomconder/maze.git
Install vcpkg, a dependency and package manager for C++.
By far the quickest way to install vcpkg is to clone it into this project.
cd maze
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
cd ..
setx VCPKG_ROOT vcpkg
If you installed vcpkg elsewhere, add an environment variable called VCPKG_ROOT
that contains the location where you
installed vcpkg.
setx VCPKG_ROOT <path to vcpkg>
Install CMake, a cross-platform build system.
For example, use Chocolatey to install CMake.
choco install cmake
Now you can use a preset to compile maze
. Possible values
are: x64-debug
, x64-release
, osx-debug
, osx-release
On Windows, you can use
cmake -B build -DCMAKE_BUILD_TYPE=Release --preset x64-release
cmake --build build --config Release --target install game
Or, for MacOS, you can use
cmake -B build -DCMAKE_BUILD_TYPE=Release --preset osx-release
cmake --build build --config Release --target install game
The maze executable will be found in the build directory: out\build\x64-release\maze\Release\maze.exe