A basic C++ game engine code.