sublime.tools

The Game of Life

This tool allows you to simulate the Game of Life.

Instructions

Click on any cell to change its state. If it was dead, it will become alive, and if it was alive, it will become dead. Use the buttons to clear the board, play the game, or step through it turn by turn.

What is the Game of Life?

The Game of Life is a cellular automaton designed by British mathematician John Horton Conway in 1970. It is a zero-player game, meaning its evolution is determined by its initial state, requiring no further input from players.

Rules

  1. Board: The game takes place on an infinite grid of square cells. Each cell can be in one of two possible states: alive (white) or dead (black).
  2. Neighbors: Each cell interacts with its eight adjacent neighbors, which are the cells directly horizontal, vertical, and diagonal.
  3. Initial State: The game begins with an initial configuration of living and dead cells.
  4. Generations: The game progresses in discrete steps called generations. The state of all cells is updated simultaneously in each generation according to these rules:
    • A living cell with two or three living neighbors remains alive; otherwise, it dies (due to loneliness or overpopulation).
    • A dead cell with exactly three living neighbors becomes a living cell (reproduction).

Support this website

If this page has been useful, share it with your contacts by email, social networks,... etc.