2010-12-14

Follow the bouncing ball

As the skills of my students increase, they have an increasing appreciation of the work required to accomplish seemingly simple tasks. Today’s case in point: a demonstration of a simple character “bouncing”—and beeping—off window edges elicited an appreciative buzz!

Now my classes are charged with the responsibility of replicating the code which makes this “simple” task possible.

Not counting comments and blank lines, my program is only 34 lines long. I’m curious to know how many lines of code my students will need to follow the bouncing ball!

No comments:

Post a Comment