see output scroll by as each library is installed if you also want to enable more advanced functionalitysuch as including sound in gamesyou can install two additional librariesbrew install sdl_mixer portmidi use the following command to install pygame (use pip rather than pip if you're running python )pip install --user hg+start python terminal session and import pygame to check whether the installation was successful (enter python rather than python if you're running python )python import pygame if the import statement worksmove on to "starting the game projectbelow installing pygame on windows the pygame project is hosted on code-sharing site called bitbucket to install pygame on your version of windowsfind windows installer at python you're running if you don' see an appropriate installer listed at bitbucketcheck after you've downloaded the appropriate filerun the installer if it' exe file if you have file ending in whlcopy the file to your project directory open command windownavigate to the folder that you copied the installer toand use pip to run the installerpython - pip install --user pygame- -cp -none-win whl starting the game project now we'll start building our game by first creating an empty pygame window to which we can later draw our game elementssuch as the ship and the aliens we'll also have our game respond to user inputset the background colorand load ship image