You've just been given an unparalleled opportunity to lavish your career with attention and love. Take it from one who knows. I've gone out with coworkers in the majority of my workplaces, and I can honestly say not only have the relationships been good for my social life in the short term, but the breakups were inadvertently good for my career in the long term. But it's when you break up that the benefits really kick in. Although it's over, you can't help but be a little angry.
Revenge seems tempting.
In this case you can make it work to your advantage. No laying elaborate booby traps around his desk. The best revenge is living well, and that means renewing your focus on your career. When I quit crying over my breakup with John at a small newspaper, I was able to focus on my editing even when he was in the office. As a result, I polished skills that I still draw upon.