Terraria clone writen in c++ with SDL2 and OpenGL