gf check_events(gf update_screen(ai_settingsscreenshiprun_game(these two functions make the while loop simpler and will make further development easier instead of working inside run_game()we can do most of our work in the module game_functions because we wanted to start out working with code in single filewe didn' introduce the game_functions module right away this approach gives you an idea of realistic development processyou start out writing your code as simply as possibleand refactor it as your project becomes more complex now that our code is restructured to make it easier to add towe can work on the dynamic aspects of the gametry it yourse lf - blue skymake pygame window with blue background - game characterfind bitmap image of game character you like or convert an image to bitmap make class that draws the character at the center of the screen and match the background color of the image to the background color of the screenor vice versa piloting the ship let' give the player the ability to move the ship right and left to do thiswe'll write code that responds when the player presses the right or left arrow key we'll focus on movement to the right firstand then we'll apply the same principles to control movement to the left as you do thisyou'll learn how to control the movement of images on the screen responding to keypress whenever the player presses keythat keypress is registered in pygame as an event each event is picked up by the pygame event get(methodso we need to specify in our check_events(function what kind of events to check for each keypress is registered as keydown event when keydown event is detectedwe need to check whether the key that was pressed is one that triggers certain event for exampleif the ship that fires bullets