in this section we'll add play button that appears before game begins and reappears when the game ends so the player can play again right now the game begins as soon as you run alien_invasion py let' start the game in an inactive state and then prompt the player to click play button to begin to do thisenter the following in game_stats pygame_stats py def __init__(selfai_settings)"""initialize statistics ""self ai_settings ai_settings self reset_stats(start game in an inactive state self game_active false def reset_stats(self)--snip-now the game should start in an inactive state with no way for the player to start it until we make play button creating button class because pygame doesn' have built-in method for making buttonswe'll write button class to create filled rectangle with label you can use this code to make any button in game here' the first part of the button classsave it as button pybutton py import pygame font class button() def __init__(selfai_settingsscreenmsg)"""initialize button attributes ""self screen screen self screen_rect screen get_rect(set the dimensions and properties of the button self widthself height self button_color ( self text_color ( self font pygame font sysfont(none build the button' rect object and center it self rect pygame rect( self widthself heightself rect center self screen_rect center the button message needs to be prepped only once self prep_msg(msg