The casino_sounds package

We will use the popular game development library called pygame in order to play our audio. Pygame is primarily a game-development library for Python, providing its own set of game-related features, one of which is a very simple API for playing audio files. This is how we will handle adding sound to our game.

You may not already have this library installed. This presents us with a good opportunity to look at using virtual environments in order to manage our Python libraries.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset