You have seen how to direct Shakey one instruction at a time. If the task to perform is long or complicated, it can be quite tedious to repeatedly devise the correct instructions in this interactive fashion.
It would be nice if we could develop the program just once, and then execute it over and over again.
You may run the Shakey program as many times as you wish, but be sure to clear the window first.
That was a very short program. Now construct a longer program of twenty or so instructions. It doesn't matter what Shakey does... he can just turn in circles...
You can change the speed at which a program executes by adjusting the "Speed" slider bar.
Try experimenting with the "Suspend" and "Resume" features of
"Run".