Recitation Topic: PushMe


Date: 11/18/2005

    Today, write an applet that pushes squares (10 pixels by 10 pixels) around a 40x40 grid on the screen. Click on it and figure out how it behaves. What happens when the squares hit the boundary?

    Here's an example of a PushMe applet.


    Here's a version using the "applet" tag for you InternetExplorer users.