Homework 5
DUE: Tuesday, 9 October 2007
Outline the code for a program which moves multiple objects around on the
screen, and has the objects bounce off of each other when they collide.
You don't have to write actual code. If you do write a program, I still want
to see a pseudo-code outline of what it does.
Things you should think about and describe:
- Data structures / Data needed for each object
- Structure of main update function
- Math to detect collisions between objects
- How the objects will bounce (this doesn't need to be extremely physicall correct, anything that changes their direction in a vaguely reasonable looking way is okay)