Simple Game Engine in C++