This is the Gameful plugin used to perform the several tasks. It depends on having BuddyPress. It is to be used in conjuction with the Gameful Wordpress Theme.
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.