custom game engine written on top of SDL2