A chess library for Python, with move generation and validation, PGN parsing and writing, Polyglot opening book reading, Gaviota tablebase probing, Syzygy tablebase probing, and UCI/XBoard engine communication
Just a few small cleanups I made going through the files. I also noticed in test.py, the generate_legal_moves function of MockBoard has a yield right after a return. I tried removing it, but then the checks gave me errors.
Just a few small cleanups I made going through the files. I also noticed in test.py, the
generate_legal_moves
function ofMockBoard
has a yield right after a return. I tried removing it, but then the checks gave me errors.