Moore Neighbourhood
The eight cells horizontally, vertically, and diagonally adjacent to a given cell, forming the complete set of neighbours whose states influence any cell’s next state in the simulation.
Related
cellular-automaton-grid game-of-life-rules cell-state-transitions