This is my own maze generation code done with C and SDL2, the algorithm used to generate the maze is the depth first search algorithm.
I am using GCC and SDL2.
The command used to compile and run this is: gcc main.c -lSDL2 -lSDL2main -o demo && ./demo
Watch the demo here: https://www.youtube.com/watch?v=Bx4Wi84vWP4&feature=youtu.be