Draw a line when the green flag is pressed for the AI to move through the maze. Try to close the maze at the start and finish or the AI will never be able to reach the finish. Once you are finished drawing the line, press done and the AI will try to find its way out. Do not obstruct the AIs path (ex. Drawing a box or circle a without allowing it to reach the finish)
This is for a school project on artificial intelligence. Improvements are coming soon...