aliveAtNextStep method

bool aliveAtNextStep(
  1. GridWorld w,
  2. int i,
  3. int j
)

Returns true if the cell at {i,j} lives to the next generation.

Implementation

bool aliveAtNextStep(GridWorld w, int i, int j) => true;