I don't think I get how to do that - how would i tell where the piece would go? Alterable values? How would I load them?
Really liking the idea. Please just help me follow what you had in mind.
Make a 2D array that has the same number of rows and columns as the tiles in your maze. In each cell, store a number from 1-10, depending on the tile in the corresponding place in the maze.
So if the top-left tile is a solid wall, set cell 0,0 to 1. If the next one is a right-angled corridor, set cell 1,0 to 2. And etc. A different number for each type of tile