Sample of good code for our middle-school coding class. Watch the logo screen, and then click the cat to score points. Notice that everything is named appropriately, commented, and divided into short readable sections. Also, variables control levels (instead of broadcasts).
If I had used music from other projects or images from the Internet, I'd paste links here.