Maybe you know it.. The code is not compiling, you cannot find a bug, your customers want to change feature specification two days before project deadline and production release... There is always an "opportunity" for swearing. Worse, if you are multiple father and as the time goes you spoil not only yourself, but you start using same vocabulary in the presence of children. Even worse if you work in militarist openspace, which are know to be superspoiled with superbad words.
So we decided to fight against it. The "bad words game" is easy to implement. You have to entrust somebody reliable to keep statistic of bad words being said. There is no need for something sofisticated, just tell your assistant to make a point for every bad word said by employee and make weekly report of most vulgar team member. As a next level you can consider any form of monetization of your game. You can weekly collect some amount of money for three most vulgar persons. Be sure it will work.