Post-deploy hooks are available for your source control system of choice. You could have your computer tell you "Nice job" for one commit (if automated tests pass), "Keep it going!" for two in an interval, "He's on fire!" for three, "BOOM that's amazing!" for four, etc etc. This would incentivize yourself to do "just one more commit", in the same fashion as Civ and whatever get "just one more turn."
(If doing it over a work day wasn't working for you, you could bump the visualization to your dashboard and create a chain, with one link for every day you do task X. Don't break the chain, as per Seinfeld.)
This assumes, critically, that a commit is a measure of forward progress towards business goals.
My personal favorites are top-deprecating, where the top player is slightly easier to hit / harder to play / worth more points, or totally flat. It makes it extremely hard to really shine in a game, and when someone maintains a good score, they've earned it.
I often play it to distract my body while working out algorithms. It's a surprisingly effective way of thinking through hard problems.
Link for those interested in Gunroar: http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr_e.html
Gamers will get into zones, similar to athletes, where their reaction times become ultra quick and reflexes are super sharp. Game designers sometimes try to bake these directly into the game, and it's arguable whether or not it's beneficial. For example, many people complain about the killstreak rewards in Modern Warfare 2; once you get going, you're pretty much indestructible.