Project recreating this classic game using C and SDL. This code is here as-is from a 10-part video series. Code commented afterwards
Video series: https://www.youtube.com/playlist?list=PLSkJey49cOgTSj465v2KbLZ7LMn10bCF9
Project Website: http://www.maizure.org/projects/lets-make-dangerous-dave
i.e. gcc -I/usr/include/SDL2 lmdave.c -Wall -lSDL2 -o lmdave
Use the included TILES.c and LEVEL.c