Instructions:

  • Click using the mouse anywhere on the grid, first click places start point, second click places end point.
  • Place barriers by dragging the mouse across the screen, to remove any blocks right click on the block.
  • Press space to start the algorithm and c to clear the grid.
  • Since replit might be slow, here's a vide on how it works. Enjoy!