CSE 203 Closed Lab 4 Instructions
Table of Contents
1. Objectives
To learn (really, to re-invent or discover) how to simulate an
object's bouncing against a vertical or horizontal barrier.
2. Set Up
- Two students should work together at one workstation.
- In one student's account, follow the instructions given
below in section 3, Method. Remember, trading roles (driver and
non-driver) for each new session is a very good
idea.
3. Method
- Starting with the program you created in Homework 4, Save As New
Program and change the program's name and date.
- Figure out how to simulate the sprite's bouncing against the
edges of the window.
- Program it.
- Test your program: change it slightly a couple of times,
launching your sprite at the beginning at different angles.
4. Proctor Check-off
When you are satisfied that you have successfully followed the
method,
raise your hand and one of the proctors will check your work. Then you
are
finished with the closed lab. It's usually better for your
education not to leave the classroom
very early. Instead, start in on the homework that's due at the
beginning of the next class.