A lite game engine to learn c++