invulnerablemode false if the player is invulnerable invulnerablestarttime time the player became invulnerable gameovermode false if the player has lost gameoverstarttime time the player lost winmode false if the player has won the squirrel eat squirrel game has quite few variables that track the game state these variables will be explained in more detail later when they are used in the code the usual text creation code white create the surfaces to hold game text gameoversurf basicfont render('game over'truewhitegameoverrect gameoversurf get_rect(gameoverrect center (half_winwidthhalf_winheightwinsurf basicfont render('you have achieved omega squirrel!'truewinrect winsurf get_rect(winrect center (half_winwidthhalf_winheightwinsurf basicfont render('(press "rto restart )'truewhitewinrect winsurf get_rect(winrect center (half_winwidthhalf_winheight these variables contain surface objects with the --game over||--you have achieved omega squirrel!||and --(press "rto restart )|text that appears on the screen after the game ends (with either the player losing or winningcameras camerax and cameray are where the middle of the camera view is camerax cameray the camerax and cameray variables track the game coordinates of the --camera|imagine the game world as an infinite space this couldof coursenever fit on any screen we can only draw portion of the infinite space on the screen we call the area of this portion camerabecause it is as though our screen is just the area of the game world in front what camera would see here' picture of the game world (an infinite green fieldand the area that the camera can view