π A bad implementation of the snake game in C & SDL2
The single dependency is SDL2 which you have to have installed on your system to be picked up by the CMake during compilation. So you will need CMake as well. Some C compiler also will be useful.
sudo pacman -S --needed base-devel cmake sdl2
sudo apt-get install build-essentials cmake libsdl2-dev
mkdir build && cd build
cmake ..
make -j$(nproc)
Start the csnake
executable from the build
folder defined before.