What is the main game loop of this game?