"Singing, dancing and drawing polygons may be nifty, but any self-respecting evil roboticist needs a few more tricks in the repertoire if they are going to take over the world," read the day's instructions to a dozen or so Georgia Tech robotics students.
They had spent the past few months teaching their personal "Scribbler" robots to draw shapes and chirp on command. Now they were being asked to navigate a daunting obstacle course of scattered Girl Scout cookie boxes.
The course is aimed at reigniting interest in computer science among undergrads. Educators at Georgia Tech and elsewhere are turning to innovative programs such as the Scribbler to draw more students to the field and reverse the tide of those leaving it.
At risk, professors say, is nothing less than U.S. technology supremacy. As interest in computer science drops in the U.S., India and China are emerging as engineering hubs with cheap labor and a skilled work force.
More than a dozen universities have adopted "media computation" programs, a sort of alternate introduction to computer science with a New Media vibe. The classes, which have been launched at schools from the University of San Francisco to Virginia Tech, teach basic engineering using digital art, digital music and the Web.
Others are turning to niche fields to attract more students. The California Institute of Technology, which has seen a slight drop in undergraduate computer science majors, has more than made up for the losses by emphasizing the field of bioengineering.
"Many of our computer science faculty work on subjects related to biology, and so this new thrust works well for us," said Joel Burdick, a Caltech bioengineering professor.
At Georgia Tech, computing professor Tucker Balch says the brain drain is partly the fault of what he calls the "prime number" syndrome.
It's the traditional way to teach computer science students by asking them to write programs that spit out prime numbers, the Fibonacci sequence or other mathematical series.
It's proven a sound way to educate students dead-set on joining the ranks of computer programmers, but it's also probably scared away more than a few.
That's why Mr. Balch, who oversees the robotics class, is optimistic about the Scribbler, a scrappy blue robot cheap enough for students to buy and take home each night but versatile enough to handle fairly complex programs.
The key to the class is the design of the robot. It weighs about a pound and is slightly smaller than a Frisbee, sporting three light-detecting sensors and a speaker that can chirp. And at about $75, it's roughly the price of a textbook.
The class centers on twice-weekly lectures, but the real excitement is in the weekly breakout session. That's where teaching assistants outline their cheeky lesson plans and instruct students how to use commands to navigate their Scribblers.
"It's a lot of fun," said Ami Shah, a 21-year-old senior biology major. "I've learned a lot from this class, and I think it's a really handy skill."
Professors plan to expand the class from about 30 students to more than 200 next semester and are exporting the class to two other Georgia schools in the fall.
Georgia Tech, which has branded the robot the "new face of computing," is hoping the class can be a new national model to teach students computing. To Microsoft Corp., which is investing $1 million to jump-start the program at Georgia Tech and Philadelphia college Bryn Mawr, it's investment in what could become its work force.
Outside groups have applauded the effort, too.
"In fact, computing is a tool that can be used for virtually every application - from entertainment to medicine," said Virginia Gold of the Association for Computing Machinery. "And the Scribbler helps show how pervasive computers are in everything."
The industry has a reason to be concerned about the future.
The number of new computer science majors has steadily fallen since 2000, falling from close to 16,000 students to only 7,798 in fall 2006, according to the Computing Research Association.
The downward trend isn't expected to reverse soon. The association says about 1 percent of incoming freshmen have indicated computer science as a probable major, a 70 percent drop from the rate in 2000.
The aftermath of the dot-com bust might have triggered the exodus, but computer scientists admit they've also been slow to adapt to the changes by reprogramming their teaching methods.
About 30 schools have expressed interest in the Scribbler course, said Deepak Kumar, the chairman of Bryn Mawr's computer science department.
"It's fresh and new and engaging," said Mr. Kumar, who teaches a class of 24 Scribbler-wielding students. "We've got our fingers on one way to solve the problem."