Thread: C Chess Code
View Single Post
Old 29-Mar-2007, 03:11 AM   #1 (permalink)
Iphone
Fixed Error!
 
Iphone's Avatar

Posts: 4,202
Join Date: Mar 2007
Rep Power: 6 Iphone is on a distinguished road

IM:
Default C Chess Code

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)
Iphone is offline   Reply With Quote