This is a very simple 2D game based on Diep.io. It is a personal project originally intended to be used as a reinforcement learning environment.
Building this project requires Box2D 2.4.1 and SFML 2.5. Commands for Fedora 36:
sudo dnf install git gcc-c++ make cmake Box2D-devel SFML-devel
git clone https://github.com/bkrl/cppdiep.git && cd cppdiep
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j $(nproc)
You control the blue tank and try to kill the red tank, which will automatically shoot at you and move towards you. Move with the WASD keys and aim with the mouse. Left click to fire or press E to toggle automatic firing. See demo.mp4 for an example of what it looks like.