Update a grid of firing neurons
A grid holds neurons that are either firing or not. In each step every neuron's next state depends on how many of its neighbours are firing, in the style of the Game of Life. Compute the next grid; first with a copy, then update it in place with constant extra space.
No answer yet. Write the first one; the best answer gets endorsed.
