The code files for this chapter can be found in the Chapter06 folder in the GitHub repository, at https://github.com/PacktPublishing/MicroPython-Cookbook.
Many of the recipes in this chapter require three audio files to be transferred to the Circuit Playground Express board. These files are called start.wav, win1.wav, and win2.wav. They can all be downloaded from the Chapter06 folder in the GitHub repository. They should be saved in the top-level folder with your main.py file.
Many of the recipes in this chapter make use of the Circuit Playground Express library, which will typically get imported in the first line of the script, with the following line of code:
from adafruit_circuitplayground.express import cpx
This library will help us interact with the buttons, pixels, and speaker that come with the board.