jostbr / pymaze

A maze generator, solver and visualizer for Python
MIT License
272 stars 63 forks source link

Save the Solution Steps #22

Open ThomasThelen opened 6 years ago

ThomasThelen commented 6 years ago

Right now we output how long and how many steps the solver took to solve the maze. It would be great to save this information somewhere so that a user can compare speeds.

jostbr commented 6 years ago

The path variables contains solution coordinate paths so we have the solution path, the length of this would be the number of steps. I agree, there are definitely possible enhancments to make the path (and its length) more easily accessible to the user. This would enable them to make cool statistics depending on various parameters and so on. Something to have in mind for the future.