game engine modified and separated from the game