A game of life in JavaScript and HTML