Very cool game mechanics. I actually played till the end even though I didn't intend to.
Took me a while to figure out what X did, though.