This project uses a pathfinding algorithm to tile a maze so that the 'bots' can follow it and get to the target. Wait for the maze to finish being tiled and then press space to release a bot. Be careful doing this though, too many bots will significantly lag it (and this is worsened by the fact you can hold the spacebar).
I got the idea of this kind of project from griffpatch's tutorial but I did not directly use any of his code. By the way, sometimes the bot will loop in circles. This is because the bot touches the wrong tiles. Just restart the project and try again.