kpack18 / kpack18.github.io

CSE 442 Path Algorithm Visualizer
2 stars 0 forks source link

Diagonal Paths #47

Open kpack18 opened 5 years ago

kpack18 commented 5 years ago

As Mathew Hertz I would like to change the settings to allow for diagonal movements within the grid so I can have more options for grid types.

kpack18 commented 5 years ago

Acceptance Test:

1.) Draw a grid of your choice, make sure the shortest path must contain a diagonal step. 2.) Make sure the "diagonal" checkbox is unticked 3.) Run your algorithm and see that it doesn't find the shortest path since it cant move diagonally 4.) click the "diagonal checkbox" and re run your algorithm to see that it now find's the shortest path.