How can i Create programming grid tilemap in 2d platform ?

hi, I want to create a 2d topdown strategy game and want to create a programming grid(s) (tilemap). Does anybody have an idea?

what do you mean by a “programming grid” ? Here is one example

there are lots of other tutorials. Google, Unity create dynamic 2d map from tilesets

Basically, you create a 2D array. You then need to decide which tiles are linked to each element in the array, and use the array as an index to offset the positions of the tiles in your rendered map.