Question: This project has 3 subproblems you need to solve. Cell Rule You need to implement CellRule with the correct rules for death and rebirth. The

This project has 3 subproblems you need to solve. Cell Rule You need to implement CellRule with the correct rules for death and rebirth. The rules (repeated) are: Any live cell with fewer than two live neighbours dies, as if by underpopulation. Any live cell with two or three live neighbours lives on to the next generation. Any live cell with more than three live neighbours dies, as if by overpopulation. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. Border Rule Conway's Game of Life assumes that the game takes place on an infinite board. For simplicity, we will take a finite board. To handle the borders, we are choosing to wrap around the edges as if they were connected. This is implemented in BorderRule. In other words, given a max dimension N: if my position is less than zero then move to N-1 if my position is greater than or equal to N then move to 0 if (1) or (2) or not met, then use the original position Color Rule This is to add your own spice to the program. My demo has green/black, but you can choose your own

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!