When the sequence plays on the LEDs, the player repeats the sequence by pressing the corresponding buttons on the row underneath the LEDs. The game starts with one LED being ...
© Sloan Kelly 2019Sloan KellyPython, PyGame, and Raspberry Pi Game Developmenthttps://doi.org/10.1007/978-1-4842-4533-0_22
22. Game Project: Memory
Niagara Falls, ON, Canada
The game ‘Memory’ is the first GPIO project. The board is set up with two rows: one with four LEDs and the other with four buttons as shown in the finished board in Figure 22-1.