Idea
In short
How do you build a game of Life on a matrix?
A grid of lights lives, dies and breeds by Conway's simple rules, and patterns such as a glider walk across an 8 by 8 matrix. A button seeds a new random pattern. A wonderful example of simple rules making complicated life. You need Arduino Nano, WS2812B 8x8 RGB LED matrix, Tactile push button 6 mm, Resistor 330 Ω, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Beginner
- Time
- About 90 min
- Parts
- 6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Watch cells live and die on a matrix.
Parts list
- Development Boards
- Displays
- Switches
- Passives
- Prototyping
- Prototyping
How to build it
- Store the grid as eight bytes
- Count each cell's live neighbours
- Apply the birth and death rules
- Wrap the edges
- Reseed with a button when it stops changing
Common questions
What parts do I need for the game of Life on a matrix?
Arduino Nano, WS2812B 8x8 RGB LED matrix, Tactile push button 6 mm, Resistor 330 Ω, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the game of Life on a matrix take to build?
About 90 minutes for a beginner maker.
