Tuesday, January 27, 2009

Midterm Rewrite

Your assignment for today is to rewrite the midterm code:
  • Instead of using individual variables for x, y, dx, & dy, create a struct called "ball" which contains x, y, dx, dy.
  • Instead of just one circle, create an array of 10 circles using your struct.
  • Use for-loops to handle all you array elements cleanly.
  • Keyboard controls should effect all circles simultaneously.
  • The bitmap image should remain as it was originally.
  • Upload your code when you're finished.
If you finish the assignment, begin working on the Networking assignment.


.

No comments: