The get_width_of_cell function must return the width of each cell in the maze.
Each cell is a square and walls are black. Ideally, the width of each cell would be width of image / no. of cells in a row.
This function must figure out how many columns there are in each row (or how many rows in each column) and use that information to compute the width of each cell with the above mentioned formula.
Currently, it seems to work on mazes 0 to 4, but fails for the rest
The get_width_of_cell function must return the width of each cell in the maze. Each cell is a square and walls are black. Ideally, the width of each cell would be
width of image / no. of cells in a row
. This function must figure out how many columns there are in each row (or how many rows in each column) and use that information to compute the width of each cell with the above mentioned formula.Currently, it seems to work on mazes 0 to 4, but fails for the rest
Bounty Points: 70 Brownie Points: 30