How to play the simulation:
Point where you want to place the first point and press 1.
Point where you want to place the second point and press 2.
You can place blocks between their path by pointing where you want to place the block and clicking the LEFT MOUSE BUTTON. Similarly, you can point over a block and click the RIGHT MOUSE BUTTON to remove it.
Alternatively, you can press BACKSPACE to clear the screen.
You can also generate a random maze of blocks by pressing ENTER and then place the first and the second point to find the shortest distance between them.