Next, start the Karel Program.(It will probably be located on the hard disk.)
When you are finished your desktop should look something like this:
All interaction with Karel and his world is done through the Source and Karel's World windows. Users may write programs in Karel's language in the Source window. Users can modify Karel's World by installing and removing beepers and wall sections. When the program in the Source window is executed we can see Karel following the instructions of the program in the Karel's World window. Lets see this programming environment in action by running a program that makes Karel clean a cluttered staircase by picking up the beepers.
Activate the Karel program. Next, activate the source window. Choose Open Source ... from the File menu. Find and open the Karel folder in the dialog box that appears. Choose the file Clean the Stairs and open it.
Next, activate the world window. Choose Open World ... from the File menu. Find and open the Karel folder in the dialog box that appears. Choose the file Cluttered Stairs and open it.
Run the program by choosing Run from the Run menu. If you wish to run the program again, first restore Karel's World by choosing Restore World from the World menu.
Next Topic: Creating a Program |
|