« Return to Thread: Obfuscated C

Re: Obfuscated C

by Peter Restall :: Rate this Message:

Reply to Author | View in Thread


On Wed, 1 Jul 2009 21:16:13 +0100, Tamas Rudnai:

> oh, btw I am not sure if that is syntactically correct. Did the original one
> compile for you?

Sure - there weren't even any warnings either, which is surprising.  Try:

cc -o arachnid -DL=LINES -DS=COLS \
            -DW=mvwaddch\(w,v,u,acs_map\[l\[m\[u arachnid.c -lncurses

That's from their makefile.  I completed it in 771 moves apparently :)

Regards,

Pete Restall
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

 « Return to Thread: Obfuscated C