A simple snake game made using C++ and SDL2 lib for a project in college. The code is explained within the files.
For more information about how SDL2 works and how to install it, visit Lazyfoo's tutorial. https://lazyfoo.net/tutorials/SDL/
For windows users you have to use #include <SDL.h> , and for macOS/linux users use #include <SDL2/SDL.h>
The game was made using the XCODE 13 IDE.