how to customize tile map size ingame

Just wondering how you were doing so far.

This other question about using GUI Control nodes for a Plants versus Zombies style game, reminded me of your question:

It makes a lot of sense for a minesweeper as well, though I never tried creating a very big GridContainer