Pi Pico - Conway's Game of Life - Demonstration With Code
by tonygo2 in Circuits > Microcontrollers
169 Views, 0 Favorites, 0 Comments
Pi Pico - Conway's Game of Life - Demonstration With Code
You can read about the origin of this Game here:
Conway's Game of Life - Wikipedia
Coding this game has often been an early project when a programmer got access to a new display screen. I've recently taken delivery of two new screens from Pimoroni. The larger has 240 x 240 pixels on a Pico Explorer Base, while the smaller has 240 x 135 pixels on a Pico Display. Both devices are driven by the recently released Raspberry Pi Pico microcontroller coded using MicroPython.
Once running you can generate a new colony by hold button A and halt the execution of the program with the Y button.
I've included downloads for both screens.
As you can see I've based these scripts on Steve Baine's post for Pico Unicorn Pack (7 x 16 LEDs) on Pimoroni's Forum. They provide examples of the performance of the Pico with these displays.
Supplies
Raspberry Pi Pico microcontroller
Pico Explorer or Pico Display from Pimoroni