Simple simulation of Conway's Game of life. 

Rules:

If dead cell (white):

1. If exactly 3 neighbors, becomes alive (red).


If alive cell:

1. If exactly 2 or 3 neighbors, stays alive.

2. 1 or less neighbors, dies.

3. 4 or more neighbors, dies.


Controls:

Mouse button to change cell state, buttons move forwards a certain number of steps.

Game #5 - https://20_games_challenge.gitlab.io/challenge/


https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Leave a comment

Log in with itch.io to leave a comment.