your computer has microphoneyou can also record sounds and make your own wav files to use in your games sprites and sounds program this program is the same as the keyboard and mouse input program from the last howeverin this program we will use sprites instead of plain looking squares we will use sprite of little person instead of the white player squareand sprite of cherries instead of the green food squares we also play background music and sound effect when the player sprite eats one of the cherry sprites source code of the sprites and sounds program if you know how to use graphics software such as photoshop or ms paintyou can draw your own images if you don' know how to use these programsyou can download graphics from websites and use those image files instead the same applies for music and sound files you can also find images on websites or images from digital camera you can download the image and sound files from this book' website at if you get errors after typing this code incompare the code you typed to the book' code with the online diff tool at spritesandsounds py import pygamesystimerandom from pygame locals import set up pygame pygame init( mainclock pygame time clock( set up the window windowwidth windowheight windowsurface pygame display set_mode((windowwidthwindowheight) pygame display set_caption('sprites and sound' set up the colors black ( set up the block data structure player pygame rect( playerimage pygame image load('player png'