Basic Conway's Game of Life in Typescript/Javascript