The problem i am having is the 2 pixel width pathways (the white parts).
In the top-left of the image (the darker black part) i have manually gone over the white parts that were 2 pixels in width/height;
there are two solutions (that i can think of).
- to programmatically edit it so that pathways are 1x1;
- to find a way of dealing with paths that are larger than 1x1.
any suggestions, the maze-solving algorithm (tremaux) i have implemented works for 1x1 pathways but i am trying to adapt it to this larger maze.
preferably looking for a solution that is adaptable to a maze where the pathway widths can be any size as i have already written a tool where i can take an image and turn it into a monochrome int[][] array for maze solving.
Just looking for hints/steps in the right direction since I'm not sure if I'm looking at this correctly or if I'm heading down the correct path (no pun intended).
Thanks