Take a look at pychess. It's in Python, and is fairly readable.
In reply to Re: Chess Moves by dws in thread Chess Moves by artist