Conway's game of life
Conway’s game of life is a zero player game which means its evolution throughout the game is determined by its initial input and no further interaction is required. It was invented by Cambridge mathematician, John Horton Conway. The game became very popular when it was mentioned in an article published by Scientific American in 1970. Fundamentally, the Game of Life is a grid featuring a collection of cells which can live, die or multiply depending on the initial conditions. These cells form various patterns throughout the course of the game. This implementation of the algorithm was created using React and Redux, with arrays in an object as the data structure. It was designed so that the cells that are off the edge of the grid wrap around to the far side. Another possible implementation is to have every cell at the end of the grid to be in the ‘dead’ state. Obviously various implementations will have different effects on the lifecycle of the cells in the grid.
© 2020 Alexander Oguejiofor