A simple snake game written in c with SDL2. I did this project even before going to university, when I was learning c and SDL2 by myself. Later on I added an option to compile it with emscripten so it can be played on a web browser.
The game has ben uploaded to itch.io for playing online thanks to emscripten. You can visit the game page here
Move the snake with the keyboard arrows. Press ESC to open the menu.