acmpesuecc / maze_solver

MIT License
1 stars 0 forks source link

get_width_of_cell() function buggy #3

Open gall1frey opened 3 years ago

gall1frey commented 3 years ago

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

shr218 commented 3 years ago

Can I work on this!

gall1frey commented 3 years ago

Sure, all the best!