The Game of Life

The Game of Life

A Tribute to John Conway

Created on 11th March 2021

The Game of Life

The Game of Life

A Tribute to John Conway

The problem The Game of Life solves

Before scrolling down, click on the first image added above, and just hold your right arrow key

➡️
This project is a digital simulation of John Conway's "The Game of Life," a classic example of cellular automata. It features an interactive grid where cells follow simple rules to live, die, or evolve, creating complex and beautiful patterns over time.

  1. Underpopulation: A live cell with fewer than two live neighbours dies.
  2. Survival: A live cell with two or three live neighbours survives to the next generation.
  3. Overpopulation: A live cell with more than three live neighbours dies.
  4. Reproduction: A dead cell with exactly three live neighbours becomes a live cell.

The simulation demonstrates the principles of emergent behaviour and mathematical beauty in simple systems. Perfect for exploring the concepts of life, growth, and evolution in a digital environment.

Okay boomer

Challenges we ran into

I later realised that the evolution is done cell by cell, rather than an entire slate at one go. So I had to introduce another 2D array to maintain the states for the previous evolution and the next evolution. It was a fun learning

Tracks Applied (1)

Ethereum + Polygon Track

asdasdasd
Polygon

Polygon

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio