The Smallest Chess Program in C
Mexican Óscar Toledo Gutiérrez writes very short chess programs in C and he has had four wins at the International Obfuscated C Code Contest with them. They play pretty well considering the source code is barely above 1Kb in its entirety. Obviously with such a small quantity of source code the display is just text unless you build it for winboard (see his site for details).
I compiled Toledo 1 with Visual Studio 2008 and the release exe is only 22KB in size. Compressing with upx, using the --force option, shrank it down to 8KB. To get source code so small, the developer used every technique to obfuscate it so if you can read and understand it, well done! A permanent link has been added to the C Games code page.
- Link to C Games Code Library


http://nanochess.110mb.com/index.html
appears to be a broken link.
http://nanochess.110mb.com/index.html
appears to be broken;
leave a comment also appears to be broken.
oops, I was wrong about “leave a comment” being broken; it only appears to be broken because there is no feedback and because there is a delay preceding the posting of one’s comment(s).