Run the simulation for 10 generations from grid and return how many cells are a…

NumPy · from Capstone: Conway’s Game of Life, without a single loop

np.rollboolean masksastypeshifted sumswrap-aroundsimulation

Putting the kettle on…

Starting up…

Exercise 4

Run the simulation for 10 generations from grid and return how many cells are alive at the end.

your answer
stuck? the lesson behind it
Capstone: Conway’s Game of Life, without a single loop
A whole simulation in two lines of array arithmetic.