Given modules such as Tomb of Horrors and The Grinding Gear, the parallels are pretty obvious.
Read boundaries of play: game design and kink.
(Also, the most important thing to come out of reading this article was likely the game Asphyx. A simple side-scrolling platformer, your job is to move your character through the world. There's only one rule — while your character is underwater, hold your breath in real life. If you take a breath while underwater, press ESC to drown.)