It's not difficult. It's just a series of conditions, and the computer's response to them. It would be stupidly long and fruitless to do in DF. If someone is going to program something, I merely suggest that it be something that has merit when they're done with it. There's no point in sitting for 10 hours in front of DF tediously setting up fluid logic to create a puzzle with no right answer, whose only wrong answer is "I'm too stupid or careless to avoid the easy pitfalls in tic-tac-toe".
We all know it can be done, and that it wouldn't take much intelligence to do now that someone else has designed the fluid logic. It takes long hours to program anything with DF logic, so let's make it something worth programming?
I think much better puzzles could be created other ways, like a 3d key to the puzzle, which only a very intelligent/perceptive player would notice while moving along the path that shoves it in his or her face.
How about the path to the levers leads down through a large chamber with a 3-d number, which would be revealed 1 layer at a time and simply look like something of unknown purpose to the adventurer, leading to a series of doors with numbers in front of them. One door leads to the next clue, the others end in certain death. To screw with them even more, the death isn't always immediate but comes from failing another puzzle that doesn't actually have an answer, leaving the first puzzle just as much of a mystery the next time as the first time they try it?
Submerged in the water several z-levels below the path the successful adventurer now walks, there is an engraving of the next clue...
etc. Creative, complicated and difficult to construct but with a good purpose and a good result. If you're going to spend hours making something, make something worth solving/admiring! Think like Orbcontrolled.