GOL 2022 version
Game of life: a programming challenge that the hiring team was using at my former workplace in 2015.
Tried it for fun back then.
The game below is the same game, albeit a little cleaned up for the 2022 web.
Controls
Interval: time in milliseconds before the next state is computed.Load/Save state: load/save the current game in the browser’slocalStorage. For quickly saving state. Only one game can be saved.- Random game: generates a random game where the initial state of each cell is computed by the given probability. e.g.
0.08means approximately 8% of the cells are alive initially. - Manual game:
left-click + drag: draw
shift-left-click + drag: erase
left-click: toggle cell state