I made my own game engine on top of a library called SDL. I made it a long time ago now and have made much better engines since. I'm starting to work on making new games soon. Thanks for your interest :-)