Simple game framework for line-based games (C++/SDL/OpenGL)