Thread:TwinArmageddonz/@comment-9531161-20140414010649/@comment-9531161-20140414011410

OK, we'll need a few things for this to work:

The maze array, which will hold numbers depending on the tile. For instance, walls are 1, keys are 2, empty space (where you can walk) is 0, etc. You can make these values anything you like, as long as they're consistent.

Another array which is the same size as the maze which will hold whether or not we've visited a particular maze cell.

ANOTHER array which will be very very large, one dimensional, and just as large (if not larger) than the maze array. For instance, if your maze was 15X15, this array should be at least 225.

The maze MUST be an odd width and height. It's unfortunate, but that's how it has to be.

Are you fine with all of this?