Add a method calculateNextState to the Automaton class that takes the three values, left, center, and right, and returns the calculation of the value of the next state. The next state of a cell was previously calculated using the following line of code:
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.