Iterative Robot: Provides method stubs that get called periodically during each operating mode. The game loop is written as an infinite loop. We need to keep track of the state of the game via boolean variables such as gameOver and gamePaused. (I will change it to an enumeration later.) We can then use these boolean flags to control the loop.