Install the following libraries in order to build the game:
sudo apt install g++ cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev libsdl2-mixer-dev
Build using CMake.
mkdir build
cd build
cmake ..
make -j
The game must be run from the directory containing the resources.mdf file (in order to access the data files). If built using cmake, run:
./build/mdfgame/tank_game
It's also possible to specify the path to the folder containing resources.mdf with the -r option:
./tank_game -r ../..