search grid module

hello,

i’m searching for making a grid who allowing movement of a player from box to box.

Is this a library or module is about to simplify the code?