Introduction to BuggleWorld

Total checkmarks:

Download the folder lab2_programs from the cs111d download directory on cs.wellesley.edu. Directions for using Fetch in CS111 are available here.

If you are using a PC at home, an analog of Fetch on a PC is called WinSock FTP. Here is a WinSock FTP tutorial.

Saying "Hi" to BuggleWorld

Run the project in this folder. Follow the directions in overview of Code Warrior with applets. What you will see is BuggleWorld, a special microworld we have created for CS111 students to have fun exploring programming ideas! Try clicking on a couple of buttons to see how BuggleWorld works.

Here's a quick summary of the most important buttons:
Run -- runs a program in BuggleWorld
Reset -- puts BuggleWorld back to its initial state
Reset must be hit before you can Run a program again.
Step -- Each press of Step executes (roughly) one line of the program. Step can not be used if the program has been Run unless BuggleWorld is Reset.
Also note that you can just play with the BuggleWorld options without running the program involved. You just need to create a new Buggle() before any BuggleWorld methods can be invoked.

Exercise 1. Jumping into CS

Now you're all ready to write your first BuggleWorld program! The goal is to write "CS" as shown below.


For the first assignment we will just change the code that we have been given.

Exercise 2. More writing...

If you have time left, change your program to draw other letters or figures.

In the end of the class

Save your work either on a ZIP disk (better), or by uploading to your drop folder using Fetch. You can later use it as a reference. Make sure that you don't store your files on cs111 server for too long -- when you get a chance, download them to your home computer or save them to a ZIP disk and remove from the server.

After you have saved your work, please make sure to delete your folder on the computer that you were using and empty the trash!