Press the green flag to generate a map. Press the space bar to show the best path between the blue and red squares. Move your mouse to the top of the screen to access the grid dimensions and the wall to space ratio. (editing the dimensions after a map is generated might cause problems with the display)
Please take a look at my code and tell me things I can improve! Resource I used to get started on this project: https://en.scratch-wiki.info/wiki/Pathfinding Please credit me if any of my code is used!