Dan Cook shared his working definition of Game Mechanics on his blog, Lost Garden, in 2006. This picture is from that definition.