Minimal starter project for the Game Graph Gym (ggg) library that implements a solver for reachability games.
Ensure you have the required dependencies installed (see here), In short, on Debian/Ubuntu, install Boost
sudo apt-get install -y build-essential cmake \
libboost-graph-dev libboost-program-options-devThen clone, build and install GGG
git clone https://github.com/gamegraphgym/ggg
cd ggg
cmake -S . -B build # configure cmake
cmake --build build -j$(nproc) # build
sudo cmake --install build # install system-wide (optional)Now clone, build and run
git clone https://github.com/gamegraphgym/ggg-starter-project
cd ggg-starter-project
cmake -S . -B build # configure cmake
cmake --build build -j$(nproc) # buildThe executable will be in build/ggg_reachability_solver.
Run it on the included test game:
./build/ggg_reachability_solver test.game
Game solved in 0.046 ms.
Solution:
Winner: 0