Skip to content

Neighbors in a grid [mp]

Micro pattern

Description

Generate adjacent grid cells from direction offsets and check bounds before visiting them.

Problems