Here you go: http://chessprogramming.wikispaces.com/ It's an ultimate source about chess programming. Also, Stockfish code is short (several KLOC) and well commented.