contraption is a game modeled loosely after the Incredible Machine. It is written in Python.
You can download contraption-0.05.tar.gz, which is playable and has five levels demonstrating all the features of the engine so far. Level 2 is the most challenging.