Snake made with C++ and SDL2.
This is an old project that was later pushed to GitHub.
Importing SDL2 in Visual Studio:
- Go to Project > Properties > C/C++ > General
- Edit
Additional Include Directories - Insert a new line and add
<project root>/deps/SDL/include - Hit OK and go to Linker > General
- Edit
Additional Library Directories - Insert a new line and add
<project root>/deps/SDL/lib/x64(or x86) - Go to Linker > Input
- Edit
Additional Dependencies - Add
SDL2.lib,SDL2main.libandlibfreetype-6.lib - Hit OK and you're set up.
Use the arrow keys to move around.