Where can I learn to make a tile system?

I want a simple tile system to make a map, and then place and destroy tiles. What do I need to learn / know?

you need to think how to make one, grab a cuadriculated paper and use a cartesian plane to define your tile system, then a little of thinking and programming magic and that’s it, you just made your first tile system