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. 

I've compiled it with emscripten in order to make it playable in the browser.

Usage:

  • Move the snake with the keyboard arrows.
  • Press ESC to open the menu.


Check source code
The source code is hosted in my github personal account, you can check it here:

https://github.com/jmermar/C-SDL2-Snake