Assignment 6

Due 9pm Wednesday, August 9

Making your own objects

UNDER CONSTRUCTION

Make a program that allows me to add people, and to give the people names. After I have added 10 people, then every time I add a new person, please undraw the oldest one. This is best described through screenshots:

Here's the program start:

Now, whenever I click inside it, it creates a new person whose name is the contents of the Entry box. By changing the text in the box, we can create a number of people, all with different names. In the following image, I have created 3 stick figures named Curly, Larry, and Moe. Moe was the most recent creation, and you can see that his name is still in the entry box.

As we add more and more people, eventually we will get too crowded. So after ten people have been placed, every time a user places a new person, the oldest person should be removed (similar to what we did in class)

Should the user ever click inside the rectangle containing the words "Click here to exit", then your program should terminate.

Good luck! And don't hesitate to ask if you have any questions

Boilerplate

Ask me if there are any questions, and remember that elegance counts! peter@cs.uoregon.edu, or simply commenting below will all reach me immediately. Also recommended is coming in to office hours if you have any questions.

Turn It In

Turn your project in using the following form:

What is your student #?
What is your name?
What is your email?
What file would you like to submit?
If you have more than one file in your project, please use an archiving tool to put them all into one archive file. Acceptable archive types are .zip, .jar, .tar, and .tgz.

Please make sure that you provide any README files in plain text. MS Word .doc files are not acceptable. .html, .txt, .ps, .dvi, and .pdf are all acceptable. Really you should just be turning in ASCII text (.txt) files and source code. And for most assignments, just well documented source code.

Comments and Clarifications

The admin should touch /cs/classweb/06U/cis122/6.comment

Questions? Answers!
Valid CSS! Valid XHTML 1.1!