Conway's Game of Life

A cellular automaton where simple rules create complex patterns. Click cells to toggle, watch evolution unfold.

Vue.js 3 Canvas API Vite

About This Experiment

Conway's Game of Life is a cellular automaton devised by mathematician John Horton Conway in 1970. It's a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input.

The Rules

  • Any live cell with two or three live neighbors survives.
  • Any dead cell with three live neighbors becomes a live cell.
  • All other live cells die in the next generation. Similarly, all other dead cells stay dead.

How to Use

  • Click on cells to toggle them between alive (black) and dead (white)
  • Click "Start" to begin the simulation
  • Click "Pause" to stop and examine the current state
  • Click "Clear" to reset the grid
  • Try creating patterns like gliders, blinkers, or the famous "Gosper glider gun"