Gameful BuddyPress Plugin
The plugin can probably be combined with the theme to make a singe atomic entity.
The plug-in performs the following functions.
The majority of the plug-in handles the interaction with the mayor. The levels, rules and completion are all in the plug-in.
We hooked into the BuddyPress and Cubepoints and created the ability to send a message when you donate points. This ended up in the plug-in as well.
See the Gameful Theme for more info on the dependencies needed to run the plug-in.