Learning c++ through a lite game engine