Open Carlos144Green opened 2 years ago
Pretty much get all the walls of the maze and convert them into the cell class with the correct wall variable attached.
ie: cell.w =[1,1,0,0] index: 0=north wall 1=east wall 2=south wall 3=east wall
so that would mean that cell has a north and east wall but no south and west wall
next task, I plan on checking if the pixels adjacent to the wall of a cell are darker than the average pixel color of the maze. if they are I will apply a wall to that cell as mentioned above.
Pretty much get all the walls of the maze and convert them into the cell class with the correct wall variable attached.
ie: cell.w =[1,1,0,0] index: 0=north wall 1=east wall 2=south wall 3=east wall
so that would mean that cell has a north and east wall but no south and west wall