A chess engine experiment in C