Moore neighborhood
The Moore neighborhood is a neighborhood relationship in a square grid. All areas that have at least one corner in common with the base area are considered neighbors.
It is named after Edward F. Moore and is also known as the 8 neighborhood .
It corresponds to the possibilities of the king in chess .