AI Features

Solution: Game of Life

Let’s solve the Game of Life using the Matrices pattern.

Statement

The Game of Life, also known simply as Life, is a cellular automaton introduced by British mathematician John Horton Conway in 1970.

We are given an m×nm \times n grid representing the board. Each cell has one of two states:

  • 1 → Alive ...

Ask