I post this as a public service to all who are capable of writing messy and confusing code.

THE INTERNATION OBSFUCATED C CODE CONTEST
http://www.ioccc.org

I've known about this for a while, but just in case you haven't...

There's some really cool stuff in there. Check out the more recent years...

In 1993, there was a small-c bytecode interpreter, with a COMPILER FOR IT BUILT INTO A COMMENT AT THE START OF THE CODE. It could compile itself into an interpretable bytecode program as well, so it was "complete" as well. (august.c & august.hint)

In the same year, there was a cool automata program that you could use to make games. (rince.c & rince.hint).

In 2000, there was a complete spreadsheet program and a flight simulator the year before...

And the contest rules have never allowed for more than 4000 bytes of program code, usually much less. This is a large mass of really amazing code. Among notable entries have been stdin text to pig latin translator with the code looking like a pig's head, the world's smallest self replicating program, and a program that looks like a circuit and does what the circuit would do.

Check it out.