CS 290 Introduction to Game Development - Lab 1

For the Olympics midlet:

  1. Call the getWidth() and getHeight() canvas methods to determine the size of the screen (canvas).
  2. Calculate the size of each circle so that the entire olympic symbol is one half of the screen width.
  3. Modify the code in the paint() method so that the circles are drawn relative to the calculated circle size, and positioned accordingly, as opposed to being drawn at fixed sizes and positions; the olympic symbol should be centered on the screen.