Home › Fun & Games › Conway's Game of Life

Conway's Game of Life

Draw live cells on the grid and watch them evolve by Conway's simple birth and survival rules. Load classic patterns such as gliders, spaceships and the Gosper glider gun, change the speed or rule, and import or export patterns in the standard RLE format.

Last updated:

Generation0
Population0
Click or drag on the grid to draw. Click a live cell to erase.
RLE import / export
Advertisement
Advertisement

How to use the Conway's Game of Life

  1. Draw cells by clicking or dragging on the grid. Clicking a live cell erases instead.
  2. Press Start to run the simulation, or Step to advance one generation at a time. Space and N do the same when the grid has focus.
  3. Pick a pattern from the library and press Load pattern, or switch on Stamp to place copies wherever you click.
  4. Adjust the speed, grid size, edges and rule in the side panel to experiment.
  5. Share a pattern by exporting the grid as RLE, or paste RLE from a pattern collection and press Import.

How the Game of Life works

The Game of Life is a zero-player game: once you set up the starting cells, the rules decide everything that happens next. All cells update at the same moment, based only on how many of their eight neighbours (horizontal, vertical and diagonal) are alive in the current generation.

Cell nowLive neighboursNext generationNickname
Alive0 or 1DiesUnderpopulation
Alive2 or 3Stays aliveSurvival
Alive4 to 8DiesOvercrowding
DeadExactly 3Becomes aliveBirth
DeadAny other numberStays dead–

With the Color newborn cells option, cells born in the latest generation are shown in orange, so you can see where the action is.

Families of patterns

TypeWhat it doesExamples in the library
Still lifeNever changesBlock, beehive, loaf, boat
OscillatorReturns to its starting shape after a fixed number of generations (its period)Blinker (2), pulsar (3), figure eight (8), pentadecathlon (15), queen bee shuttle (30)
SpaceshipReturns to its shape but shifted, so it travels across the gridGlider, LWSS, MWSS, HWSS, copperhead
GunOscillates while emitting spaceships foreverGosper glider gun (period 30), Simkin glider gun (period 120)
MethuselahA tiny start that evolves for a very long time before settlingR-pentomino (1,103 gens), acorn (5,206 gens), diehard (dies at 130)

Tips for experimenting

  • Give patterns room. Methuselahs like the acorn need a large grid with dead edges; on a small or wrapped grid their debris collides and the result changes.
  • Collide gliders. Stamp two gliders heading toward each other (use Rotate and Flip) and step through the crash one generation at a time.
  • Use Reset. After a run, Reset brings back the exact pattern you started from, so you can try again at a different speed.
  • Save your discoveries. Export the grid to RLE and keep the text; importing it later restores the pattern and its rule.

Frequently asked questions

What are the rules of Conway's Game of Life?

Each cell on the grid is alive or dead and has eight neighbours. In every generation a dead cell with exactly 3 live neighbours is born, a live cell with 2 or 3 live neighbours survives, and every other cell dies or stays dead. This rule is written B3/S23 (born on 3, survives on 2 or 3).

Who invented the Game of Life?

The British mathematician John Horton Conway devised it in 1970. It became famous after Martin Gardner described it in his Mathematical Games column in Scientific American in October 1970.

What is a glider gun?

A glider gun is a pattern that repeats itself while shooting out gliders forever. The Gosper glider gun, found by Bill Gosper in 1970, fires one glider every 30 generations. It proved that a finite pattern in Life can grow without limit.

What is RLE in the Game of Life?

RLE (run length encoded) is the standard text format for Life patterns. A header line gives the width, height and rule, then b means a dead cell, o a live cell, $ the end of a row and ! the end of the pattern, with numbers in front meaning repeats. For example the glider is bo$2bo$3o!.

What is the difference between dead and wrap-around edges?

With dead edges, everything outside the grid counts as dead, so patterns that reach the border are cut off and may break up. With wrap-around edges the grid behaves like a torus: a glider leaving on the right comes back on the left.

What are HighLife, Seeds and Day & Night?

They are other cellular automata that use the same grid with different birth and survival counts. HighLife (B36/S23) is like Life but has a small self-replicating pattern, Seeds (B2/S) explodes from almost any start, and Day & Night (B3678/S34678) treats live and dead regions symmetrically.

Why does my pattern behave differently than in other programs?

The most common reasons are the grid edge (a pattern that hits a dead border changes), a too small grid, or a different rule. Use a larger grid, check that the rule is B3/S23 and give spaceships room to travel.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Lights Out GameTurn off every light in the classic 5x5 puzzle, with solvable random boards and a solver.Maze GeneratorCreate random mazes in any size, solve them with the arrow keys, then print or save as PNG.Pixel Art MakerDraw pixel art on an 8 to 64 px grid with palettes, fill and mirror, then export PNG or SVG.Logic Gate SimulatorBuild logic circuits with AND, OR, NOT, XOR gates and flip-flops; see live outputs and truth tables.8-Bit Sound Effect GeneratorMake retro game sounds: coin, jump, laser, explosion, power-up. Tweak, mutate and export WAV.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Connect FourPlay Connect 4 online against the computer or a friend.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.2048 GamePlay 2048 online with swipe controls, undo and best score.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.Calcudoku Math PuzzleSolve KenKen-style cage arithmetic puzzles from 3×3 to 9×9, each with a unique solution.Logic Grid PuzzlesSolve Einstein-style deduction puzzles with clues and an ✗/✓ grid, from easy to hard.Math Equation Guess GameNerdle-style math puzzle: find the hidden 8-character equation in six tries. Daily and unlimited.Maze Chase GameArcade maze game: eat every dot, grab power pellets and dodge four ghosts. Levels, lives and high score.Mini Golf GamePlay 18 holes of top-down mini golf: drag to putt past windmills, water and sand, with a scorecard.Connect the Dots Flow PuzzleDraw lines to join matching colored dots and fill the whole board without crossings. 5×5 to 12×12.Car Parking PuzzleSlide the blocking cars and trucks to free the red car. 120 graded levels with hints.Peg SolitaireJump pegs over each other until only one is left. English, European and triangle boards with hints.Pipes PuzzleRotate pipe tiles to connect every pipe to the source with no leaks. 5×5 to 15×15, wrap mode, timer.Pop It GameVirtual pop-it fidget toy with pop sounds, shapes and colors, plus a two-player last-pop game.Rebus PuzzlesPicture-word brain teasers like MIND over MATTER, with hints, answers and printable sets.Road Crossing GameFrogger-style arcade: hop across busy roads and a log-filled river, grab coins and fill all 5 homes.SokobanPush every box onto a goal in this warehouse puzzle. 60 levels, undo, swipe and custom levels.Spend a Billion Dollars GameSpend a billion (or any fortune) on houses, jets and good causes, then save your receipt.Spot the DifferenceFind 5 to 10 differences between two illustrated pictures, with new scenes every game.US States Visited MapClick US states to mark visited, lived or want to go, see your count out of 50 and save a PNG.Taboo Word Game CardsDescribe the word without saying the forbidden ones: 100+ cards, timer and team scores.Tangram PuzzleDrag, rotate and flip 7 tangram pieces to fill 58 silhouettes, with snapping, hints and kids mode.Ultimate Tic Tac ToePlay 9 nested tic-tac-toe boards vs a Monte Carlo AI or a friend, with a rules guide.US Map PuzzleDrag the 50 states onto the US map. Snapping, timer, labels toggle, regions and an easy kids mode.US Presidents QuizName all 47 US presidencies in order against the clock, match years and facts, or study them.War Card GamePlay the classic War card game vs the computer: flip cards, fight wars, auto-play at any speed.Word Connect GameSwipe letters on a wheel to make words and fill the mini crossword. Hundreds of levels, hints, coins.Word Scramble GameUnscramble jumbled words against the clock. Pick a theme and difficulty, build streaks, use hints.Word Tile Game vs ComputerPlay a crossword board game against the computer: premium squares, tile bag, scoring, dictionary.Chinese Chess (Xiangqi)Play Chinese chess vs the computer at 5 levels or with a friend, with legal move highlights.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.GomokuGet five in a row on a 15×15 board against a smart computer or a friend.Battleship GamePlace your fleet and sink the computer's ships in this classic naval guessing game.FreeCellPlay FreeCell solitaire online with the classic numbered deals, undo, hints and auto-move.
See all 141 Online Games →