This is a pretty basic implementation of John Conway's Game of Life, a mathematical game played on a grid. Each grid cell can be alive or dead, and for each generation a live cell can stay alive or die, and a dead cell can come alive, based on it's number of nearest neighbors (measured using Chebyshev distance).
A hosted version is available at https://mattiasolla.github.io/game-of-life.
These rules are parametrized in the constant RULES
in game-of-life.ts, and are currently the standard configuration:
This project is implemented as a pure frontend application using Svelte and Typescript.