A small project, done just for fun to learn a framework called P5js in javascript.
(note: this implementation was written just for fun with the objective to learn/ practice JS and P4JS, it is in no way optimized)
Use the mouse button to draw a pattern and hit enter to start or stop the game
try using object for each cell to change color based on how many alive or dead cells have been there in the past. (history mode)