gitwtfhub

wtf is game-of-life?

a15n/game-of-life — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2016-06-23

JavaScriptAudience · generalComplexity · 1/5DormantSetup · easy

TL;DR

A browser-based, playable version of Conway's Game of Life, a cellular automaton where simple rules make patterns evolve on a grid.

Mindmap

mindmap
  root((game-of-life))
    What it does
      Simulates cellular automaton
      Cells live or die each turn
      Patterns evolve on grid
    Tech stack
      JavaScript
      Runs in browser
      No backend needed
    Use cases
      Learn cellular automata
      Generative art play
      Tinker with rules
    Audience
      Students
      Hobbyists
      Curious tinkerers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Watch Conway's Game of Life patterns evolve directly in the browser.

REASON 2

Learn how simple rules produce complex emergent behavior.

REASON 3

Experiment with modifying the rules or starting cell patterns.

REASON 4

Use it as a teaching example for algorithms or generative art.

What's in the stack?

JavaScript

How it stacks up

a15n/game-of-lifea15n/a15na15n/checkout-validation
LanguageJavaScriptJavaScriptJavaScript
Last pushed2016-06-232019-04-072014-09-04
MaintenanceDormantDormantDormant
Setup difficultyeasyeasyeasy
Complexity1/52/52/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Yoink these prompts

Prompt 1
Explain how this Game of Life implementation decides if a cell lives or dies each generation.
Prompt 2
Help me add new starting patterns (like a glider) to this Game of Life grid.
Prompt 3
Show me how to change the grid size in this Game of Life project.
Prompt 4
Walk me through the JavaScript code that renders the grid and controls.

Frequently asked questions

wtf is game-of-life?

A browser-based, playable version of Conway's Game of Life, a cellular automaton where simple rules make patterns evolve on a grid.

What language is game-of-life written in?

Mainly JavaScript. The stack also includes JavaScript.

Is game-of-life actively maintained?

Dormant — no commits in 2+ years (last push 2016-06-23).

How hard is game-of-life to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is game-of-life for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.