« Simple Simon v2 | Main | Sensor tester »

Week 3: Fun with Object Oriented Programming

Adapted my homework from Week 2 (bouncing smileys) to use object structures.

Note how the faces grow and shrink, as well as move and change color.

I have to say, object programming makes things a *lot* simpler.

Look at it here: Many Object Smileys

(Note: Some people may argue that it should be "Smilies" and not "Smileys". However, "Smiley" is in effect a proper name, and thus the plural is "Smileys". See Wikipedia entry.)

TrackBack

TrackBack URL for this entry:
http://itp.nyu.edu/~gpv206/cgi-bin/mt/mt-tb.cgi/12

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)