Question: I'm looking for some very very simple C (not C++) chess code I can learn from. I'm looking for something very simplistic - only basic data structures (int, char), no graphics (text based) etc - and well commented.
If anyone can help me find something really easy to understand I can up the point value.
The simpler the better as long as it follows all rules of chess (i.e. allows castling, en passant capturing, etc). It only needs to be a two player version (I.E. no AI necessary, though comments as to how to hook one in would be helpful)