Skip to content

code2k13/GOF_circuitpython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CircuitPython Implementation of Conway's Game of Life

This repo contains code for CircuitPython implementation of the famous 'Conway's Game of Life'. It uses Adafruit's adafruit_st7735r library to draw the game on a 128x160 pixel color TFT LCD. This has been tested on Raspberry Pi Pico, here is a video of the game in action:

Game of Life on  128x160 TFT LCD

The code assumes you are using Raspberry Pi Pico and ST7735 based 120*160 pixel TFT LCD. The connections between the board and LCD are as follows:

Display Pin Number Display Pin Name Pi pico Pins
2 VCC 5V
1 GND GND
10 CS GP18
6 RESET GP17
7 A0 GP16
8 SDA GP11
9 SCL GP10
15 LED 3.3V

For a different board, you will have to update code to use PINs which were used for connecting the LCD

Things to try

  • Add a reset button to re-start the game.
  • Play around with 'scale' variable, try different value (recommended values are 2,4,8)

A CircuitPython implementation of Conway's Game of Life, that shows the game over TFT LCD

About

A CircuitPython implementation of Conway's Game of Life, that shows the game over TFT LCD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy