UC Berkeley CS9H Project 5: Turtle Arena

Dan Garcia, 2007-04-06

“A picture is worth a thousand words. An interface is worth a thousand pictures."
-- Ben Shneiderman, 2003

Background


Figure 1. The Turtle Arena interface you were given in project 4

At this point you are the proud author of a delightful cat and mouse simulation whose vanilla Arena Interface was given to you.

Problem

You are asked to augment the basic Arena user interface and add features to it which would be useful. In the process, you will learn about tkInter. Add the following:

Hints

Here are some general tips that may help you in your journey:

  1. Make a copy of your code from project 4 before you start modifying the Arena and related classes.
  2. You will probably have to modify more than just Arena.py to add all the features we're requesting.
  3. Feel free to add any supplementary files you think will be needed.
  4. We've intentionally not provided any sample screenshots because we want you to have full flexibility over the layout of graphical elements within the GUI.

Checklist

Extra for Experts

With GUIs, there are always tons of things you could add. Here are some things you could do to have some fun: