In this section, we'll work with sound. Most games usually use music to provide sound background. For a simple sound device, we can use sound buzzer devices. We can use a PC-mountable mini-speaker - PC Mount (12mm, 2.048kHz) from SparkFun, found at the following link: https://www.sparkfun.com/products/7950. You can see this in Figure 3-9, and you can also find some other sound buzzer models with low prices at AliExpress:
![](https://static.packt-cdn.com/products/9781789956870/graphics/assets/5afdaa20-f0f8-4070-84c4-da6252ed4a9f.png)
Figure 3-9: Mini Speaker - PC Mount
Next, we connect the sound buzzer to the ESP32 board.