https://alande-amorim.github.io/conways-game-of-life-js/
This is a tribute to famous british mathematician John Conway that passed away in April 2020 at age of 82. This is my implementation of his famous creation The Game of Life.
Just simple stuff, nothing fancy.
- HTML
- CSS
- Javascript
The Game of Life is a cellular automaton by the British mathematician John Conway in 1970. It is a zero-player game, meaning that its evolution is determined by its initial state and very simple rules, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.
- Any live cell with fewer than two live neighbours dies, as if by underpopulation.
- Any live cell with two or three live neighbours lives on to the next generation.
- Any live cell with more than three live neighbours dies, as if by overpopulation.
- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
- Click on the tiles of the board to draw any pattern you want.
- Click 'Play' and watch what happens.
- Watch. Can you preddict what will happen next?
Many different patterns can be observed in the Game of Life which are classified according to their behavior. They are categorized into: still (does not change over generations), oscillators (oscillates between two or more states) or spaceships (oscilates shape while moving around).
source: wikipedia