For your viewing pleasure, here is the code that makes our robot "work".

main.c - Prepares our robot for the start light, and implements strategy selection.
drive.c - Controls all aspects of our robot moving once unfolded.
hinge.c - Controls the opening (and closing, if necessary) of the hinge mechanism.
support.c - Defines a number of constants, controls start orientation and side selection (black/white)

Other files of note:

music.c - Allows our robot to play the simpsons theme through the handyboard piezo element. There is also the start of one of the Mario Bros. themes. A good example of making music with the board.
servos.c - A servo calibration routine using the handyboard knob.
test.c - All manner of test routines, many of which were implemented in our final code.